1939: 进制判断
          Memory Limit:128 MB
          Time Limit:1.000 S
         
      
      
        
          Judge Style:Text Compare
          Creator:
      
      
          Submit:50
          Solved:20
      
Description

Sample Input Copy
2
15A6F
1011
Sample Output Copy
0 0 0 1
1 1 1 1