1305: Parity check
          内存限制:512 MB
          时间限制:2.000 S
         
      
      
        
          评测方式:文本比较
          命题人:
      
      
          提交:111
          解决:51
      
题目描述
Fascinated with the computer games, Gabriel even forgets to study. Now she needs to finish her homework, and there is an easy problem:
	
 
She is required to calculate f(n) mod 2 for each given n. Can you help her?
	
输入
Multiple test cases. Each test case is an integer n(0≤n≤101000) in a single line.
输出
For each test case, output the answer of f(n)mod2.
样例输入 复制
2
          样例输出 复制
1