Test Case for Question #1 in DWITE 2009-2010 High School Round 7
Contest: DWITE 2009-2010 High School Round 7
Question: #1
Input File: DATA1.txt
Output File: OUT1.txt
Input
0 5
4 2
4 4
191 6
65 6
Output
0
1
0
0
1