<image>

Input

The input contains two integers row, col (0 ≤ row, col ≤ 63), separated by a single space.

Output

Output "IN" or "OUT".

Examples

Input


0 0


Output


OUT


Input


27 0


Output


IN


Input


0 27


Output


OUT


Input


27 27


Output


IN
mapka = {
(63, 0): 1,
(63, 1): 1,
(63, 2): 1,
(63, 3): 1,
(63, 4): 1,
(63, 5): 1,
(63, 6): 1,
(63, 7): 1,
(63, 8): 1,
(63, 9): 1,
(63, 10): 1,
(63, 11): 1,
(63, 12): 1,
(63, 13): 1,
(63, 14): 1,
(63, 15): 1,
(63, 16): 1,
(63, 17): 1,
(63, 18): 1,
(63, 19): 1,
(63, 20): 1,
(63, 21): 1,
(63, 22): 1,
(63, 23): 1,
(63, 24): 1,
(63, 25): 1,
(63, 26): 0,
(63, 27): 0,
(63, 28): 0,
(63, 29): 0,
(63, 30): 0,
(63, 31): 0,
(63, 32): 0,
(63, 33): 0,
(63, 34): 0,
(63, 35): 0,
(63, 36): 0,
(63, 37): 0,
(63, 38): 1,
(63, 39): 1,
(63, 40): 1,
(63, 41): 1,
(63, 42): 1,
(63, 43): 1,
(63, 44): 1,
(63, 45): 1,
(63, 46): 1,
(63, 47): 1,
(63, 48): 1,
(63, 49): 1,
(63, 50): 1,
(63, 51): 1,
(63, 52): 1,
(63, 53): 1,
(63, 54): 1,
(63, 55): 1,
(63, 56): 1,
(63, 57): 1,
(63, 58): 1,
(63, 59): 1,
(63, 60): 1,
(63, 61): 1,
(63, 62): 1,
(63, 63): 1,
(62, 0): 1,
(62, 1): 1,
(62, 2): 1,
(62, 3): 1,
(62, 4): 1,
(62, 5): 1,
(62, 6): 1,
(62, 7): 1,
(62, 8): 1,
(62, 9): 1,
(62, 10): 1,
(62, 11): 1,
(62, 12): 1,
(62, 13): 1,
(62, 14): 1,
(62, 15): 1,
(62, 16): 1,
(62, 17): 1,
(62, 18): 1,
(62, 19): 1,
(62, 20): 1,
(62, 21): 1,
(62, 22): 0,
(62, 23): 0,
(62, 24): 0,
(62, 25): 0,
(62, 26): 0,
(62, 27): 0,
(62, 28): 0,
(62, 29): 0,
(62, 30): 0,
(62, 31): 0,
(62, 32): 0,
(62, 33): 0,
(62, 34): 0,
(62, 35): 0,
(62, 36): 0,
(62, 37): 0,
(62, 38): 0,
(62, 39): 0,
(62, 40): 0,
(62, 41): 0,
(62, 42): 1,
(62, 43): 1,
(62, 44): 1,
(62, 45): 1,
(62, 46): 1,
(62, 47): 1,
(62, 48): 1,
(62, 49): 1,
(62, 50): 1,
(62, 51): 1,
(62, 52): 1,
(62, 53): 1,
(62, 54): 1,
(62, 55): 1,
(62, 56): 1,
(62, 57): 1,
(62, 58): 1,
(62, 59): 1,
(62, 60): 1,
(62, 61): 1,
(62, 62): 1,
(62, 63): 1,
(61, 0): 1,
(61, 1): 1,
(61, 2): 1,
(61, 3): 1,
(61, 4): 1,
(61, 5): 1,
(61, 6): 1,
(61, 7): 1,
(61, 8): 1,
(61, 9): 1,
(61, 10): 1,
(61, 11): 1,
(61, 12): 1,
(61, 13): 1,
(61, 14): 1,
(61, 15): 1,
(61, 16): 1,
(61, 17): 1,
(61, 18): 1,
(61, 19): 1,
(61, 20): 0,
(61, 21): 0,
(61, 22): 0,
(61, 23): 0,
(61, 24): 0,
(61, 25): 0,
(61, 26): 0,
(61, 27): 0,
(61, 28): 0,
(61, 29): 0,
(61, 30): 0,
(61, 31): 0,
(61, 32): 0,
(61, 33): 0,
(61, 34): 0,
(61, 35): 0,
(61, 36): 0,
(61, 37): 0,
(61, 38): 0,
(61, 39): 0,
(61, 40): 0,
(61, 41): 0,
(61, 42): 0,
(61, 43): 0,
(61, 44): 1,
(61, 45): 1,
(61, 46): 1,
(61, 47): 1,
(61, 48): 1,
(61, 49): 1,
(61, 50): 1,
(61, 51): 1,
(61, 52): 1,
(61, 53): 1,
(61, 54): 1,
(61, 55): 1,
(61, 56): 1,
(61, 57): 1,
(61, 58): 1,
(61, 59): 1,
(61, 60): 1,
(61, 61): 1,
(61, 62): 1,
(61, 63): 1,
(60, 0): 1,
(60, 1): 1,
(60, 2): 1,
(60, 3): 1,
(60, 4): 1,
(60, 5): 1,
(60, 6): 1,
(60, 7): 1,
(60, 8): 1,
(60, 9): 1,
(60, 10): 1,
(60, 11): 1,
(60, 12): 1,
(60, 13): 1,
(60, 14): 1,
(60, 15): 1,
(60, 16): 1,
(60, 17): 0,
(60, 18): 0,
(60, 19): 0,
(60, 20): 0,
(60, 21): 0,
(60, 22): 0,
(60, 23): 0,
(60, 24): 0,
(60, 25): 0,
(60, 26): 0,
(60, 27): 0,
(60, 28): 0,
(60, 29): 0,
(60, 30): 0,
(60, 31): 0,
(60, 32): 0,
(60, 33): 0,
(60, 34): 0,
(60, 35): 0,
(60, 36): 0,
(60, 37): 0,
(60, 38): 0,
(60, 39): 0,
(60, 40): 0,
(60, 41): 0,
(60, 42): 0,
(60, 43): 0,
(60, 44): 0,
(60, 45): 0,
(60, 46): 0,
(60, 47): 1,
(60, 48): 1,
(60, 49): 1,
(60, 50): 1,
(60, 51): 1,
(60, 52): 1,
(60, 53): 1,
(60, 54): 1,
(60, 55): 1,
(60, 56): 1,
(60, 57): 1,
(60, 58): 1,
(60, 59): 1,
(60, 60): 1,
(60, 61): 1,
(60, 62): 1,
(60, 63): 1,
(59, 0): 1,
(59, 1): 1,
(59, 2): 1,
(59, 3): 1,
(59, 4): 1,
(59, 5): 1,
(59, 6): 1,
(59, 7): 1,
(59, 8): 1,
(59, 9): 1,
(59, 10): 1,
(59, 11): 1,
(59, 12): 1,
(59, 13): 1,
(59, 14): 1,
(59, 15): 1,
(59, 16): 0,
(59, 17): 0,
(59, 18): 0,
(59, 19): 0,
(59, 20): 0,
(59, 21): 0,
(59, 22): 0,
(59, 23): 0,
(59, 24): 0,
(59, 25): 0,
(59, 26): 0,
(59, 27): 0,
(59, 28): 0,
(59, 29): 0,
(59, 30): 0,
(59, 31): 0,
(59, 32): 0,
(59, 33): 0,
(59, 34): 0,
(59, 35): 0,
(59, 36): 0,
(59, 37): 0,
(59, 38): 0,
(59, 39): 0,
(59, 40): 0,
(59, 41): 0,
(59, 42): 0,
(59, 43): 0,
(59, 44): 0,
(59, 45): 0,
(59, 46): 0,
(59, 47): 0,
(59, 48): 1,
(59, 49): 1,
(59, 50): 1,
(59, 51): 1,
(59, 52): 1,
(59, 53): 1,
(59, 54): 1,
(59, 55): 1,
(59, 56): 1,
(59, 57): 1,
(59, 58): 1,
(59, 59): 1,
(59, 60): 1,
(59, 61): 1,
(59, 62): 1,
(59, 63): 1,
(58, 0): 1,
(58, 1): 1,
(58, 2): 1,
(58, 3): 1,
(58, 4): 1,
(58, 5): 1,
(58, 6): 1,
(58, 7): 1,
(58, 8): 1,
(58, 9): 1,
(58, 10): 1,
(58, 11): 1,
(58, 12): 1,
(58, 13): 1,
(58, 14): 0,
(58, 15): 0,
(58, 16): 0,
(58, 17): 0,
(58, 18): 0,
(58, 19): 0,
(58, 20): 0,
(58, 21): 0,
(58, 22): 0,
(58, 23): 0,
(58, 24): 0,
(58, 25): 0,
(58, 26): 0,
(58, 27): 0,
(58, 28): 0,
(58, 29): 0,
(58, 30): 0,
(58, 31): 0,
(58, 32): 0,
(58, 33): 0,
(58, 34): 0,
(58, 35): 0,
(58, 36): 0,
(58, 37): 0,
(58, 38): 0,
(58, 39): 0,
(58, 40): 0,
(58, 41): 0,
(58, 42): 0,
(58, 43): 0,
(58, 44): 0,
(58, 45): 0,
(58, 46): 0,
(58, 47): 0,
(58, 48): 0,
(58, 49): 0,
(58, 50): 1,
(58, 51): 1,
(58, 52): 1,
(58, 53): 1,
(58, 54): 1,
(58, 55): 1,
(58, 56): 1,
(58, 57): 1,
(58, 58): 1,
(58, 59): 1,
(58, 60): 1,
(58, 61): 1,
(58, 62): 1,
(58, 63): 1,
(57, 0): 1,
(57, 1): 1,
(57, 2): 1,
(57, 3): 1,
(57, 4): 1,
(57, 5): 1,
(57, 6): 1,
(57, 7): 1,
(57, 8): 1,
(57, 9): 1,
(57, 10): 1,
(57, 11): 1,
(57, 12): 1,
(57, 13): 0,
(57, 14): 0,
(57, 15): 0,
(57, 16): 0,
(57, 17): 0,
(57, 18): 0,
(57, 19): 0,
(57, 20): 0,
(57, 21): 0,
(57, 22): 0,
(57, 23): 0,
(57, 24): 0,
(57, 25): 0,
(57, 26): 0,
(57, 27): 0,
(57, 28): 0,
(57, 29): 0,
(57, 30): 0,
(57, 31): 0,
(57, 32): 0,
(57, 33): 1,
(57, 34): 0,
(57, 35): 0,
(57, 36): 0,
(57, 37): 0,
(57, 38): 0,
(57, 39): 0,
(57, 40): 0,
(57, 41): 0,
(57, 42): 0,
(57, 43): 0,
(57, 44): 0,
(57, 45): 0,
(57, 46): 0,
(57, 47): 0,
(57, 48): 0,
(57, 49): 0,
(57, 50): 0,
(57, 51): 1,
(57, 52): 1,
(57, 53): 1,
(57, 54): 1,
(57, 55): 1,
(57, 56): 1,
(57, 57): 1,
(57, 58): 1,
(57, 59): 1,
(57, 60): 1,
(57, 61): 1,
(57, 62): 1,
(57, 63): 1,
(56, 0): 1,
(56, 1): 1,
(56, 2): 1,
(56, 3): 1,
(56, 4): 1,
(56, 5): 1,
(56, 6): 1,
(56, 7): 1,
(56, 8): 1,
(56, 9): 1,
(56, 10): 1,
(56, 11): 0,
(56, 12): 0,
(56, 13): 0,
(56, 14): 0,
(56, 15): 0,
(56, 16): 0,
(56, 17): 0,
(56, 18): 0,
(56, 19): 0,
(56, 20): 0,
(56, 21): 0,
(56, 22): 0,
(56, 23): 0,
(56, 24): 1,
(56, 25): 1,
(56, 26): 1,
(56, 27): 1,
(56, 28): 0,
(56, 29): 0,
(56, 30): 0,
(56, 31): 0,
(56, 32): 1,
(56, 33): 1,
(56, 34): 1,
(56, 35): 1,
(56, 36): 0,
(56, 37): 1,
(56, 38): 1,
(56, 39): 1,
(56, 40): 1,
(56, 41): 0,
(56, 42): 0,
(56, 43): 0,
(56, 44): 0,
(56, 45): 0,
(56, 46): 0,
(56, 47): 0,
(56, 48): 0,
(56, 49): 0,
(56, 50): 0,
(56, 51): 0,
(56, 52): 0,
(56, 53): 1,
(56, 54): 1,
(56, 55): 1,
(56, 56): 1,
(56, 57): 1,
(56, 58): 1,
(56, 59): 1,
(56, 60): 1,
(56, 61): 1,
(56, 62): 1,
(56, 63): 1,
(55, 0): 1,
(55, 1): 1,
(55, 2): 1,
(55, 3): 1,
(55, 4): 1,
(55, 5): 1,
(55, 6): 1,
(55, 7): 1,
(55, 8): 1,
(55, 9): 1,
(55, 10): 0,
(55, 11): 0,
(55, 12): 0,
(55, 13): 0,
(55, 14): 0,
(55, 15): 0,
(55, 16): 0,
(55, 17): 0,
(55, 18): 0,
(55, 19): 0,
(55, 20): 0,
(55, 21): 0,
(55, 22): 1,
(55, 23): 0,
(55, 24): 1,
(55, 25): 0,
(55, 26): 0,
(55, 27): 0,
(55, 28): 0,
(55, 29): 1,
(55, 30): 0,
(55, 31): 0,
(55, 32): 1,
(55, 33): 0,
(55, 34): 0,
(55, 35): 1,
(55, 36): 0,
(55, 37): 1,
(55, 38): 0,
(55, 39): 0,
(55, 40): 1,
(55, 41): 1,
(55, 42): 0,
(55, 43): 0,
(55, 44): 0,
(55, 45): 0,
(55, 46): 0,
(55, 47): 0,
(55, 48): 0,
(55, 49): 0,
(55, 50): 0,
(55, 51): 0,
(55, 52): 0,
(55, 53): 0,
(55, 54): 1,
(55, 55): 1,
(55, 56): 1,
(55, 57): 1,
(55, 58): 1,
(55, 59): 1,
(55, 60): 1,
(55, 61): 1,
(55, 62): 1,
(55, 63): 1,
(54, 0): 1,
(54, 1): 1,
(54, 2): 1,
(54, 3): 1,
(54, 4): 1,
(54, 5): 1,
(54, 6): 1,
(54, 7): 1,
(54, 8): 1,
(54, 9): 0,
(54, 10): 0,
(54, 11): 0,
(54, 12): 0,
(54, 13): 0,
(54, 14): 0,
(54, 15): 0,
(54, 16): 0,
(54, 17): 0,
(54, 18): 1,
(54, 19): 0,
(54, 20): 0,
(54, 21): 1,
(54, 22): 1,
(54, 23): 1,
(54, 24): 1,
(54, 25): 0,
(54, 26): 1,
(54, 27): 0,
(54, 28): 1,
(54, 29): 1,
(54, 30): 1,
(54, 31): 1,
(54, 32): 1,
(54, 33): 1,
(54, 34): 0,
(54, 35): 1,
(54, 36): 1,
(54, 37): 1,
(54, 38): 1,
(54, 39): 0,
(54, 40): 1,
(54, 41): 0,
(54, 42): 0,
(54, 43): 0,
(54, 44): 0,
(54, 45): 0,
(54, 46): 0,
(54, 47): 0,
(54, 48): 0,
(54, 49): 0,
(54, 50): 0,
(54, 51): 0,
(54, 52): 0,
(54, 53): 0,
(54, 54): 0,
(54, 55): 1,
(54, 56): 1,
(54, 57): 1,
(54, 58): 1,
(54, 59): 1,
(54, 60): 1,
(54, 61): 1,
(54, 62): 1,
(54, 63): 1,
(53, 0): 1,
(53, 1): 1,
(53, 2): 1,
(53, 3): 1,
(53, 4): 1,
(53, 5): 1,
(53, 6): 1,
(53, 7): 1,
(53, 8): 0,
(53, 9): 0,
(53, 10): 0,
(53, 11): 0,
(53, 12): 0,
(53, 13): 0,
(53, 14): 0,
(53, 15): 0,
(53, 16): 0,
(53, 17): 1,
(53, 18): 1,
(53, 19): 1,
(53, 20): 0,
(53, 21): 0,
(53, 22): 0,
(53, 23): 0,
(53, 24): 1,
(53, 25): 1,
(53, 26): 1,
(53, 27): 0,
(53, 28): 0,
(53, 29): 0,
(53, 30): 1,
(53, 31): 0,
(53, 32): 0,
(53, 33): 1,
(53, 34): 0,
(53, 35): 0,
(53, 36): 0,
(53, 37): 0,
(53, 38): 1,
(53, 39): 0,
(53, 40): 0,
(53, 41): 0,
(53, 42): 0,
(53, 43): 1,
(53, 44): 0,
(53, 45): 0,
(53, 46): 0,
(53, 47): 0,
(53, 48): 0,
(53, 49): 0,
(53, 50): 0,
(53, 51): 0,
(53, 52): 0,
(53, 53): 0,
(53, 54): 0,
(53, 55): 0,
(53, 56): 1,
(53, 57): 1,
(53, 58): 1,
(53, 59): 1,
(53, 60): 1,
(53, 61): 1,
(53, 62): 1,
(53, 63): 1,
(52, 0): 1,
(52, 1): 1,
(52, 2): 1,
(52, 3): 1,
(52, 4): 1,
(52, 5): 1,
(52, 6): 1,
(52, 7): 0,
(52, 8): 0,
(52, 9): 0,
(52, 10): 0,
(52, 11): 0,
(52, 12): 0,
(52, 13): 0,
(52, 14): 0,
(52, 15): 0,
(52, 16): 1,
(52, 17): 1,
(52, 18): 0,
(52, 19): 0,
(52, 20): 0,
(52, 21): 1,
(52, 22): 1,
(52, 23): 0,
(52, 24): 1,
(52, 25): 0,
(52, 26): 1,
(52, 27): 1,
(52, 28): 1,
(52, 29): 0,
(52, 30): 0,
(52, 31): 0,
(52, 32): 1,
(52, 33): 1,
(52, 34): 1,
(52, 35): 0,
(52, 36): 1,
(52, 37): 0,
(52, 38): 0,
(52, 39): 0,
(52, 40): 1,
(52, 41): 1,
(52, 42): 0,
(52, 43): 1,
(52, 44): 1,
(52, 45): 1,
(52, 46): 0,
(52, 47): 0,
(52, 48): 0,
(52, 49): 0,
(52, 50): 0,
(52, 51): 0,
(52, 52): 0,
(52, 53): 0,
(52, 54): 0,
(52, 55): 0,
(52, 56): 0,
(52, 57): 1,
(52, 58): 1,
(52, 59): 1,
(52, 60): 1,
(52, 61): 1,
(52, 62): 1,
(52, 63): 1,
(51, 0): 1,
(51, 1): 1,
(51, 2): 1,
(51, 3): 1,
(51, 4): 1,
(51, 5): 1,
(51, 6): 1,
(51, 7): 0,
(51, 8): 0,
(51, 9): 0,
(51, 10): 0,
(51, 11): 0,
(51, 12): 0,
(51, 13): 0,
(51, 14): 0,
(51, 15): 0,
(51, 16): 1,
(51, 17): 0,
(51, 18): 0,
(51, 19): 1,
(51, 20): 1,
(51, 21): 1,
(51, 22): 0,
(51, 23): 0,
(51, 24): 0,
(51, 25): 0,
(51, 26): 0,
(51, 27): 1,
(51, 28): 0,
(51, 29): 0,
(51, 30): 1,
(51, 31): 0,
(51, 32): 1,
(51, 33): 0,
(51, 34): 1,
(51, 35): 1,
(51, 36): 1,
(51, 37): 0,
(51, 38): 1,
(51, 39): 0,
(51, 40): 0,
(51, 41): 1,
(51, 42): 1,
(51, 43): 1,
(51, 44): 0,
(51, 45): 0,
(51, 46): 0,
(51, 47): 0,
(51, 48): 0,
(51, 49): 0,
(51, 50): 0,
(51, 51): 0,
(51, 52): 0,
(51, 53): 0,
(51, 54): 0,
(51, 55): 0,
(51, 56): 0,
(51, 57): 1,
(51, 58): 1,
(51, 59): 1,
(51, 60): 1,
(51, 61): 1,
(51, 62): 1,
(51, 63): 1,
(50, 0): 1,
(50, 1): 1,
(50, 2): 1,
(50, 3): 1,
(50, 4): 1,
(50, 5): 1,
(50, 6): 0,
(50, 7): 0,
(50, 8): 0,
(50, 9): 0,
(50, 10): 0,
(50, 11): 0,
(50, 12): 0,
(50, 13): 0,
(50, 14): 1,
(50, 15): 1,
(50, 16): 1,
(50, 17): 1,
(50, 18): 0,
(50, 19): 0,
(50, 20): 1,
(50, 21): 0,
(50, 22): 0,
(50, 23): 1,
(50, 24): 0,
(50, 25): 1,
(50, 26): 1,
(50, 27): 1,
(50, 28): 1,
(50, 29): 0,
(50, 30): 1,
(50, 31): 1,
(50, 32): 1,
(50, 33): 0,
(50, 34): 1,
(50, 35): 0,
(50, 36): 1,
(50, 37): 1,
(50, 38): 1,
(50, 39): 1,
(50, 40): 0,
(50, 41): 0,
(50, 42): 0,
(50, 43): 1,
(50, 44): 0,
(50, 45): 1,
(50, 46): 1,
(50, 47): 1,
(50, 48): 0,
(50, 49): 0,
(50, 50): 0,
(50, 51): 0,
(50, 52): 0,
(50, 53): 0,
(50, 54): 0,
(50, 55): 0,
(50, 56): 0,
(50, 57): 0,
(50, 58): 1,
(50, 59): 1,
(50, 60): 1,
(50, 61): 1,
(50, 62): 1,
(50, 63): 1,
(49, 0): 1,
(49, 1): 1,
(49, 2): 1,
(49, 3): 1,
(49, 4): 1,
(49, 5): 0,
(49, 6): 0,
(49, 7): 0,
(49, 8): 0,
(49, 9): 0,
(49, 10): 0,
(49, 11): 0,
(49, 12): 0,
(49, 13): 0,
(49, 14): 0,
(49, 15): 1,
(49, 16): 0,
(49, 17): 1,
(49, 18): 1,
(49, 19): 0,
(49, 20): 1,
(49, 21): 1,
(49, 22): 0,
(49, 23): 1,
(49, 24): 1,
(49, 25): 1,
(49, 26): 0,
(49, 27): 1,
(49, 28): 0,
(49, 29): 0,
(49, 30): 0,
(49, 31): 0,
(49, 32): 1,
(49, 33): 0,
(49, 34): 0,
(49, 35): 0,
(49, 36): 1,
(49, 37): 0,
(49, 38): 0,
(49, 39): 1,
(49, 40): 0,
(49, 41): 1,
(49, 42): 1,
(49, 43): 1,
(49, 44): 1,
(49, 45): 1,
(49, 46): 0,
(49, 47): 1,
(49, 48): 1,
(49, 49): 1,
(49, 50): 0,
(49, 51): 0,
(49, 52): 0,
(49, 53): 0,
(49, 54): 0,
(49, 55): 0,
(49, 56): 0,
(49, 57): 0,
(49, 58): 0,
(49, 59): 1,
(49, 60): 1,
(49, 61): 1,
(49, 62): 1,
(49, 63): 1,
(48, 0): 1,
(48, 1): 1,
(48, 2): 1,
(48, 3): 1,
(48, 4): 1,
(48, 5): 0,
(48, 6): 0,
(48, 7): 0,
(48, 8): 0,
(48, 9): 0,
(48, 10): 0,
(48, 11): 0,
(48, 12): 1,
(48, 13): 0,
(48, 14): 1,
(48, 15): 1,
(48, 16): 0,
(48, 17): 0,
(48, 18): 0,
(48, 19): 0,
(48, 20): 1,
(48, 21): 0,
(48, 22): 0,
(48, 23): 0,
(48, 24): 0,
(48, 25): 1,
(48, 26): 0,
(48, 27): 0,
(48, 28): 0,
(48, 29): 1,
(48, 30): 1,
(48, 31): 0,
(48, 32): 0,
(48, 33): 0,
(48, 34): 1,
(48, 35): 1,
(48, 36): 1,
(48, 37): 1,
(48, 38): 0,
(48, 39): 0,
(48, 40): 0,
(48, 41): 1,
(48, 42): 0,
(48, 43): 0,
(48, 44): 0,
(48, 45): 0,
(48, 46): 0,
(48, 47): 1,
(48, 48): 0,
(48, 49): 1,
(48, 50): 0,
(48, 51): 0,
(48, 52): 0,
(48, 53): 0,
(48, 54): 0,
(48, 55): 0,
(48, 56): 0,
(48, 57): 0,
(48, 58): 0,
(48, 59): 1,
(48, 60): 1,
(48, 61): 1,
(48, 62): 1,
(48, 63): 1,
(47, 0): 1,
(47, 1): 1,
(47, 2): 1,
(47, 3): 1,
(47, 4): 0,
(47, 5): 0,
(47, 6): 0,
(47, 7): 0,
(47, 8): 0,
(47, 9): 0,
(47, 10): 0,
(47, 11): 0,
(47, 12): 1,
(47, 13): 1,
(47, 14): 1,
(47, 15): 0,
(47, 16): 0,
(47, 17): 1,
(47, 18): 1,
(47, 19): 1,
(47, 20): 1,
(47, 21): 1,
(47, 22): 0,
(47, 23): 1,
(47, 24): 1,
(47, 25): 1,
(47, 26): 1,
(47, 27): 1,
(47, 28): 1,
(47, 29): 1,
(47, 30): 0,
(47, 31): 0,
(47, 32): 1,
(47, 33): 1,
(47, 34): 1,
(47, 35): 0,
(47, 36): 0,
(47, 37): 1,
(47, 38): 1,
(47, 39): 1,
(47, 40): 1,
(47, 41): 1,
(47, 42): 1,
(47, 43): 0,
(47, 44): 1,
(47, 45): 0,
(47, 46): 1,
(47, 47): 1,
(47, 48): 0,
(47, 49): 0,
(47, 50): 0,
(47, 51): 1,
(47, 52): 0,
(47, 53): 0,
(47, 54): 0,
(47, 55): 0,
(47, 56): 0,
(47, 57): 0,
(47, 58): 0,
(47, 59): 0,
(47, 60): 1,
(47, 61): 1,
(47, 62): 1,
(47, 63): 1,
(46, 0): 1,
(46, 1): 1,
(46, 2): 1,
(46, 3): 0,
(46, 4): 0,
(46, 5): 0,
(46, 6): 0,
(46, 7): 0,
(46, 8): 0,
(46, 9): 0,
(46, 10): 1,
(46, 11): 0,
(46, 12): 1,
(46, 13): 0,
(46, 14): 1,
(46, 15): 0,
(46, 16): 1,
(46, 17): 1,
(46, 18): 0,
(46, 19): 1,
(46, 20): 0,
(46, 21): 1,
(46, 22): 1,
(46, 23): 1,
(46, 24): 0,
(46, 25): 0,
(46, 26): 1,
(46, 27): 0,
(46, 28): 1,
(46, 29): 0,
(46, 30): 0,
(46, 31): 1,
(46, 32): 1,
(46, 33): 0,
(46, 34): 1,
(46, 35): 0,
(46, 36): 1,
(46, 37): 1,
(46, 38): 0,
(46, 39): 1,
(46, 40): 0,
(46, 41): 0,
(46, 42): 1,
(46, 43): 1,
(46, 44): 1,
(46, 45): 0,
(46, 46): 0,
(46, 47): 1,
(46, 48): 1,
(46, 49): 1,
(46, 50): 1,
(46, 51): 1,
(46, 52): 0,
(46, 53): 1,
(46, 54): 0,
(46, 55): 0,
(46, 56): 0,
(46, 57): 0,
(46, 58): 0,
(46, 59): 0,
(46, 60): 0,
(46, 61): 1,
(46, 62): 1,
(46, 63): 1,
(45, 0): 1,
(45, 1): 1,
(45, 2): 1,
(45, 3): 0,
(45, 4): 0,
(45, 5): 0,
(45, 6): 0,
(45, 7): 0,
(45, 8): 0,
(45, 9): 0,
(45, 10): 1,
(45, 11): 1,
(45, 12): 1,
(45, 13): 0,
(45, 14): 1,
(45, 15): 1,
(45, 16): 1,
(45, 17): 0,
(45, 18): 0,
(45, 19): 0,
(45, 20): 0,
(45, 21): 0,
(45, 22): 0,
(45, 23): 0,
(45, 24): 0,
(45, 25): 0,
(45, 26): 0,
(45, 27): 0,
(45, 28): 1,
(45, 29): 1,
(45, 30): 0,
(45, 31): 1,
(45, 32): 0,
(45, 33): 0,
(45, 34): 0,
(45, 35): 0,
(45, 36): 0,
(45, 37): 0,
(45, 38): 0,
(45, 39): 0,
(45, 40): 0,
(45, 41): 0,
(45, 42): 0,
(45, 43): 1,
(45, 44): 0,
(45, 45): 0,
(45, 46): 0,
(45, 47): 0,
(45, 48): 0,
(45, 49): 1,
(45, 50): 0,
(45, 51): 1,
(45, 52): 1,
(45, 53): 1,
(45, 54): 1,
(45, 55): 0,
(45, 56): 0,
(45, 57): 0,
(45, 58): 0,
(45, 59): 0,
(45, 60): 0,
(45, 61): 1,
(45, 62): 1,
(45, 63): 1,
(44, 0): 1,
(44, 1): 1,
(44, 2): 1,
(44, 3): 0,
(44, 4): 0,
(44, 5): 0,
(44, 6): 0,
(44, 7): 0,
(44, 8): 0,
(44, 9): 0,
(44, 10): 1,
(44, 11): 0,
(44, 12): 1,
(44, 13): 0,
(44, 14): 0,
(44, 15): 0,
(44, 16): 0,
(44, 17): 0,
(44, 18): 0,
(44, 19): 0,
(44, 20): 0,
(44, 21): 0,
(44, 22): 0,
(44, 23): 0,
(44, 24): 0,
(44, 25): 0,
(44, 26): 0,
(44, 27): 0,
(44, 28): 0,
(44, 29): 1,
(44, 30): 1,
(44, 31): 1,
(44, 32): 0,
(44, 33): 0,
(44, 34): 0,
(44, 35): 0,
(44, 36): 0,
(44, 37): 0,
(44, 38): 0,
(44, 39): 0,
(44, 40): 0,
(44, 41): 0,
(44, 42): 0,
(44, 43): 0,
(44, 44): 0,
(44, 45): 0,
(44, 46): 0,
(44, 47): 0,
(44, 48): 0,
(44, 49): 0,
(44, 50): 0,
(44, 51): 0,
(44, 52): 0,
(44, 53): 1,
(44, 54): 0,
(44, 55): 0,
(44, 56): 0,
(44, 57): 0,
(44, 58): 0,
(44, 59): 0,
(44, 60): 0,
(44, 61): 1,
(44, 62): 1,
(44, 63): 1,
(43, 0): 1,
(43, 1): 1,
(43, 2): 0,
(43, 3): 0,
(43, 4): 0,
(43, 5): 0,
(43, 6): 0,
(43, 7): 0,
(43, 8): 0,
(43, 9): 1,
(43, 10): 1,
(43, 11): 0,
(43, 12): 0,
(43, 13): 0,
(43, 14): 0,
(43, 15): 0,
(43, 16): 0,
(43, 17): 0,
(43, 18): 0,
(43, 19): 0,
(43, 20): 0,
(43, 21): 0,
(43, 22): 0,
(43, 23): 0,
(43, 24): 0,
(43, 25): 0,
(43, 26): 0,
(43, 27): 0,
(43, 28): 0,
(43, 29): 0,
(43, 30): 1,
(43, 31): 0,
(43, 32): 0,
(43, 33): 0,
(43, 34): 0,
(43, 35): 0,
(43, 36): 0,
(43, 37): 0,
(43, 38): 0,
(43, 39): 0,
(43, 40): 0,
(43, 41): 0,
(43, 42): 0,
(43, 43): 0,
(43, 44): 0,
(43, 45): 0,
(43, 46): 0,
(43, 47): 0,
(43, 48): 0,
(43, 49): 0,
(43, 50): 0,
(43, 51): 0,
(43, 52): 0,
(43, 53): 0,
(43, 54): 0,
(43, 55): 0,
(43, 56): 0,
(43, 57): 0,
(43, 58): 0,
(43, 59): 0,
(43, 60): 0,
(43, 61): 0,
(43, 62): 1,
(43, 63): 1,
(42, 0): 1,
(42, 1): 1,
(42, 2): 0,
(42, 3): 0,
(42, 4): 0,
(42, 5): 0,
(42, 6): 0,
(42, 7): 0,
(42, 8): 0,
(42, 9): 0,
(42, 10): 0,
(42, 11): 0,
(42, 12): 0,
(42, 13): 0,
(42, 14): 0,
(42, 15): 0,
(42, 16): 0,
(42, 17): 0,
(42, 18): 0,
(42, 19): 0,
(42, 20): 0,
(42, 21): 0,
(42, 22): 0,
(42, 23): 0,
(42, 24): 0,
(42, 25): 0,
(42, 26): 1,
(42, 27): 1,
(42, 28): 1,
(42, 29): 0,
(42, 30): 1,
(42, 31): 1,
(42, 32): 1,
(42, 33): 0,
(42, 34): 0,
(42, 35): 0,
(42, 36): 0,
(42, 37): 0,
(42, 38): 0,
(42, 39): 0,
(42, 40): 0,
(42, 41): 0,
(42, 42): 0,
(42, 43): 0,
(42, 44): 0,
(42, 45): 0,
(42, 46): 0,
(42, 47): 0,
(42, 48): 0,
(42, 49): 0,
(42, 50): 0,
(42, 51): 0,
(42, 52): 0,
(42, 53): 0,
(42, 54): 0,
(42, 55): 0,
(42, 56): 0,
(42, 57): 0,
(42, 58): 0,
(42, 59): 0,
(42, 60): 0,
(42, 61): 0,
(42, 62): 1,
(42, 63): 1,
(41, 0): 1,
(41, 1): 0,
(41, 2): 0,
(41, 3): 0,
(41, 4): 0,
(41, 5): 0,
(41, 6): 0,
(41, 7): 0,
(41, 8): 0,
(41, 9): 0,
(41, 10): 0,
(41, 11): 0,
(41, 12): 0,
(41, 13): 0,
(41, 14): 0,
(41, 15): 0,
(41, 16): 0,
(41, 17): 0,
(41, 18): 0,
(41, 19): 0,
(41, 20): 0,
(41, 21): 0,
(41, 22): 0,
(41, 23): 0,
(41, 24): 0,
(41, 25): 0,
(41, 26): 1,
(41, 27): 0,
(41, 28): 1,
(41, 29): 1,
(41, 30): 1,
(41, 31): 0,
(41, 32): 0,
(41, 33): 0,
(41, 34): 0,
(41, 35): 0,
(41, 36): 0,
(41, 37): 0,
(41, 38): 0,
(41, 39): 0,
(41, 40): 0,
(41, 41): 0,
(41, 42): 0,
(41, 43): 0,
(41, 44): 0,
(41, 45): 0,
(41, 46): 0,
(41, 47): 0,
(41, 48): 0,
(41, 49): 0,
(41, 50): 0,
(41, 51): 0,
(41, 52): 0,
(41, 53): 0,
(41, 54): 0,
(41, 55): 0,
(41, 56): 0,
(41, 57): 0,
(41, 58): 0,
(41, 59): 0,
(41, 60): 0,
(41, 61): 0,
(41, 62): 0,
(41, 63): 1,
(40, 0): 1,
(40, 1): 0,
(40, 2): 0,
(40, 3): 0,
(40, 4): 0,
(40, 5): 0,
(40, 6): 0,
(40, 7): 0,
(40, 8): 0,
(40, 9): 0,
(40, 10): 0,
(40, 11): 0,
(40, 12): 0,
(40, 13): 0,
(40, 14): 0,
(40, 15): 0,
(40, 16): 0,
(40, 17): 0,
(40, 18): 0,
(40, 19): 0,
(40, 20): 0,
(40, 21): 0,
(40, 22): 0,
(40, 23): 0,
(40, 24): 0,
(40, 25): 0,
(40, 26): 0,
(40, 27): 0,
(40, 28): 1,
(40, 29): 0,
(40, 30): 1,
(40, 31): 1,
(40, 32): 0,
(40, 33): 1,
(40, 34): 0,
(40, 35): 0,
(40, 36): 0,
(40, 37): 0,
(40, 38): 0,
(40, 39): 0,
(40, 40): 0,
(40, 41): 0,
(40, 42): 0,
(40, 43): 0,
(40, 44): 0,
(40, 45): 0,
(40, 46): 0,
(40, 47): 0,
(40, 48): 0,
(40, 49): 0,
(40, 50): 0,
(40, 51): 0,
(40, 52): 0,
(40, 53): 0,
(40, 54): 0,
(40, 55): 0,
(40, 56): 0,
(40, 57): 0,
(40, 58): 0,
(40, 59): 0,
(40, 60): 0,
(40, 61): 0,
(40, 62): 0,
(40, 63): 1,
(39, 0): 1,
(39, 1): 0,
(39, 2): 0,
(39, 3): 0,
(39, 4): 0,
(39, 5): 0,
(39, 6): 0,
(39, 7): 0,
(39, 8): 0,
(39, 9): 0,
(39, 10): 0,
(39, 11): 0,
(39, 12): 0,
(39, 13): 0,
(39, 14): 0,
(39, 15): 0,
(39, 16): 0,
(39, 17): 0,
(39, 18): 0,
(39, 19): 0,
(39, 20): 0,
(39, 21): 0,
(39, 22): 0,
(39, 23): 0,
(39, 24): 0,
(39, 25): 0,
(39, 26): 0,
(39, 27): 0,
(39, 28): 0,
(39, 29): 0,
(39, 30): 0,
(39, 31): 1,
(39, 32): 1,
(39, 33): 1,
(39, 34): 1,
(39, 35): 0,
(39, 36): 0,
(39, 37): 0,
(39, 38): 0,
(39, 39): 0,
(39, 40): 0,
(39, 41): 0,
(39, 42): 0,
(39, 43): 0,
(39, 44): 0,
(39, 45): 0,
(39, 46): 0,
(39, 47): 0,
(39, 48): 0,
(39, 49): 0,
(39, 50): 0,
(39, 51): 0,
(39, 52): 0,
(39, 53): 0,
(39, 54): 0,
(39, 55): 0,
(39, 56): 0,
(39, 57): 0,
(39, 58): 0,
(39, 59): 0,
(39, 60): 0,
(39, 61): 0,
(39, 62): 0,
(39, 63): 1,
(38, 0): 1,
(38, 1): 0,
(38, 2): 0,
(38, 3): 0,
(38, 4): 0,
(38, 5): 0,
(38, 6): 0,
(38, 7): 0,
(38, 8): 0,
(38, 9): 0,
(38, 10): 0,
(38, 11): 0,
(38, 12): 0,
(38, 13): 0,
(38, 14): 0,
(38, 15): 0,
(38, 16): 0,
(38, 17): 1,
(38, 18): 1,
(38, 19): 0,
(38, 20): 1,
(38, 21): 1,
(38, 22): 1,
(38, 23): 1,
(38, 24): 0,
(38, 25): 0,
(38, 26): 0,
(38, 27): 0,
(38, 28): 0,
(38, 29): 1,
(38, 30): 0,
(38, 31): 1,
(38, 32): 0,
(38, 33): 0,
(38, 34): 0,
(38, 35): 0,
(38, 36): 0,
(38, 37): 0,
(38, 38): 0,
(38, 39): 0,
(38, 40): 0,
(38, 41): 0,
(38, 42): 0,
(38, 43): 1,
(38, 44): 1,
(38, 45): 1,
(38, 46): 0,
(38, 47): 1,
(38, 48): 1,
(38, 49): 0,
(38, 50): 0,
(38, 51): 0,
(38, 52): 0,
(38, 53): 0,
(38, 54): 0,
(38, 55): 0,
(38, 56): 0,
(38, 57): 0,
(38, 58): 0,
(38, 59): 0,
(38, 60): 0,
(38, 61): 0,
(38, 62): 0,
(38, 63): 1,
(37, 0): 0,
(37, 1): 0,
(37, 2): 0,
(37, 3): 0,
(37, 4): 0,
(37, 5): 0,
(37, 6): 0,
(37, 7): 0,
(37, 8): 0,
(37, 9): 0,
(37, 10): 0,
(37, 11): 0,
(37, 12): 0,
(37, 13): 0,
(37, 14): 0,
(37, 15): 0,
(37, 16): 0,
(37, 17): 0,
(37, 18): 1,
(37, 19): 1,
(37, 20): 1,
(37, 21): 0,
(37, 22): 1,
(37, 23): 0,
(37, 24): 0,
(37, 25): 0,
(37, 26): 0,
(37, 27): 0,
(37, 28): 0,
(37, 29): 1,
(37, 30): 1,
(37, 31): 1,
(37, 32): 1,
(37, 33): 1,
(37, 34): 0,
(37, 35): 0,
(37, 36): 0,
(37, 37): 0,
(37, 38): 0,
(37, 39): 0,
(37, 40): 0,
(37, 41): 1,
(37, 42): 1,
(37, 43): 1,
(37, 44): 0,
(37, 45): 1,
(37, 46): 1,
(37, 47): 1,
(37, 48): 0,
(37, 49): 0,
(37, 50): 0,
(37, 51): 0,
(37, 52): 0,
(37, 53): 0,
(37, 54): 0,
(37, 55): 0,
(37, 56): 0,
(37, 57): 0,
(37, 58): 0,
(37, 59): 0,
(37, 60): 0,
(37, 61): 0,
(37, 62): 0,
(37, 63): 0,
(36, 0): 0,
(36, 1): 0,
(36, 2): 0,
(36, 3): 0,
(36, 4): 0,
(36, 5): 0,
(36, 6): 0,
(36, 7): 0,
(36, 8): 0,
(36, 9): 0,
(36, 10): 0,
(36, 11): 0,
(36, 12): 0,
(36, 13): 0,
(36, 14): 0,
(36, 15): 0,
(36, 16): 1,
(36, 17): 1,
(36, 18): 1,
(36, 19): 0,
(36, 20): 0,
(36, 21): 0,
(36, 22): 1,
(36, 23): 1,
(36, 24): 1,
(36, 25): 0,
(36, 26): 1,
(36, 27): 0,
(36, 28): 0,
(36, 29): 1,
(36, 30): 0,
(36, 31): 0,
(36, 32): 1,
(36, 33): 0,
(36, 34): 0,
(36, 35): 1,
(36, 36): 0,
(36, 37): 0,
(36, 38): 1,
(36, 39): 1,
(36, 40): 0,
(36, 41): 1,
(36, 42): 0,
(36, 43): 0,
(36, 44): 0,
(36, 45): 1,
(36, 46): 0,
(36, 47): 1,
(36, 48): 1,
(36, 49): 0,
(36, 50): 1,
(36, 51): 1,
(36, 52): 0,
(36, 53): 0,
(36, 54): 0,
(36, 55): 0,
(36, 56): 0,
(36, 57): 0,
(36, 58): 0,
(36, 59): 0,
(36, 60): 0,
(36, 61): 0,
(36, 62): 0,
(36, 63): 0,
(35, 0): 0,
(35, 1): 0,
(35, 2): 0,
(35, 3): 0,
(35, 4): 0,
(35, 5): 0,
(35, 6): 0,
(35, 7): 0,
(35, 8): 0,
(35, 9): 0,
(35, 10): 0,
(35, 11): 0,
(35, 12): 0,
(35, 13): 1,
(35, 14): 0,
(35, 15): 1,
(35, 16): 1,
(35, 17): 0,
(35, 18): 1,
(35, 19): 1,
(35, 20): 1,
(35, 21): 0,
(35, 22): 0,
(35, 23): 0,
(35, 24): 1,
(35, 25): 1,
(35, 26): 1,
(35, 27): 0,
(35, 28): 0,
(35, 29): 0,
(35, 30): 0,
(35, 31): 1,
(35, 32): 1,
(35, 33): 1,
(35, 34): 0,
(35, 35): 1,
(35, 36): 1,
(35, 37): 0,
(35, 38): 0,
(35, 39): 1,
(35, 40): 1,
(35, 41): 1,
(35, 42): 1,
(35, 43): 0,
(35, 44): 1,
(35, 45): 1,
(35, 46): 0,
(35, 47): 0,
(35, 48): 1,
(35, 49): 1,
(35, 50): 1,
(35, 51): 0,
(35, 52): 0,
(35, 53): 0,
(35, 54): 0,
(35, 55): 0,
(35, 56): 0,
(35, 57): 0,
(35, 58): 0,
(35, 59): 0,
(35, 60): 0,
(35, 61): 0,
(35, 62): 0,
(35, 63): 0,
(34, 0): 0,
(34, 1): 0,
(34, 2): 0,
(34, 3): 0,
(34, 4): 0,
(34, 5): 0,
(34, 6): 0,
(34, 7): 0,
(34, 8): 0,
(34, 9): 0,
(34, 10): 0,
(34, 11): 0,
(34, 12): 1,
(34, 13): 1,
(34, 14): 1,
(34, 15): 1,
(34, 16): 0,
(34, 17): 0,
(34, 18): 0,
(34, 19): 0,
(34, 20): 1,
(34, 21): 0,
(34, 22): 1,
(34, 23): 0,
(34, 24): 1,
(34, 25): 0,
(34, 26): 1,
(34, 27): 0,
(34, 28): 1,
(34, 29): 0,
(34, 30): 0,
(34, 31): 0,
(34, 32): 0,
(34, 33): 1,
(34, 34): 0,
(34, 35): 0,
(34, 36): 1,
(34, 37): 0,
(34, 38): 1,
(34, 39): 1,
(34, 40): 0,
(34, 41): 1,
(34, 42): 0,
(34, 43): 0,
(34, 44): 0,
(34, 45): 1,
(34, 46): 1,
(34, 47): 0,
(34, 48): 0,
(34, 49): 0,
(34, 50): 1,
(34, 51): 1,
(34, 52): 1,
(34, 53): 0,
(34, 54): 0,
(34, 55): 0,
(34, 56): 0,
(34, 57): 0,
(34, 58): 0,
(34, 59): 0,
(34, 60): 0,
(34, 61): 0,
(34, 62): 0,
(34, 63): 0,
(33, 0): 0,
(33, 1): 0,
(33, 2): 0,
(33, 3): 0,
(33, 4): 0,
(33, 5): 0,
(33, 6): 0,
(33, 7): 0,
(33, 8): 0,
(33, 9): 0,
(33, 10): 0,
(33, 11): 0,
(33, 12): 0,
(33, 13): 0,
(33, 14): 1,
(33, 15): 0,
(33, 16): 0,
(33, 17): 1,
(33, 18): 0,
(33, 19): 1,
(33, 20): 1,
(33, 21): 1,
(33, 22): 1,
(33, 23): 0,
(33, 24): 1,
(33, 25): 0,
(33, 26): 1,
(33, 27): 1,
(33, 28): 1,
(33, 29): 1,
(33, 30): 0,
(33, 31): 1,
(33, 32): 0,
(33, 33): 1,
(33, 34): 1,
(33, 35): 0,
(33, 36): 1,
(33, 37): 0,
(33, 38): 1,
(33, 39): 0,
(33, 40): 0,
(33, 41): 1,
(33, 42): 0,
(33, 43): 1,
(33, 44): 1,
(33, 45): 1,
(33, 46): 0,
(33, 47): 0,
(33, 48): 1,
(33, 49): 0,
(33, 50): 0,
(33, 51): 1,
(33, 52): 0,
(33, 53): 0,
(33, 54): 0,
(33, 55): 0,
(33, 56): 0,
(33, 57): 0,
(33, 58): 0,
(33, 59): 0,
(33, 60): 0,
(33, 61): 0,
(33, 62): 0,
(33, 63): 0,
(32, 0): 0,
(32, 1): 0,
(32, 2): 0,
(32, 3): 0,
(32, 4): 0,
(32, 5): 0,
(32, 6): 0,
(32, 7): 0,
(32, 8): 0,
(32, 9): 0,
(32, 10): 0,
(32, 11): 0,
(32, 12): 0,
(32, 13): 1,
(32, 14): 1,
(32, 15): 1,
(32, 16): 1,
(32, 17): 1,
(32, 18): 0,
(32, 19): 0,
(32, 20): 1,
(32, 21): 0,
(32, 22): 0,
(32, 23): 0,
(32, 24): 1,
(32, 25): 0,
(32, 26): 0,
(32, 27): 1,
(32, 28): 0,
(32, 29): 0,
(32, 30): 0,
(32, 31): 1,
(32, 32): 0,
(32, 33): 0,
(32, 34): 1,
(32, 35): 1,
(32, 36): 1,
(32, 37): 1,
(32, 38): 1,
(32, 39): 0,
(32, 40): 1,
(32, 41): 1,
(32, 42): 0,
(32, 43): 0,
(32, 44): 1,
(32, 45): 0,
(32, 46): 0,
(32, 47): 1,
(32, 48): 1,
(32, 49): 0,
(32, 50): 1,
(32, 51): 1,
(32, 52): 1,
(32, 53): 0,
(32, 54): 1,
(32, 55): 0,
(32, 56): 0,
(32, 57): 0,
(32, 58): 0,
(32, 59): 0,
(32, 60): 0,
(32, 61): 0,
(32, 62): 0,
(32, 63): 0,
(31, 0): 0,
(31, 1): 0,
(31, 2): 0,
(31, 3): 0,
(31, 4): 0,
(31, 5): 0,
(31, 6): 0,
(31, 7): 0,
(31, 8): 0,
(31, 9): 0,
(31, 10): 0,
(31, 11): 1,
(31, 12): 1,
(31, 13): 1,
(31, 14): 0,
(31, 15): 0,
(31, 16): 0,
(31, 17): 1,
(31, 18): 1,
(31, 19): 0,
(31, 20): 1,
(31, 21): 1,
(31, 22): 0,
(31, 23): 1,
(31, 24): 1,
(31, 25): 1,
(31, 26): 0,
(31, 27): 0,
(31, 28): 0,
(31, 29): 1,
(31, 30): 0,
(31, 31): 1,
(31, 32): 1,
(31, 33): 0,
(31, 34): 0,
(31, 35): 0,
(31, 36): 1,
(31, 37): 0,
(31, 38): 0,
(31, 39): 0,
(31, 40): 0,
(31, 41): 1,
(31, 42): 1,
(31, 43): 0,
(31, 44): 1,
(31, 45): 0,
(31, 46): 0,
(31, 47): 0,
(31, 48): 1,
(31, 49): 1,
(31, 50): 1,
(31, 51): 0,
(31, 52): 1,
(31, 53): 1,
(31, 54): 1,
(31, 55): 0,
(31, 56): 0,
(31, 57): 0,
(31, 58): 0,
(31, 59): 0,
(31, 60): 0,
(31, 61): 0,
(31, 62): 0,
(31, 63): 0,
(30, 0): 0,
(30, 1): 0,
(30, 2): 0,
(30, 3): 0,
(30, 4): 0,
(30, 5): 0,
(30, 6): 0,
(30, 7): 0,
(30, 8): 0,
(30, 9): 0,
(30, 10): 0,
(30, 11): 0,
(30, 12): 1,
(30, 13): 0,
(30, 14): 0,
(30, 15): 1,
(30, 16): 0,
(30, 17): 0,
(30, 18): 0,
(30, 19): 0,
(30, 20): 1,
(30, 21): 0,
(30, 22): 0,
(30, 23): 1,
(30, 24): 0,
(30, 25): 0,
(30, 26): 0,
(30, 27): 1,
(30, 28): 1,
(30, 29): 1,
(30, 30): 0,
(30, 31): 1,
(30, 32): 0,
(30, 33): 0,
(30, 34): 0,
(30, 35): 1,
(30, 36): 1,
(30, 37): 1,
(30, 38): 1,
(30, 39): 1,
(30, 40): 0,
(30, 41): 0,
(30, 42): 0,
(30, 43): 0,
(30, 44): 1,
(30, 45): 0,
(30, 46): 1,
(30, 47): 0,
(30, 48): 0,
(30, 49): 0,
(30, 50): 0,
(30, 51): 0,
(30, 52): 0,
(30, 53): 1,
(30, 54): 0,
(30, 55): 0,
(30, 56): 0,
(30, 57): 0,
(30, 58): 0,
(30, 59): 0,
(30, 60): 0,
(30, 61): 0,
(30, 62): 0,
(30, 63): 0,
(29, 0): 0,
(29, 1): 0,
(29, 2): 0,
(29, 3): 0,
(29, 4): 0,
(29, 5): 0,
(29, 6): 0,
(29, 7): 0,
(29, 8): 0,
(29, 9): 0,
(29, 10): 0,
(29, 11): 1,
(29, 12): 1,
(29, 13): 1,
(29, 14): 1,
(29, 15): 1,
(29, 16): 0,
(29, 17): 1,
(29, 18): 1,
(29, 19): 0,
(29, 20): 1,
(29, 21): 1,
(29, 22): 0,
(29, 23): 0,
(29, 24): 0,
(29, 25): 1,
(29, 26): 0,
(29, 27): 0,
(29, 28): 0,
(29, 29): 1,
(29, 30): 1,
(29, 31): 1,
(29, 32): 0,
(29, 33): 1,
(29, 34): 0,
(29, 35): 1,
(29, 36): 0,
(29, 37): 0,
(29, 38): 1,
(29, 39): 0,
(29, 40): 0,
(29, 41): 1,
(29, 42): 0,
(29, 43): 1,
(29, 44): 1,
(29, 45): 0,
(29, 46): 1,
(29, 47): 1,
(29, 48): 1,
(29, 49): 0,
(29, 50): 1,
(29, 51): 1,
(29, 52): 0,
(29, 53): 1,
(29, 54): 1,
(29, 55): 0,
(29, 56): 0,
(29, 57): 0,
(29, 58): 0,
(29, 59): 0,
(29, 60): 0,
(29, 61): 0,
(29, 62): 0,
(29, 63): 0,
(28, 0): 0,
(28, 1): 0,
(28, 2): 0,
(28, 3): 0,
(28, 4): 0,
(28, 5): 0,
(28, 6): 0,
(28, 7): 0,
(28, 8): 0,
(28, 9): 0,
(28, 10): 0,
(28, 11): 1,
(28, 12): 0,
(28, 13): 0,
(28, 14): 0,
(28, 15): 0,
(28, 16): 0,
(28, 17): 0,
(28, 18): 1,
(28, 19): 0,
(28, 20): 0,
(28, 21): 0,
(28, 22): 0,
(28, 23): 1,
(28, 24): 1,
(28, 25): 1,
(28, 26): 1,
(28, 27): 0,
(28, 28): 1,
(28, 29): 1,
(28, 30): 0,
(28, 31): 1,
(28, 32): 0,
(28, 33): 1,
(28, 34): 1,
(28, 35): 1,
(28, 36): 1,
(28, 37): 0,
(28, 38): 1,
(28, 39): 0,
(28, 40): 1,
(28, 41): 1,
(28, 42): 0,
(28, 43): 1,
(28, 44): 0,
(28, 45): 0,
(28, 46): 0,
(28, 47): 0,
(28, 48): 1,
(28, 49): 1,
(28, 50): 1,
(28, 51): 0,
(28, 52): 0,
(28, 53): 0,
(28, 54): 1,
(28, 55): 0,
(28, 56): 0,
(28, 57): 0,
(28, 58): 0,
(28, 59): 0,
(28, 60): 0,
(28, 61): 0,
(28, 62): 0,
(28, 63): 0,
(27, 0): 0,
(27, 1): 0,
(27, 2): 0,
(27, 3): 0,
(27, 4): 0,
(27, 5): 0,
(27, 6): 0,
(27, 7): 0,
(27, 8): 0,
(27, 9): 0,
(27, 10): 0,
(27, 11): 1,
(27, 12): 1,
(27, 13): 1,
(27, 14): 0,
(27, 15): 1,
(27, 16): 1,
(27, 17): 0,
(27, 18): 1,
(27, 19): 0,
(27, 20): 0,
(27, 21): 1,
(27, 22): 0,
(27, 23): 0,
(27, 24): 0,
(27, 25): 1,
(27, 26): 0,
(27, 27): 0,
(27, 28): 0,
(27, 29): 1,
(27, 30): 0,
(27, 31): 0,
(27, 32): 0,
(27, 33): 0,
(27, 34): 1,
(27, 35): 0,
(27, 36): 1,
(27, 37): 0,
(27, 38): 0,
(27, 39): 0,
(27, 40): 1,
(27, 41): 0,
(27, 42): 0,
(27, 43): 0,
(27, 44): 0,
(27, 45): 1,
(27, 46): 1,
(27, 47): 0,
(27, 48): 0,
(27, 49): 0,
(27, 50): 1,
(27, 51): 1,
(27, 52): 1,
(27, 53): 0,
(27, 54): 1,
(27, 55): 0,
(27, 56): 0,
(27, 57): 0,
(27, 58): 0,
(27, 59): 0,
(27, 60): 0,
(27, 61): 0,
(27, 62): 0,
(27, 63): 0,
(26, 0): 0,
(26, 1): 0,
(26, 2): 0,
(26, 3): 0,
(26, 4): 0,
(26, 5): 0,
(26, 6): 0,
(26, 7): 0,
(26, 8): 0,
(26, 9): 0,
(26, 10): 0,
(26, 11): 0,
(26, 12): 1,
(26, 13): 0,
(26, 14): 0,
(26, 15): 0,
(26, 16): 1,
(26, 17): 0,
(26, 18): 1,
(26, 19): 1,
(26, 20): 0,
(26, 21): 1,
(26, 22): 1,
(26, 23): 0,
(26, 24): 1,
(26, 25): 1,
(26, 26): 1,
(26, 27): 0,
(26, 28): 1,
(26, 29): 1,
(26, 30): 0,
(26, 31): 0,
(26, 32): 0,
(26, 33): 0,
(26, 34): 0,
(26, 35): 0,
(26, 36): 1,
(26, 37): 1,
(26, 38): 0,
(26, 39): 1,
(26, 40): 1,
(26, 41): 0,
(26, 42): 1,
(26, 43): 1,
(26, 44): 1,
(26, 45): 1,
(26, 46): 0,
(26, 47): 0,
(26, 48): 1,
(26, 49): 0,
(26, 50): 0,
(26, 51): 0,
(26, 52): 1,
(26, 53): 1,
(26, 54): 1,
(26, 55): 0,
(26, 56): 0,
(26, 57): 0,
(26, 58): 0,
(26, 59): 0,
(26, 60): 0,
(26, 61): 0,
(26, 62): 0,
(26, 63): 0,
(25, 0): 1,
(25, 1): 0,
(25, 2): 0,
(25, 3): 0,
(25, 4): 0,
(25, 5): 0,
(25, 6): 0,
(25, 7): 0,
(25, 8): 0,
(25, 9): 0,
(25, 10): 1,
(25, 11): 1,
(25, 12): 1,
(25, 13): 1,
(25, 14): 1,
(25, 15): 0,
(25, 16): 1,
(25, 17): 1,
(25, 18): 1,
(25, 19): 0,
(25, 20): 0,
(25, 21): 0,
(25, 22): 1,
(25, 23): 0,
(25, 24): 0,
(25, 25): 0,
(25, 26): 1,
(25, 27): 1,
(25, 28): 1,
(25, 29): 0,
(25, 30): 0,
(25, 31): 0,
(25, 32): 0,
(25, 33): 0,
(25, 34): 0,
(25, 35): 0,
(25, 36): 0,
(25, 37): 1,
(25, 38): 0,
(25, 39): 1,
(25, 40): 0,
(25, 41): 0,
(25, 42): 0,
(25, 43): 0,
(25, 44): 0,
(25, 45): 1,
(25, 46): 0,
(25, 47): 1,
(25, 48): 1,
(25, 49): 1,
(25, 50): 0,
(25, 51): 1,
(25, 52): 1,
(25, 53): 0,
(25, 54): 1,
(25, 55): 0,
(25, 56): 0,
(25, 57): 0,
(25, 58): 0,
(25, 59): 0,
(25, 60): 0,
(25, 61): 0,
(25, 62): 0,
(25, 63): 1,
(24, 0): 1,
(24, 1): 0,
(24, 2): 0,
(24, 3): 0,
(24, 4): 0,
(24, 5): 0,
(24, 6): 0,
(24, 7): 0,
(24, 8): 0,
(24, 9): 0,
(24, 10): 0,
(24, 11): 0,
(24, 12): 0,
(24, 13): 1,
(24, 14): 0,
(24, 15): 0,
(24, 16): 1,
(24, 17): 0,
(24, 18): 0,
(24, 19): 0,
(24, 20): 1,
(24, 21): 1,
(24, 22): 1,
(24, 23): 1,
(24, 24): 1,
(24, 25): 0,
(24, 26): 0,
(24, 27): 0,
(24, 28): 1,
(24, 29): 1,
(24, 30): 0,
(24, 31): 0,
(24, 32): 0,
(24, 33): 0,
(24, 34): 0,
(24, 35): 0,
(24, 36): 0,
(24, 37): 1,
(24, 38): 1,
(24, 39): 1,
(24, 40): 0,
(24, 41): 1,
(24, 42): 1,
(24, 43): 0,
(24, 44): 1,
(24, 45): 1,
(24, 46): 1,
(24, 47): 1,
(24, 48): 0,
(24, 49): 0,
(24, 50): 0,
(24, 51): 1,
(24, 52): 0,
(24, 53): 0,
(24, 54): 0,
(24, 55): 0,
(24, 56): 0,
(24, 57): 0,
(24, 58): 0,
(24, 59): 0,
(24, 60): 0,
(24, 61): 0,
(24, 62): 0,
(24, 63): 1,
(23, 0): 1,
(23, 1): 0,
(23, 2): 0,
(23, 3): 0,
(23, 4): 0,
(23, 5): 0,
(23, 6): 0,
(23, 7): 0,
(23, 8): 0,
(23, 9): 0,
(23, 10): 1,
(23, 11): 1,
(23, 12): 1,
(23, 13): 1,
(23, 14): 1,
(23, 15): 0,
(23, 16): 1,
(23, 17): 1,
(23, 18): 0,
(23, 19): 1,
(23, 20): 1,
(23, 21): 0,
(23, 22): 0,
(23, 23): 1,
(23, 24): 0,
(23, 25): 0,
(23, 26): 1,
(23, 27): 1,
(23, 28): 1,
(23, 29): 0,
(23, 30): 0,
(23, 31): 0,
(23, 32): 0,
(23, 33): 0,
(23, 34): 0,
(23, 35): 0,
(23, 36): 0,
(23, 37): 0,
(23, 38): 1,
(23, 39): 0,
(23, 40): 0,
(23, 41): 1,
(23, 42): 0,
(23, 43): 0,
(23, 44): 0,
(23, 45): 0,
(23, 46): 0,
(23, 47): 1,
(23, 48): 1,
(23, 49): 0,
(23, 50): 1,
(23, 51): 1,
(23, 52): 1,
(23, 53): 1,
(23, 54): 0,
(23, 55): 0,
(23, 56): 0,
(23, 57): 0,
(23, 58): 0,
(23, 59): 0,
(23, 60): 0,
(23, 61): 0,
(23, 62): 0,
(23, 63): 1,
(22, 0): 1,
(22, 1): 0,
(22, 2): 0,
(22, 3): 0,
(22, 4): 0,
(22, 5): 0,
(22, 6): 0,
(22, 7): 0,
(22, 8): 1,
(22, 9): 1,
(22, 10): 1,
(22, 11): 1,
(22, 12): 1,
(22, 13): 0,
(22, 14): 1,
(22, 15): 1,
(22, 16): 1,
(22, 17): 0,
(22, 18): 0,
(22, 19): 0,
(22, 20): 1,
(22, 21): 1,
(22, 22): 0,
(22, 23): 0,
(22, 24): 0,
(22, 25): 1,
(22, 26): 1,
(22, 27): 0,
(22, 28): 0,
(22, 29): 0,
(22, 30): 0,
(22, 31): 0,
(22, 32): 0,
(22, 33): 0,
(22, 34): 0,
(22, 35): 0,
(22, 36): 0,
(22, 37): 0,
(22, 38): 1,
(22, 39): 0,
(22, 40): 1,
(22, 41): 1,
(22, 42): 0,
(22, 43): 1,
(22, 44): 1,
(22, 45): 1,
(22, 46): 0,
(22, 47): 0,
(22, 48): 1,
(22, 49): 1,
(22, 50): 1,
(22, 51): 1,
(22, 52): 1,
(22, 53): 1,
(22, 54): 1,
(22, 55): 1,
(22, 56): 1,
(22, 57): 0,
(22, 58): 0,
(22, 59): 0,
(22, 60): 0,
(22, 61): 0,
(22, 62): 0,
(22, 63): 1,
(21, 0): 1,
(21, 1): 1,
(21, 2): 0,
(21, 3): 0,
(21, 4): 0,
(21, 5): 0,
(21, 6): 1,
(21, 7): 1,
(21, 8): 1,
(21, 9): 1,
(21, 10): 1,
(21, 11): 0,
(21, 12): 0,
(21, 13): 0,
(21, 14): 0,
(21, 15): 0,
(21, 16): 1,
(21, 17): 1,
(21, 18): 1,
(21, 19): 0,
(21, 20): 0,
(21, 21): 1,
(21, 22): 0,
(21, 23): 1,
(21, 24): 1,
(21, 25): 1,
(21, 26): 0,
(21, 27): 0,
(21, 28): 0,
(21, 29): 0,
(21, 30): 0,
(21, 31): 0,
(21, 32): 0,
(21, 33): 0,
(21, 34): 0,
(21, 35): 0,
(21, 36): 0,
(21, 37): 0,
(21, 38): 0,
(21, 39): 0,
(21, 40): 0,
(21, 41): 1,
(21, 42): 0,
(21, 43): 0,
(21, 44): 1,
(21, 45): 0,
(21, 46): 0,
(21, 47): 1,
(21, 48): 1,
(21, 49): 0,
(21, 50): 1,
(21, 51): 0,
(21, 52): 0,
(21, 53): 1,
(21, 54): 1,
(21, 55): 1,
(21, 56): 1,
(21, 57): 1,
(21, 58): 1,
(21, 59): 1,
(21, 60): 0,
(21, 61): 0,
(21, 62): 1,
(21, 63): 1,
(20, 0): 1,
(20, 1): 1,
(20, 2): 0,
(20, 3): 0,
(20, 4): 1,
(20, 5): 1,
(20, 6): 1,
(20, 7): 1,
(20, 8): 1,
(20, 9): 0,
(20, 10): 0,
(20, 11): 0,
(20, 12): 0,
(20, 13): 0,
(20, 14): 0,
(20, 15): 0,
(20, 16): 0,
(20, 17): 0,
(20, 18): 1,
(20, 19): 1,
(20, 20): 0,
(20, 21): 1,
(20, 22): 1,
(20, 23): 1,
(20, 24): 0,
(20, 25): 0,
(20, 26): 0,
(20, 27): 0,
(20, 28): 0,
(20, 29): 0,
(20, 30): 0,
(20, 31): 0,
(20, 32): 0,
(20, 33): 0,
(20, 34): 0,
(20, 35): 0,
(20, 36): 0,
(20, 37): 0,
(20, 38): 0,
(20, 39): 1,
(20, 40): 0,
(20, 41): 1,
(20, 42): 1,
(20, 43): 1,
(20, 44): 1,
(20, 45): 1,
(20, 46): 1,
(20, 47): 1,
(20, 48): 0,
(20, 49): 0,
(20, 50): 0,
(20, 51): 0,
(20, 52): 0,
(20, 53): 0,
(20, 54): 0,
(20, 55): 0,
(20, 56): 1,
(20, 57): 1,
(20, 58): 1,
(20, 59): 1,
(20, 60): 1,
(20, 61): 1,
(20, 62): 1,
(20, 63): 1,
(19, 0): 1,
(19, 1): 1,
(19, 2): 1,
(19, 3): 1,
(19, 4): 1,
(19, 5): 1,
(19, 6): 1,
(19, 7): 0,
(19, 8): 0,
(19, 9): 0,
(19, 10): 0,
(19, 11): 0,
(19, 12): 0,
(19, 13): 0,
(19, 14): 0,
(19, 15): 0,
(19, 16): 0,
(19, 17): 0,
(19, 18): 0,
(19, 19): 1,
(19, 20): 1,
(19, 21): 1,
(19, 22): 0,
(19, 23): 1,
(19, 24): 1,
(19, 25): 0,
(19, 26): 0,
(19, 27): 0,
(19, 28): 0,
(19, 29): 0,
(19, 30): 0,
(19, 31): 0,
(19, 32): 0,
(19, 33): 0,
(19, 34): 0,
(19, 35): 0,
(19, 36): 0,
(19, 37): 0,
(19, 38): 0,
(19, 39): 1,
(19, 40): 1,
(19, 41): 1,
(19, 42): 0,
(19, 43): 1,
(19, 44): 0,
(19, 45): 1,
(19, 46): 0,
(19, 47): 0,
(19, 48): 0,
(19, 49): 0,
(19, 50): 0,
(19, 51): 0,
(19, 52): 0,
(19, 53): 0,
(19, 54): 0,
(19, 55): 0,
(19, 56): 0,
(19, 57): 0,
(19, 58): 0,
(19, 59): 1,
(19, 60): 1,
(19, 61): 1,
(19, 62): 1,
(19, 63): 1,
(18, 0): 1,
(18, 1): 1,
(18, 2): 1,
(18, 3): 1,
(18, 4): 1,
(18, 5): 0,
(18, 6): 0,
(18, 7): 0,
(18, 8): 0,
(18, 9): 0,
(18, 10): 0,
(18, 11): 0,
(18, 12): 0,
(18, 13): 0,
(18, 14): 0,
(18, 15): 0,
(18, 16): 0,
(18, 17): 0,
(18, 18): 0,
(18, 19): 0,
(18, 20): 0,
(18, 21): 0,
(18, 22): 0,
(18, 23): 0,
(18, 24): 0,
(18, 25): 0,
(18, 26): 0,
(18, 27): 0,
(18, 28): 0,
(18, 29): 0,
(18, 30): 0,
(18, 31): 0,
(18, 32): 0,
(18, 33): 0,
(18, 34): 0,
(18, 35): 0,
(18, 36): 0,
(18, 37): 0,
(18, 38): 0,
(18, 39): 0,
(18, 40): 0,
(18, 41): 0,
(18, 42): 0,
(18, 43): 0,
(18, 44): 0,
(18, 45): 0,
(18, 46): 0,
(18, 47): 0,
(18, 48): 0,
(18, 49): 0,
(18, 50): 0,
(18, 51): 0,
(18, 52): 0,
(18, 53): 0,
(18, 54): 0,
(18, 55): 0,
(18, 56): 0,
(18, 57): 0,
(18, 58): 0,
(18, 59): 0,
(18, 60): 0,
(18, 61): 1,
(18, 62): 1,
(18, 63): 1,
(17, 0): 1,
(17, 1): 1,
(17, 2): 1,
(17, 3): 0,
(17, 4): 0,
(17, 5): 0,
(17, 6): 0,
(17, 7): 0,
(17, 8): 0,
(17, 9): 0,
(17, 10): 0,
(17, 11): 0,
(17, 12): 0,
(17, 13): 0,
(17, 14): 0,
(17, 15): 0,
(17, 16): 0,
(17, 17): 0,
(17, 18): 0,
(17, 19): 0,
(17, 20): 0,
(17, 21): 0,
(17, 22): 0,
(17, 23): 0,
(17, 24): 0,
(17, 25): 0,
(17, 26): 0,
(17, 27): 0,
(17, 28): 0,
(17, 29): 0,
(17, 30): 0,
(17, 31): 0,
(17, 32): 0,
(17, 33): 0,
(17, 34): 0,
(17, 35): 0,
(17, 36): 0,
(17, 37): 0,
(17, 38): 0,
(17, 39): 0,
(17, 40): 0,
(17, 41): 0,
(17, 42): 0,
(17, 43): 0,
(17, 44): 0,
(17, 45): 0,
(17, 46): 0,
(17, 47): 0,
(17, 48): 0,
(17, 49): 0,
(17, 50): 0,
(17, 51): 0,
(17, 52): 0,
(17, 53): 0,
(17, 54): 0,
(17, 55): 0,
(17, 56): 0,
(17, 57): 0,
(17, 58): 0,
(17, 59): 0,
(17, 60): 0,
(17, 61): 1,
(17, 62): 1,
(17, 63): 1,
(16, 0): 1,
(16, 1): 1,
(16, 2): 1,
(16, 3): 1,
(16, 4): 0,
(16, 5): 0,
(16, 6): 0,
(16, 7): 0,
(16, 8): 0,
(16, 9): 0,
(16, 10): 0,
(16, 11): 0,
(16, 12): 0,
(16, 13): 0,
(16, 14): 0,
(16, 15): 0,
(16, 16): 0,
(16, 17): 0,
(16, 18): 0,
(16, 19): 0,
(16, 20): 0,
(16, 21): 0,
(16, 22): 0,
(16, 23): 0,
(16, 24): 0,
(16, 25): 0,
(16, 26): 0,
(16, 27): 0,
(16, 28): 0,
(16, 29): 0,
(16, 30): 0,
(16, 31): 0,
(16, 32): 0,
(16, 33): 0,
(16, 34): 0,
(16, 35): 0,
(16, 36): 0,
(16, 37): 0,
(16, 38): 0,
(16, 39): 0,
(16, 40): 0,
(16, 41): 0,
(16, 42): 0,
(16, 43): 0,
(16, 44): 0,
(16, 45): 0,
(16, 46): 0,
(16, 47): 0,
(16, 48): 0,
(16, 49): 0,
(16, 50): 0,
(16, 51): 0,
(16, 52): 0,
(16, 53): 0,
(16, 54): 0,
(16, 55): 0,
(16, 56): 0,
(16, 57): 0,
(16, 58): 0,
(16, 59): 0,
(16, 60): 1,
(16, 61): 1,
(16, 62): 1,
(16, 63): 1,
(15, 0): 1,
(15, 1): 1,
(15, 2): 1,
(15, 3): 1,
(15, 4): 1,
(15, 5): 0,
(15, 6): 0,
(15, 7): 0,
(15, 8): 0,
(15, 9): 0,
(15, 10): 0,
(15, 11): 0,
(15, 12): 0,
(15, 13): 0,
(15, 14): 0,
(15, 15): 0,
(15, 16): 0,
(15, 17): 0,
(15, 18): 0,
(15, 19): 0,
(15, 20): 0,
(15, 21): 0,
(15, 22): 0,
(15, 23): 0,
(15, 24): 0,
(15, 25): 0,
(15, 26): 0,
(15, 27): 0,
(15, 28): 0,
(15, 29): 0,
(15, 30): 0,
(15, 31): 0,
(15, 32): 0,
(15, 33): 0,
(15, 34): 0,
(15, 35): 0,
(15, 36): 0,
(15, 37): 0,
(15, 38): 0,
(15, 39): 0,
(15, 40): 0,
(15, 41): 0,
(15, 42): 0,
(15, 43): 0,
(15, 44): 0,
(15, 45): 0,
(15, 46): 0,
(15, 47): 0,
(15, 48): 0,
(15, 49): 0,
(15, 50): 0,
(15, 51): 0,
(15, 52): 0,
(15, 53): 0,
(15, 54): 0,
(15, 55): 0,
(15, 56): 0,
(15, 57): 0,
(15, 58): 0,
(15, 59): 1,
(15, 60): 1,
(15, 61): 1,
(15, 62): 1,
(15, 63): 1,
(14, 0): 1,
(14, 1): 1,
(14, 2): 1,
(14, 3): 1,
(14, 4): 1,
(14, 5): 0,
(14, 6): 0,
(14, 7): 0,
(14, 8): 0,
(14, 9): 0,
(14, 10): 0,
(14, 11): 0,
(14, 12): 0,
(14, 13): 0,
(14, 14): 0,
(14, 15): 0,
(14, 16): 0,
(14, 17): 0,
(14, 18): 0,
(14, 19): 0,
(14, 20): 0,
(14, 21): 0,
(14, 22): 0,
(14, 23): 0,
(14, 24): 0,
(14, 25): 0,
(14, 26): 0,
(14, 27): 0,
(14, 28): 0,
(14, 29): 0,
(14, 30): 0,
(14, 31): 0,
(14, 32): 0,
(14, 33): 0,
(14, 34): 0,
(14, 35): 0,
(14, 36): 0,
(14, 37): 0,
(14, 38): 0,
(14, 39): 0,
(14, 40): 0,
(14, 41): 0,
(14, 42): 0,
(14, 43): 0,
(14, 44): 0,
(14, 45): 0,
(14, 46): 0,
(14, 47): 0,
(14, 48): 0,
(14, 49): 0,
(14, 50): 0,
(14, 51): 0,
(14, 52): 0,
(14, 53): 0,
(14, 54): 0,
(14, 55): 0,
(14, 56): 0,
(14, 57): 0,
(14, 58): 0,
(14, 59): 1,
(14, 60): 1,
(14, 61): 1,
(14, 62): 1,
(14, 63): 1,
(13, 0): 1,
(13, 1): 1,
(13, 2): 1,
(13, 3): 1,
(13, 4): 1,
(13, 5): 1,
(13, 6): 0,
(13, 7): 0,
(13, 8): 0,
(13, 9): 0,
(13, 10): 0,
(13, 11): 0,
(13, 12): 0,
(13, 13): 0,
(13, 14): 0,
(13, 15): 0,
(13, 16): 0,
(13, 17): 0,
(13, 18): 0,
(13, 19): 0,
(13, 20): 0,
(13, 21): 0,
(13, 22): 0,
(13, 23): 0,
(13, 24): 0,
(13, 25): 0,
(13, 26): 0,
(13, 27): 0,
(13, 28): 0,
(13, 29): 0,
(13, 30): 0,
(13, 31): 0,
(13, 32): 0,
(13, 33): 0,
(13, 34): 0,
(13, 35): 0,
(13, 36): 0,
(13, 37): 0,
(13, 38): 0,
(13, 39): 0,
(13, 40): 0,
(13, 41): 0,
(13, 42): 0,
(13, 43): 0,
(13, 44): 0,
(13, 45): 0,
(13, 46): 0,
(13, 47): 0,
(13, 48): 0,
(13, 49): 0,
(13, 50): 0,
(13, 51): 0,
(13, 52): 0,
(13, 53): 0,
(13, 54): 0,
(13, 55): 0,
(13, 56): 0,
(13, 57): 0,
(13, 58): 1,
(13, 59): 1,
(13, 60): 1,
(13, 61): 1,
(13, 62): 1,
(13, 63): 1,
(12, 0): 1,
(12, 1): 1,
(12, 2): 1,
(12, 3): 1,
(12, 4): 1,
(12, 5): 1,
(12, 6): 1,
(12, 7): 0,
(12, 8): 0,
(12, 9): 0,
(12, 10): 0,
(12, 11): 0,
(12, 12): 0,
(12, 13): 0,
(12, 14): 0,
(12, 15): 0,
(12, 16): 0,
(12, 17): 0,
(12, 18): 0,
(12, 19): 0,
(12, 20): 0,
(12, 21): 0,
(12, 22): 0,
(12, 23): 0,
(12, 24): 0,
(12, 25): 0,
(12, 26): 0,
(12, 27): 0,
(12, 28): 0,
(12, 29): 0,
(12, 30): 0,
(12, 31): 0,
(12, 32): 0,
(12, 33): 0,
(12, 34): 0,
(12, 35): 0,
(12, 36): 0,
(12, 37): 0,
(12, 38): 0,
(12, 39): 0,
(12, 40): 0,
(12, 41): 0,
(12, 42): 0,
(12, 43): 0,
(12, 44): 0,
(12, 45): 0,
(12, 46): 0,
(12, 47): 0,
(12, 48): 0,
(12, 49): 0,
(12, 50): 0,
(12, 51): 0,
(12, 52): 0,
(12, 53): 0,
(12, 54): 0,
(12, 55): 0,
(12, 56): 0,
(12, 57): 1,
(12, 58): 1,
(12, 59): 1,
(12, 60): 1,
(12, 61): 1,
(12, 62): 1,
(12, 63): 1,
(11, 0): 1,
(11, 1): 1,
(11, 2): 1,
(11, 3): 1,
(11, 4): 1,
(11, 5): 1,
(11, 6): 1,
(11, 7): 0,
(11, 8): 0,
(11, 9): 0,
(11, 10): 0,
(11, 11): 0,
(11, 12): 0,
(11, 13): 0,
(11, 14): 0,
(11, 15): 0,
(11, 16): 0,
(11, 17): 0,
(11, 18): 0,
(11, 19): 0,
(11, 20): 0,
(11, 21): 0,
(11, 22): 0,
(11, 23): 0,
(11, 24): 0,
(11, 25): 0,
(11, 26): 0,
(11, 27): 0,
(11, 28): 0,
(11, 29): 0,
(11, 30): 0,
(11, 31): 0,
(11, 32): 0,
(11, 33): 0,
(11, 34): 0,
(11, 35): 0,
(11, 36): 0,
(11, 37): 0,
(11, 38): 0,
(11, 39): 0,
(11, 40): 0,
(11, 41): 0,
(11, 42): 0,
(11, 43): 0,
(11, 44): 0,
(11, 45): 0,
(11, 46): 0,
(11, 47): 0,
(11, 48): 0,
(11, 49): 0,
(11, 50): 0,
(11, 51): 0,
(11, 52): 0,
(11, 53): 0,
(11, 54): 0,
(11, 55): 0,
(11, 56): 0,
(11, 57): 1,
(11, 58): 1,
(11, 59): 1,
(11, 60): 1,
(11, 61): 1,
(11, 62): 1,
(11, 63): 1,
(10, 0): 1,
(10, 1): 1,
(10, 2): 1,
(10, 3): 1,
(10, 4): 1,
(10, 5): 1,
(10, 6): 1,
(10, 7): 1,
(10, 8): 0,
(10, 9): 0,
(10, 10): 0,
(10, 11): 0,
(10, 12): 0,
(10, 13): 0,
(10, 14): 0,
(10, 15): 0,
(10, 16): 0,
(10, 17): 0,
(10, 18): 0,
(10, 19): 0,
(10, 20): 0,
(10, 21): 0,
(10, 22): 0,
(10, 23): 0,
(10, 24): 0,
(10, 25): 0,
(10, 26): 0,
(10, 27): 0,
(10, 28): 0,
(10, 29): 0,
(10, 30): 0,
(10, 31): 0,
(10, 32): 0,
(10, 33): 0,
(10, 34): 0,
(10, 35): 0,
(10, 36): 0,
(10, 37): 0,
(10, 38): 0,
(10, 39): 0,
(10, 40): 0,
(10, 41): 0,
(10, 42): 0,
(10, 43): 0,
(10, 44): 0,
(10, 45): 0,
(10, 46): 0,
(10, 47): 0,
(10, 48): 0,
(10, 49): 0,
(10, 50): 0,
(10, 51): 0,
(10, 52): 0,
(10, 53): 0,
(10, 54): 0,
(10, 55): 0,
(10, 56): 1,
(10, 57): 1,
(10, 58): 1,
(10, 59): 1,
(10, 60): 1,
(10, 61): 1,
(10, 62): 1,
(10, 63): 1,
(9, 0): 1,
(9, 1): 1,
(9, 2): 1,
(9, 3): 1,
(9, 4): 1,
(9, 5): 1,
(9, 6): 1,
(9, 7): 1,
(9, 8): 1,
(9, 9): 0,
(9, 10): 0,
(9, 11): 0,
(9, 12): 0,
(9, 13): 0,
(9, 14): 0,
(9, 15): 0,
(9, 16): 0,
(9, 17): 0,
(9, 18): 0,
(9, 19): 0,
(9, 20): 0,
(9, 21): 0,
(9, 22): 0,
(9, 23): 0,
(9, 24): 0,
(9, 25): 0,
(9, 26): 0,
(9, 27): 0,
(9, 28): 0,
(9, 29): 1,
(9, 30): 0,
(9, 31): 0,
(9, 32): 0,
(9, 33): 0,
(9, 34): 0,
(9, 35): 0,
(9, 36): 0,
(9, 37): 1,
(9, 38): 1,
(9, 39): 0,
(9, 40): 0,
(9, 41): 0,
(9, 42): 0,
(9, 43): 1,
(9, 44): 1,
(9, 45): 0,
(9, 46): 0,
(9, 47): 0,
(9, 48): 0,
(9, 49): 0,
(9, 50): 0,
(9, 51): 0,
(9, 52): 0,
(9, 53): 0,
(9, 54): 0,
(9, 55): 1,
(9, 56): 1,
(9, 57): 1,
(9, 58): 1,
(9, 59): 1,
(9, 60): 1,
(9, 61): 1,
(9, 62): 1,
(9, 63): 1,
(8, 0): 1,
(8, 1): 1,
(8, 2): 1,
(8, 3): 1,
(8, 4): 1,
(8, 5): 1,
(8, 6): 1,
(8, 7): 1,
(8, 8): 1,
(8, 9): 1,
(8, 10): 0,
(8, 11): 0,
(8, 12): 0,
(8, 13): 0,
(8, 14): 0,
(8, 15): 0,
(8, 16): 0,
(8, 17): 0,
(8, 18): 0,
(8, 19): 0,
(8, 20): 0,
(8, 21): 0,
(8, 22): 1,
(8, 23): 1,
(8, 24): 1,
(8, 25): 1,
(8, 26): 0,
(8, 27): 1,
(8, 28): 1,
(8, 29): 1,
(8, 30): 1,
(8, 31): 1,
(8, 32): 0,
(8, 33): 1,
(8, 34): 1,
(8, 35): 1,
(8, 36): 0,
(8, 37): 1,
(8, 38): 0,
(8, 39): 0,
(8, 40): 1,
(8, 41): 1,
(8, 42): 0,
(8, 43): 0,
(8, 44): 1,
(8, 45): 0,
(8, 46): 0,
(8, 47): 1,
(8, 48): 0,
(8, 49): 1,
(8, 50): 1,
(8, 51): 0,
(8, 52): 0,
(8, 53): 0,
(8, 54): 1,
(8, 55): 1,
(8, 56): 1,
(8, 57): 1,
(8, 58): 1,
(8, 59): 1,
(8, 60): 1,
(8, 61): 1,
(8, 62): 1,
(8, 63): 1,
(7, 0): 1,
(7, 1): 1,
(7, 2): 1,
(7, 3): 1,
(7, 4): 1,
(7, 5): 1,
(7, 6): 1,
(7, 7): 1,
(7, 8): 1,
(7, 9): 1,
(7, 10): 1,
(7, 11): 0,
(7, 12): 0,
(7, 13): 0,
(7, 14): 0,
(7, 15): 0,
(7, 16): 0,
(7, 17): 1,
(7, 18): 0,
(7, 19): 0,
(7, 20): 1,
(7, 21): 0,
(7, 22): 0,
(7, 23): 1,
(7, 24): 0,
(7, 25): 0,
(7, 26): 0,
(7, 27): 1,
(7, 28): 0,
(7, 29): 0,
(7, 30): 0,
(7, 31): 1,
(7, 32): 0,
(7, 33): 0,
(7, 34): 0,
(7, 35): 1,
(7, 36): 1,
(7, 37): 1,
(7, 38): 1,
(7, 39): 0,
(7, 40): 0,
(7, 41): 1,
(7, 42): 1,
(7, 43): 0,
(7, 44): 1,
(7, 45): 1,
(7, 46): 0,
(7, 47): 1,
(7, 48): 1,
(7, 49): 1,
(7, 50): 0,
(7, 51): 0,
(7, 52): 0,
(7, 53): 1,
(7, 54): 1,
(7, 55): 1,
(7, 56): 1,
(7, 57): 1,
(7, 58): 1,
(7, 59): 1,
(7, 60): 1,
(7, 61): 1,
(7, 62): 1,
(7, 63): 1,
(6, 0): 1,
(6, 1): 1,
(6, 2): 1,
(6, 3): 1,
(6, 4): 1,
(6, 5): 1,
(6, 6): 1,
(6, 7): 1,
(6, 8): 1,
(6, 9): 1,
(6, 10): 1,
(6, 11): 1,
(6, 12): 1,
(6, 13): 0,
(6, 14): 0,
(6, 15): 0,
(6, 16): 1,
(6, 17): 1,
(6, 18): 0,
(6, 19): 1,
(6, 20): 1,
(6, 21): 0,
(6, 22): 1,
(6, 23): 1,
(6, 24): 1,
(6, 25): 1,
(6, 26): 1,
(6, 27): 1,
(6, 28): 0,
(6, 29): 1,
(6, 30): 0,
(6, 31): 1,
(6, 32): 1,
(6, 33): 1,
(6, 34): 0,
(6, 35): 0,
(6, 36): 0,
(6, 37): 0,
(6, 38): 1,
(6, 39): 1,
(6, 40): 0,
(6, 41): 0,
(6, 42): 1,
(6, 43): 0,
(6, 44): 0,
(6, 45): 1,
(6, 46): 0,
(6, 47): 0,
(6, 48): 1,
(6, 49): 0,
(6, 50): 0,
(6, 51): 1,
(6, 52): 1,
(6, 53): 1,
(6, 54): 1,
(6, 55): 1,
(6, 56): 1,
(6, 57): 1,
(6, 58): 1,
(6, 59): 1,
(6, 60): 1,
(6, 61): 1,
(6, 62): 1,
(6, 63): 1,
(5, 0): 1,
(5, 1): 1,
(5, 2): 1,
(5, 3): 1,
(5, 4): 1,
(5, 5): 1,
(5, 6): 1,
(5, 7): 1,
(5, 8): 1,
(5, 9): 1,
(5, 10): 1,
(5, 11): 1,
(5, 12): 1,
(5, 13): 1,
(5, 14): 0,
(5, 15): 1,
(5, 16): 1,
(5, 17): 0,
(5, 18): 0,
(5, 19): 1,
(5, 20): 0,
(5, 21): 0,
(5, 22): 0,
(5, 23): 0,
(5, 24): 0,
(5, 25): 1,
(5, 26): 0,
(5, 27): 0,
(5, 28): 0,
(5, 29): 1,
(5, 30): 0,
(5, 31): 0,
(5, 32): 0,
(5, 33): 1,
(5, 34): 0,
(5, 35): 1,
(5, 36): 1,
(5, 37): 0,
(5, 38): 1,
(5, 39): 0,
(5, 40): 0,
(5, 41): 1,
(5, 42): 1,
(5, 43): 1,
(5, 44): 0,
(5, 45): 1,
(5, 46): 1,
(5, 47): 0,
(5, 48): 1,
(5, 49): 0,
(5, 50): 1,
(5, 51): 1,
(5, 52): 1,
(5, 53): 1,
(5, 54): 1,
(5, 55): 1,
(5, 56): 1,
(5, 57): 1,
(5, 58): 1,
(5, 59): 1,
(5, 60): 1,
(5, 61): 1,
(5, 62): 1,
(5, 63): 1,
(4, 0): 1,
(4, 1): 1,
(4, 2): 1,
(4, 3): 1,
(4, 4): 1,
(4, 5): 1,
(4, 6): 1,
(4, 7): 1,
(4, 8): 1,
(4, 9): 1,
(4, 10): 1,
(4, 11): 1,
(4, 12): 1,
(4, 13): 1,
(4, 14): 1,
(4, 15): 1,
(4, 16): 0,
(4, 17): 0,
(4, 18): 1,
(4, 19): 1,
(4, 20): 1,
(4, 21): 1,
(4, 22): 1,
(4, 23): 1,
(4, 24): 0,
(4, 25): 1,
(4, 26): 0,
(4, 27): 1,
(4, 28): 1,
(4, 29): 1,
(4, 30): 1,
(4, 31): 1,
(4, 32): 0,
(4, 33): 0,
(4, 34): 0,
(4, 35): 0,
(4, 36): 1,
(4, 37): 1,
(4, 38): 1,
(4, 39): 1,
(4, 40): 0,
(4, 41): 1,
(4, 42): 0,
(4, 43): 1,
(4, 44): 0,
(4, 45): 1,
(4, 46): 0,
(4, 47): 0,
(4, 48): 1,
(4, 49): 1,
(4, 50): 1,
(4, 51): 1,
(4, 52): 1,
(4, 53): 1,
(4, 54): 1,
(4, 55): 1,
(4, 56): 1,
(4, 57): 1,
(4, 58): 1,
(4, 59): 1,
(4, 60): 1,
(4, 61): 1,
(4, 62): 1,
(4, 63): 1,
(3, 0): 1,
(3, 1): 1,
(3, 2): 1,
(3, 3): 1,
(3, 4): 1,
(3, 5): 1,
(3, 6): 1,
(3, 7): 1,
(3, 8): 1,
(3, 9): 1,
(3, 10): 1,
(3, 11): 1,
(3, 12): 1,
(3, 13): 1,
(3, 14): 1,
(3, 15): 1,
(3, 16): 1,
(3, 17): 0,
(3, 18): 0,
(3, 19): 0,
(3, 20): 0,
(3, 21): 1,
(3, 22): 0,
(3, 23): 1,
(3, 24): 0,
(3, 25): 1,
(3, 26): 0,
(3, 27): 0,
(3, 28): 0,
(3, 29): 0,
(3, 30): 0,
(3, 31): 1,
(3, 32): 1,
(3, 33): 1,
(3, 34): 1,
(3, 35): 0,
(3, 36): 0,
(3, 37): 0,
(3, 38): 0,
(3, 39): 1,
(3, 40): 0,
(3, 41): 1,
(3, 42): 0,
(3, 43): 0,
(3, 44): 0,
(3, 45): 1,
(3, 46): 0,
(3, 47): 1,
(3, 48): 1,
(3, 49): 1,
(3, 50): 1,
(3, 51): 1,
(3, 52): 1,
(3, 53): 1,
(3, 54): 1,
(3, 55): 1,
(3, 56): 1,
(3, 57): 1,
(3, 58): 1,
(3, 59): 1,
(3, 60): 1,
(3, 61): 1,
(3, 62): 1,
(3, 63): 1,
(2, 0): 1,
(2, 1): 1,
(2, 2): 1,
(2, 3): 1,
(2, 4): 1,
(2, 5): 1,
(2, 6): 1,
(2, 7): 1,
(2, 8): 1,
(2, 9): 1,
(2, 10): 1,
(2, 11): 1,
(2, 12): 1,
(2, 13): 1,
(2, 14): 1,
(2, 15): 1,
(2, 16): 1,
(2, 17): 1,
(2, 18): 1,
(2, 19): 1,
(2, 20): 0,
(2, 21): 0,
(2, 22): 0,
(2, 23): 1,
(2, 24): 0,
(2, 25): 1,
(2, 26): 1,
(2, 27): 1,
(2, 28): 0,
(2, 29): 1,
(2, 30): 1,
(2, 31): 1,
(2, 32): 0,
(2, 33): 0,
(2, 34): 1,
(2, 35): 0,
(2, 36): 1,
(2, 37): 1,
(2, 38): 1,
(2, 39): 1,
(2, 40): 0,
(2, 41): 1,
(2, 42): 1,
(2, 43): 0,
(2, 44): 1,
(2, 45): 1,
(2, 46): 1,
(2, 47): 1,
(2, 48): 1,
(2, 49): 1,
(2, 50): 1,
(2, 51): 1,
(2, 52): 1,
(2, 53): 1,
(2, 54): 1,
(2, 55): 1,
(2, 56): 1,
(2, 57): 1,
(2, 58): 1,
(2, 59): 1,
(2, 60): 1,
(2, 61): 1,
(2, 62): 1,
(2, 63): 1,
(1, 0): 1,
(1, 1): 1,
(1, 2): 1,
(1, 3): 1,
(1, 4): 1,
(1, 5): 1,
(1, 6): 1,
(1, 7): 1,
(1, 8): 1,
(1, 9): 1,
(1, 10): 1,
(1, 11): 1,
(1, 12): 1,
(1, 13): 1,
(1, 14): 1,
(1, 15): 1,
(1, 16): 1,
(1, 17): 1,
(1, 18): 1,
(1, 19): 1,
(1, 20): 1,
(1, 21): 1,
(1, 22): 0,
(1, 23): 1,
(1, 24): 0,
(1, 25): 0,
(1, 26): 0,
(1, 27): 1,
(1, 28): 0,
(1, 29): 1,
(1, 30): 0,
(1, 31): 1,
(1, 32): 0,
(1, 33): 1,
(1, 34): 1,
(1, 35): 0,
(1, 36): 1,
(1, 37): 0,
(1, 38): 0,
(1, 39): 0,
(1, 40): 0,
(1, 41): 0,
(1, 42): 1,
(1, 43): 1,
(1, 44): 1,
(1, 45): 1,
(1, 46): 1,
(1, 47): 1,
(1, 48): 1,
(1, 49): 1,
(1, 50): 1,
(1, 51): 1,
(1, 52): 1,
(1, 53): 1,
(1, 54): 1,
(1, 55): 1,
(1, 56): 1,
(1, 57): 1,
(1, 58): 1,
(1, 59): 1,
(1, 60): 1,
(1, 61): 1,
(1, 62): 1,
(1, 63): 1,
(0, 0): 1,
(0, 1): 1,
(0, 2): 1,
(0, 3): 1,
(0, 4): 1,
(0, 5): 1,
(0, 6): 1,
(0, 7): 1,
(0, 8): 1,
(0, 9): 1,
(0, 10): 1,
(0, 11): 1,
(0, 12): 1,
(0, 13): 1,
(0, 14): 1,
(0, 15): 1,
(0, 16): 1,
(0, 17): 1,
(0, 18): 1,
(0, 19): 1,
(0, 20): 1,
(0, 21): 1,
(0, 22): 1,
(0, 23): 1,
(0, 24): 1,
(0, 25): 1,
(0, 26): 0,
(0, 27): 1,
(0, 28): 0,
(0, 29): 1,
(0, 30): 0,
(0, 31): 0,
(0, 32): 0,
(0, 33): 0,
(0, 34): 0,
(0, 35): 0,
(0, 36): 1,
(0, 37): 0,
(0, 38): 1,
(0, 39): 1,
(0, 40): 1,
(0, 41): 1,
(0, 42): 1,
(0, 43): 1,
(0, 44): 1,
(0, 45): 1,
(0, 46): 1,
(0, 47): 1,
(0, 48): 1,
(0, 49): 1,
(0, 50): 1,
(0, 51): 1,
(0, 52): 1,
(0, 53): 1,
(0, 54): 1,
(0, 55): 1,
(0, 56): 1,
(0, 57): 1,
(0, 58): 1,
(0, 59): 1,
(0, 60): 1,
(0, 61): 1,
(0, 62): 1,
(0, 63): 1}

a ,b = map(int, input().split())

if mapka[(a,b)] == 1:
    print("OUT")
else:
    print("IN")