Test Case for Question #5 in DWITE 2009-2010 High School Round 7
Contest: DWITE 2009-2010 High School Round 7
Question: #5
Input File: DATA5.txt
Output File: OUT5.txt
Input
2 3
2 4
8 255
16 65535
30 100000
Output
ON
OFF
ON
ON
OFF