0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-21 05:45:25 +00:00
OI-codes/S2OJ/1731/data/monkey10.in

2 lines
977 KiB (Stored with Git LFS)
Plaintext

1101010011101000101011110000100010111010000111100000000000000011100001100110010011011011110010011000111011010111111111101000100101101111000001010111000111101011111001100011101100011011111011011100000110010111000101001011101010001110110000110000000001000011000100001110001011111010110101001000100111111100011001001010011100110011000100010111001011001001011000101001001101100101110100100011100110001111001011110011010011110101111100001111110111010110011100100110000010111111101110100101001010110111101101011001101001011111011111001101100000101011110111100110001100001010100111010100101001100000100011111110100111100010101001101011010011010111111111110000110110101100111010111100011001011011100111100011000001001010000110010001001011011010111100101010010010101110101111010101101111111100100011101111010011011101100010011110100000111001111100001001011100100011110010000001111011111110100011010000110011110110000001011111111000010101110010011010010111010000001010001011100101101100110010101111100000001100010100000011011111100100100110001111011111011100011010100110111000000010101011100110001001000001111110101110100010001000110100111110101100011101010010010011000010011011110110101000101011111010001001100010010010001110100101011010101101100111111110011100000001010100100001110010001011010100011111010101000110010101011110010111011111000011110001000010101110101101110111011010100000101011100011111001011010010001001101010001000110001000010101011011100101001110000000100111011000101110110101100000001011011001001010000000100110001110011110110100001111100101000000110100101001011010110111011110010111111100100110100101100001110101100010011110011100011100100011111011011011111011000100011101111110101010100011101100000101101100010100000101111110100101101110001011100111110100001110010101010111111110000011111100001100100001100101000100100100010110001000110101101011100100001010011000100010001001000010110110000000111010111011111011111010011011010111010111010010011101011110110010101111101011111001010101000000010101001110000001100001101100110001001010010111101001010010010111011001101011001101101011110001001111101000100101110101000110000000111010100111110011001101001010001100101000101100000000011100000111011011111001111010111000110011111100111100010100001101011100110000011000100100001100100001111101010000001110110011000001001001100111000000110101011010110011100110000000011011111011001011101110110000100111111100110001101110010111010101100001000011010010001010010000101010010001001110100001000101010010111001001011011000001111100111101111111111111111110111111011111011111111111111100101111011111111111111011111111111101111111110111111111111111111111111111111101110111110111110111101111101110111011111111111111101010111110111111111111111111111111111111011111111111111111110111011011111111111001111101111111111111111111101111111110111111111111101011111101011011011111111111111111111111111111111111111111111111110111011111011111111011011111111111111111111111111111111111111101111111111110111110111111111111111101111110101110111111111111011111111111111111111111111011111111111111111111111111111111010111001111111111111111111111111011011111011011111111111111111111110111111111111111111111111111011111110111111111111111111111111110101111100111111110011111001111111111111111111110111111001111111100111111111111101111101101111111111111111101110111101111111111111101100111011111111111111111111101111111111111111111111011110111111110111111111111111111101111111011111110111011011111011111101111111011111110101111111011101111101011101111110111111111111111011111111111111111111111111111111111101111011111111010111111111111111101111111111111111111111111111111111111110111011111011111110111111111111111111111111111111111111011111111111110111101111111111111111011111111111101011111110001111111011110011011110111111111101111111111111111111111111101111111111111111001111111111110111001111111111111101101111111111111111111111111111111111111111111111110111111111111111101111011111111101110111110111111110111001111111011111111111111111111011111111111111111111111011110111111111010111111110110111111011111111111111111111001110011101111111111111111111011111111101111111111110111110011111111011111111111111111111111110111111111101111111111111111111101111111111101111111111111011111101111111110111111111111101111111111111111111111110111111111111111111111101111100111111111011101111111111111111111111111001111011011111110111101111111111011111111111001111111011111111111111111011111011101101111101101100111111111111111111111001111111101111111111111111111111111111111111111011111111101010111111111011111111111111011101111001111111111111011111111011110111111111011111111011111111111101111111001111111111101111111111110111111110111111110110111111111111111111111111111111111111111111110010111111111111111111111111111101111111111111111110111111011111111111111111111111111101110101111111111110111111101111111111111101111111111111111111110111101111110111111111111101111111111110111111111101111111111111111111111111111111101010111111111111101111011111111111111111110111111011111101111101111111111111111111111111111111101111111111110111111111100111111111111111111111111111111111111111111111110111111110011101111101111111111111111111111111110011111111011111111011111111111111111011111111111110111111111111111111111111110011111110111111101101011111111111110110110011111101111111111111111011111111110101111111111111111111111111111111111111111111101101111110011111110111111011111111111111111111111111111111111101111010111111111111111111111111111111111110111111110111111110011111100011111111111111111111111111111110111111111111101111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111101011111011101111111111111111111111011111111111111111111101111111111111111011101111111111011111111111111111011111111111111111011111111101111111101111111111101111111111111111111111111111111111111111111011111110111111011111111111111111111111001111111101111101111111110101111111110111111111100111011110111110111111111111111111111111101111010011110111111111011110011011111011111111011111111111111111111111101111111101111111111100111111111111111111110101111110111111110100111110111101111111101111111111111111111101111111111111011001111111101111111110011101101111101110011111111110011101111111111111111011111111111101111111110111111111111011111111111111111111110111111111111011111111111111111110111111111110111111111111000011111111000111111111111110001111111111111111111111110111111111110111111111110111111111111111111111101111110101111111111111101110111111111111111110101110111111111111101111111111111111110111111111111110111111111110111111111101111111111111100111011111101111111111110111111011101111110111111101111111001111111111111111111110111101111111111101111011111111111111111111110111111111111111101011111110011101111111111111101111111111111111110111111011111101111111110111011111111111011110111011111110011011111111111010111111111111110111011111011111111111111101111111111111111011011111111111111111101111111111110111011111111111110111111111111101101101111111101101111111111111111111110011001111111111110001101111111111111111111101111111111111111111111111111101101111111101111111111111111111011111111111111111111011111111111011111010111111111111111011111101101111111111101111111111111111101111011111110111111111111111111111111111111111110001111111111111111111011111111111111111111111111111111011111111111111111001111110111111111111101111111111110111111111111110110111111111111110111111111111111111111100001111111111111111011111111111111111011110111111011111111101111111111111011111101111110111111111111111111111111111111111111111111111111111101110111111111111111111111111111110110011111111111101111111111111111111110111111110111110011111111111111111111110110111111111111111011111111111100111111101111111111111111111111111111011111111111111111111111111111101110111111111110011111111111111111111111111111111111110011111111110111011101111111111111111111111111111111111111110111111101110110111111111011111111111111111111111111111111111111111111011111111111111111111111111111011111111111110100111111011111011111111111111111110111111111010111111111101111101111111011111111111111111111011111111011101101011111111111111110111011100111111110111111111111111111111111111011111111101111111111111111111111111111111011111111011111111101110111111111111111011110111111111111111111111111111111011111110111111111111111111111101111111110111111111011011110111110111011111101110111111001011111111110111111111111111111111111111111111111110111111111111011111111111111111111011111111101111001111111110101111010111111111111111111111111111111111111111011101111111111111111111101011101111111011011011111111111111011111011011101111111111111111111111110111111111111111111111110111111111111111111010111011111111111111110111111111111101111111111111110111111011111111111111100111110111111111111101111111111111010111111110111011111111111111111111111111111111111111101111111101111111111111111111101011110101111110111111011111111111111011111111111111110111110111010111111011111111111111111111111110110101111111011111100111111111111111111111111110111111111111110111111111110111011111111111111101110111110111111111111111011111111011111111111111111111111011011111111110111101111111111111111111011011111010111111111011011111101111111111111111101001111111101110110111111111111111011110111111111110101111111110110111111111111111111111111111111110101111110011111111111101111110111110111101110111111111111101110111111111110111111011111111101111101101111111111111111111111111110111111111011111110111101010101111111111111111111111111110111011110111111111110011111111111111111111111111111111111111111011111111101111111111011111011110111111101111111111111001111111111111011111111111111101101111111111111110111110110111110111110111111111101111111111111111111111111111111111111110111111111011111111111111111111111110110110111110111110111111111111111011111111111111111111111111111111111111010111110111101111111111111111111111111111111111110111101111111111111111111111101111101111111111111111111111111111111111111111011111100111111111111101111111111111111111111001110111111111111111111110001111111110111111110111110111111111111111101111101111111011111111110011111111111111111111111111101111111111011111011111001111111111011111111111111111101111111101111111111101111111111111011111111110111110111011110111111110110111110111111011111111111110101111111101101111011111000111111111011111111101111101110101111111110111111101111111101011111111111011101111111101111111111111110111111111111111111111110111110111111111111111101101111111011111111101111011100111111110111111111111111111111111111111111111111000111111110011111101111111111111111111100111101111011110111111111111111111011111110110111111011011011111111111111111111111111111111110110011111110111111111111011111101111011111111101111101111111111111111111110111111111101011111110111111111111111111111111011111111111111111111111111111111111111111110111111111111111111010111111111111111111111110011111111111111111111111011111101111111111111111011110110111101111111111111111101111111111111111111111111111111111111111111111111111111110111111111111111111111111111111110111111111111111011111111111111111111011110111111111111111111111101111111111111111110111111111011111011111111101111111111110011101111111110111111111111101011111101001111101111111111111111111111101101111111111111111011111111111111111111101101111111111111111011111111011111011111111001111011110111111111101111110110011111110111011111111111111110111101111101111111011111111011110111111111111111111111111011111111111111111111110111011101111110111111101111110111111111111110111111111111110111111111100111111111101111100111111111111101111111111111101111111111111111111101111111111111111111110111111111111011111011111111111111111111011111011111110111111111110110111111111110111111111101111110111110111111111111111111111101110111111101111111111111111111101111100111011101111111111110111101111111111111111111011111111111111111111111111011011111111111111110111110101111011111111111111111101111111101111101111101111100111111111101111111011111111111111001111101111110111011111111110110101111111111111111110101111111111111111111111111101010111111111111111111111111111111011110111111111111011111111111111111101111111111111111111101111110011001101111110110111111111101011110111111111111101110111111111111111111010111111101110111110111111111111110111110111111101011111111011100111111011111111111111101111111110111111101111001101111110111011111111111011111111111111111111111111101111111111111111111111111111111011111111110111111111111111101111101111111111111111011101111111111111110111111111111110111101111110110111111111101111111111111111111111111110111111010110111111111011111111110111111111110111011111111111100101111011011111101111111111110111111110111111111111111111011101101111111111101111111111111111110101101111111111011101111110111111111111011111111011111110111111110111011101111111111111100111101011101110111111011101110111011101110111111111111111111111111111111111111111111110111111111111101101111110111111111111111111110111111111111111111111111111011111011111111111111111110101111111111111110110111111111101101110101111111011111111111101111111111110110111111111111111111111111011111111111111110101110111011111111111111111111111111110101111111101111011111011110111111111111111111111011110011111111111111111111111111110111111111111111111111111111111111111011111111111110111111111111110111111111011111101111101111110111011111111101111111111111111101111111111111111111011111111111111101111101111111111101111110110111111111111111111111111111001111111101111101111111111111101111111111111111011011011111111111111111101111101111101011111111110111111111101111111111111111001111111111111011010111111111101111111111111111111111011111111111110111111101111111111111111111111000111111111111111111111100101111110111111111111011111011101111111011111111101111111111111111110110111111111011111011111111111111111110011110111110101111110101111101111111111111111011101111111111111111111111101111111111111111111111111111111111111011101111111111111111111111111111110111111111111111111101111111111111111111111001111111101111110101011101111011111110111101111111111111111011001111101111111111111111111111111110111111111101110111111111110110111111111111111101111111111111111111111111111111111111111101111111111111111111111111111101111111111110111111111111111101111111111111111111111111111101111111111011111100011111111111100111111111111111110111111111111111111110111111111111101110111101101101111111111111110111101111011111111111011111111111111111111111111111111101111111111111011111111110111111101011011111111111110111111111111111111111111111111111111111111111101111110101111110111111110111111111111111111111111111111111111111110111111100011101111011111101111111111010111111111111110111001110111011111111111111111111111111111111111111111110111111111111111101101111111010111111110111101111110110111111111111111111110011111111110111111111011111111111111111011111111101111111101111011101111111111111101111111111111101111011101111111011110111111111101111011111111111111110111110111101101111111111111110101101110111111111111111111111111111111111101111111111111111111111111111111111111111111111111011111111111111111111111111111101001111111111111110111111111111001111111111111111111101111111110011111111110011111111111111111110111111110011111111011001110111111111111111111111111111110111111111111111111110111111101111111111111111111101101111111101111111111111010111111111110110011111111111110111110111110111111111111011010111111110111111111111101111111101001111111111111110111111111101111111011111110011111111101011111111111111110111011111111111010011111111111111110111111111111011111111111111111011111111111111111111111110111111110011111111111111111111111111111111111111111111111111111111111111111101011111111111111111111111111111101111111111111111110111111111111111111111111111011111011111111111101010111101111111011110111011011111111111111111110111111111111111101101110111101111110111111111111111111111111011011111011011111111111111111111111101101111111011100111011000111111111111111101111111011111111111110111111111111111111111101111001111101111111111111111011111101111111111111101111110011110111111011111111111111111011111111111111111101111111011111101111100111101111111101011111101110111111111111111111111111011110111101111111101111101111111101111011111111111111111111111111111011111110101111111111111111011111011111111111111110111111111011111011011110101111111111111111111111111111111111111110111101111111111111110111111111111111101111101111101101111111111110111111111111111111111110111111111111111101011111111111111101111111111111111111011111111111111111111011111111111111111111111111111110110111111111111111011111111111111111111111111001111111011111111111111111111111111111111111101111111011111011101111110111111111111111111111111111111101011111111111011111101111111101111111011011101101111110111010111101101111101111111111111100111111111110101111111111011011111111110111111111100111101110110101010111111111111111111111111111011111011111111111101111111001111011101111101110111111011011011011111111110111111000101111111111111110111010111110111111101111111111111111101110111111111111110101111111011111111111111111111111111011111111011111111111101111111111111111111111110111111111101101111111111011111101111111111111101111111111111111011111111111111111011111111111111111101111111111011110111111111111111111110011111111111111111101101110111111111111001111111111111011011111011111011111111101011011111111101111111111111011111111111111111110110111110111010001111110111010111101110110111111111110111111111111111111110111111110101111110111111111111101101111111011011111111111111011101111111111111110111111111111011111111101101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110011111111111111110111111111111111111111110101111111111011111111101111111111111111111111111010111011110111110111111101111011111111111110110111111011111111111111111111011111111111111111111111111111011011111111111111011111111111111111111111111101111101111101111101010110111101111111111111111111111111111110111111011101111110111111111111111111111111011111111111111111111111111111011111110111111111111110111111111111111110111110111111111111111111111111101110111011111111111111111111111111111111111111111111111111111111011111011011111111111111111111001111111111111111111111111110101110100101111111111111011111111011111111101011111111111011111111111111111011111111111111111111111101111111111111101011111111101111110111111111111111101111111111101110111111101111111111111101110011010111101011111111111101111011111111111111111111111111111111111111111011111111111011101111111111111111111111111111111110111111111111111101111110111111111111011111101111101111111011111110110111111011111101111111111111111111111111011011111110111111101111011111111111111111111111111111110101111111111111111111111111110110111100111110111111111111110111110111111011111111111111111110111111101111111111111111111111111010110111101111111111110111111111011111011101111111111111101111111011111011111111111110111111111111111011111111111111111111111111101111111111110111111111011111111011111111111111111110001111111010111111111011111111111111111111111111111011111111111110110111111111111111110111110111111111111111111111110110111111111111101111111111111111111101111011011111111111110111111111100111011010111111100111111111110111011111111111111111011111111101111101111011111111111111111101111111111111101011111010111111111111111111111111111111111111111111111110111101101111110111011111111111111110110101111011011111111011111101111111111111101111011111111101111111111111110111111111111111111111111111011111111011111111101011101111111110111111111111111111111111111111111111111111111111111111111111110111111111111001111111001111011111111111111111001011111111111111111101111101111111111111111101111111011111111111111111111111111110111111111110110111111111111111111011011011111111111111111011111111111111011111111111111111111111111111101001111111111101111101111111111101111111101111111111011111011111011111111111111111111011111111111111111110111111111111101111101011111111111111111111111110111111111111111111111011111011111111111111111111111111110101111111111111111111111110111111110111111111110111111111011111011101111111111111111111111111111111011111111101111011111111111111111111111111101111110111111111101111111111111111111101111101111101111111111111111111111111111111111111111111111101101111111011111111111111111111110111111111111101110111111111111111101111111111101111111101110111111111111011111111111111111111111111111101111111111111101011111111111011111111111101110101101110111111101111111111111011111111111111111111111110111111111111111111111011111111111011111011111111111111111111010101111111001111111111111111001111111111111110111111111101110111111110111111111111111111110111111111111111101111111111111111110111011111111111010111110111101111111111111011111100111111111111101111111111111111100111011111110111101101111111111111111011111111111101111111111111111111011111111110111111111111011011111111111011111111111101111111111111111111111111101110111110111111111111111111111101111111111101111111111111111011011001111111111111011111111110111111110101101111111111011111111110111100111111011111111111011011111111110111111111101111111110111011111011111111111110111111111111111110011111111111111111111110111111111111111111111111111111111111111111110111011111111111111111111111111111110111111111110111111111111011111110111011101111111011101111111111111111110111001111111111101111111110111111111101111111111101111111111111111111111111101101111111111111011111111111101101111111111111101111110001111111111111111011111111111110111111111110111111111111111111111111111111111111111101111111111111111111111101110111111111111111111110111011011111101110111111111111011101111110111110101111111110111011101101111111111111111111111111111011011111111011111111110111011111110111111111110011111111111101111111111111101111111110111111111100111111111111111111111111111111111111111101111111111101111110111111111111111011111111111111011111111111111111101011111111111111111111101110111111111111111111111111101111101101001111111111011111011111111111111111111111011111111111110111111011110111011111111010111110111111101111001110111011111111111111101100111110111111111110111111101111111111111111111111111111101110111111111111111111111111111111111111111111010111111111111111101111111111111111101111111111111111101111111111011111010111111111111111111111111011111111111111111101111101111111111111111111111111111110111011111110111011111101111111111111111101111011110111111111111110111111111111011111111110111111111111011111111110011011111111111111111111111011111111011111111111101111011111111111011111111111111111011111111111110111101011111111111111111111011011011111001111111110111111111111011111011111111111111111111011111111110111111111111111111101111111111111111111111111111111101111111111111011111110111111111111110111111011111111111111111011011111111110111111101111111111111111111111111111110111101111111111111111111111111111111111111111111111111111111111111111111110110101111111111111111111101001011110110111101111111011011111111111111101111111111110111111111110111111111111110111111111111111111111111111101111111111011111111111111111111111111111111111111111011110111111111111111111101111111111111111111111111110011111011011111111111111111111111111111110111111111110111111111111111111111011111111111111110110111110111111111111111111111111101111111011111101111110111111111111011111111111111111111111111111111111111011111111111111111011111011111111111111001111111001110110111110111111111111101010110101111011111111111111111101111111010111111111011011111111111111101111111101111111111011111111111111111111111101110111111110111111111101111111111111101111110111111110111111111111111111101111111110111111110111111111111111110111111111101110111111111111111111111111111111111111101101111110111111111111111011111111111111111111101110111111111110111111111111111101111011110111011111011111101111111111111111111111110110111111101111111111111111100111111111111001111111111111111111111111111101101111010111111111111111111111111011001111101111111110111111111111111111111110110111111111111111111111111111111111111111110111111101111111111111111111111101011111111111111101101111011111111011011111111111111111111111111111110110111111111111011111111111011101111111110011110110111110111111111111111111000111111111111111111111111111111111111111111011111111111111111111111110111111111111101111111111111111111111110111111001111111110111110101111111111111111011111111011101110111111101111111111111111111110111111011101011110111111111111111101111111111111111101111110111110111111111111111111111111111111111111011111111011110101010110111011111111111101111111111011011111111111111111111111111011111111111110111111111111111111111111111111011111111111111010110111110111111111111011111111111111111111011111111101111101111110111101111111111111111111111111111111001111111111111111111111101111111111111111111111111111111111101111111111011111111011101110111111011111111111111111111011111111011010101111111111111111110111111011111010111111111011111110011111101111110111111111111111111111111111111011110011111111001111110111001111111011111111101111111111111111010111101111111111111110101111101110111111111111111111100111110101111111101111100101111111111111101111111111111111111111111111111111111111111111110111111111001111111110011111101101110111111111110111111111111111110011111111110110111111011011111111111011111101111111111111111110111011110011111111111111011111111111011111111111111111110111111111101110111111011111110101111111111111101111111011111111111111101111110011111111111011111111111111111111111111101110111111111101111001001111111111101110111111101111110101111111101011111111111111101111111111110011111101111111111111111101111111111111111111001111111111111110111101111011111110011111111111111110011010111111111111111111111111111110101111111111111111101011101111111001111110111111011111111110111111111111111101111111111011111111111111111111111111100111111111110110111111111111111111111110111111111111111101111001110111111110111111111111110101110111111111110101110110111110101101111111111111111111110111101101111111111111111111011110111111111110101111110110111111100111111111011111100111111111111101111111011111111011011111111111111111111111111111111111111101111111111111111011111111111111111111111111111111111011011110111111111111111111111110111101111101001110111011111111111111111111111110111111111111111111111111111110111011111111111111111111111111111111101111111111101111111111111111111101111101111111111111111111011111111110111110111101111001111011101111111111111111111111111111010111111111111111111111011110111111110011111111011111111111111010111111111111110111011111111111101111111111111111011111111111010111111111111111111111011101111011111110011011111011111111111011111101111111001111110111111111111111101111111111101111111110111111111111011111111111110011011111111101111111111101111111111111111111111011010101111111111111111111111011111111111111111111011111111111111111111101010111111011111111111111101111110111101111010001101101111111111111011111111111111111111010111110111101111111111110111111101111111110001111111111111111111111111111111111011101111111111011111111111111111111111011011111111111111111111101111111101111111111111011110111001011111111111111111111011111111110111111111111110111111111100111111111111111111111111111111111111111111111111111111111111111111111111111011101111111011111111111111111111110111111011011111111111111111111111111111111111111111110101111011111111111110111011011111110111111011111111111111111111111111011110111110111111101111111101111111111110100110111110111111111111101111111001111111110111111110101110111111011110111111111111111011101101111111111111111111111011111111111111110110111111111111111110001111101011111101011111111101011011111111101111111101111111110111111101010111101011111111111111111111111111111111111111011111111111111011110111110110111110101111111111111111011111111001111111100111111110111011111011111101111111101101111111111110101111111111110011111111111111111111111110101111111111111110111111111111111111111011010111101111111101111110110111111111111111111111111011011110111111111111111111111111111111111101110111111111011011101111111111111011101111011101111011111111101111111011111111111110110101111111111111111111011011111111111100111111111111011111111101111111111111111111111111111101110111111011111111111111111101111111010011101101111101011111111111111111111111011111010111001011111111111011111111111101111111111110111111111111111111111111111101111111111111110011111111111111111111111111011111111111111111111111101111110111111111101111111111111111111111111111111111111111111111111011101111011110111111111111111111111111111111111011111110111110111111111111111111111101011110111111111111111101111111110110111111111111111011111111111100111111101010111111011111101111110100111111111101111111111110111111111111101111111011110111001011011111111111111111111111110101111111111111111111111111111111110111111101110101011110111111101111101111111111011111011111111010111101111111110111111111111011011110011101111111101111111111111111111011110111111111100111110111111111111111111111111111111111111111111111111101101111111110011111111101101111111011111111101111110111011111111111011111111111111101111111111111111111111111011111110111110111011111111111101111111111111101101111111111011111111111101111101111111111111111011101111111111110111111111101111111111111111111011101111111111101111111111111111101101111110010111101111111111111101111111111110111011111111011111111111111101111111110111101111111111111111111111111111111100111111111111111101101111111111111111100111111111111101111101111111111111011110111110111111110111111111010111101110111111111111111111011011111111101111101000111110111111111111111111111111111111101111011110111111111111111111111101111111111110111111110111111001111111111111111110111111111111011111010111111110111111111111111111111111111110111111111110110111011111111111111011111111110111111111110101111111011111111111111111111101111111111110111111111111111111111111101111111111010011111110111111111011110110111111111111011111111111111011111111111110111011111111111111111101111111111110111111110111111111111111111111010111011111011101111111111101111110101101111111111111111111011111111110111111101110111111111110111011111111001111101101100111111111111111111101101111111101111110011110111111101011111111111111011011111111110101111111111111101111111101111101111111100111111111111101111111111111111111111111111110111111111111110111011010111111111011111111111111110111111110111111111111111111111111111111111111111111110111101110101110111101111111011011111111111111011111111111111111111111111111111101111111111111111101101101111111111010111111111011111111111111111111110111111111101111111111110111111111111111111110111011111111001111111111111111011001101111011111111111001111111110110111111111111101111111111111111001111010101111111011101111111110111110111111111111101111111110101111111111001111101101100111110111111011111111110111011111010111110111111011111101101011111011111111110111101111101101011111111111111111011111111101111111111111010111101111111111011111111111111111101111111111011111110111111101111111111100111111111111111101111111111111101111111110111111111111111111101101111111111111111101111101011111111111111111011111111111111111101111111111111111111111111011111111111111111110111111111111110111111111111111101011111111111111111011111111111011111111111111010111111111111011111111110111111111100111111101111110111111111111111110111111111111111111111111111111111111111111111100110110111110111111111111101111111101111111110111111111111011011110111111111111111011111111111111110101111111011111101111110111010101111111111111111110111110111111111111111111111110011111101111101111111011111111011110111111111101111111111111110111110111011111110111011111101011111111111111111111110111111101111111011111111110111111001011111011111111111111111111111110100111001111101111111111111101111111101101110111101111111111111110111111011011111111111111111111111111111111111111111111111111111110101111111111111110011111110111111111111111110111111111111111111111111111111111111101111111101111111111101111111111111111110111111111111111111111111111111111110111111111111111111111110111110110111111111101111111111011111111111111011111111111111111101111101111111101111101101101111111111111111111111111111111111111111111111111111111011111101111111111011110111111011111111111111111111111111110111111111111111111101111111111111111011111101111111101111111111111111111001111111011110111111111111111111111111111011111111111111101111111101110111111111100111111111110111111111011111111111111001111011111111101110111111110111111111101011111110111111111111111111111111000111011111101111111011111111111101011011110111111101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101111111110111110011110111111111111111110111111011111111111111111011111111111011111111111111111110111110011101111111110111111111111111111111111110111111111111111111111001111111111111111001110110110111111111110111111111111111110110111111111111111111111111011011111111111111111111111111101011100111111110101111111111111110111111101011001110111111111111111111111110011110110111110111010011111111111111111110111111111011111101111111111011100111111111111111111111101111111111111111111111111101111011111101111111111111111111111111111110111111111111111011100101111111111111110111111111111111111111011111111111111011110111111110111101111110111111011101011111111101111111111111111111111001011111111011111110011110111111111111111101111111111111111011111111101111110111111111111111111011111101111111011101110101111111101011111111111011111111101111111111111111111111110111111111111111101111111111111101111111101111111111101101111111111111111011111111111111111101110111110111111111111111001010111111110011111111111111111011111111111111101111011010111001111111111011011111111111111111111111011101101111101111101111111001011111111111111101111111101111001111111111101110111111110111101111111111111111001111111111101111111111111111011111111111111111111111111111111111111111111111111111111101111111111111011101111111111101111111111110111111111111011111101111111011111111111111101111111111111011111111111111111111111111111111111111111111111111001111111111111111101101111111011111111111111111111111111111111111110111111111111111111111111111111011111111111111111111111111111111111111001111111011111111111111111111111011111110111101111111110111111111111111111111011111111111111111111111111101101011111111111011111111011111110101111101111111111111111111111110111111011111101111111111101101111111111111011111111111111110111111101110101111111111111110111110111111111110111111111111111111111111011111011110111111001111111111111111111101111111000111111111110110001111111011111101011111110111100111111111101111011111110111111111110111111111111101111111110110111111111111111111101110111111111111111111111111111111111111101111111111111111111110011111100101111110111111111011101011111111111111111011111110111111111111111111111110111111111111111111011101111111101111101110111111111111111111110111111111111111111111111110111011111111111111111111101111111111111111111111111111111111111111111111011111011111111110111111101111111111111111111111111111101111111111111010111111111111111111111111111111111111110111111101011111111111110101111111111111101101101111111111110111111011111111111111111111111111111111101111111111111101101111101111111101111111111101111111111011111111111111111111011111111111110111111111111101111111011110111111111111111111111111111111111111111111111111111111111011010111111110011010111111111111111111111111111111101111111111111111111111111001111111111111111100111111101111111111111111111111111111111111111111110111101111111110111111111111111011011111011111111111011111111111110011101111111111111001111111011101111111111111011111111111111111111111010111111011111111111111111111111111111111111011111110111111111011101100111011101111011111111111110001111011011110111111111111111111101111101111011111111111111111111111111011110111110111111111111111111111111011111110110111111110110111111111111101111111101011111111011111111111111101111110111110111111111111111111110111111011111101111110111111111110111111111111111110111111011111111111111101101111111111111111111101111111111001011111111011101101101111011111011111111111111110111011111111111011111111111111111011111111111111111111001111111111111111011011111111011111101101111111111111111011111111111111111111111110111111111111110111111011111111111111111111111101111110111011111111111111101111111111111111111111111001111101111011111011111111111111111011111110111111111111111111110111111111111011111111111111111110111111101110111111111111111111111111111101111111111111011111111111100101111111111111111111111111101111111111111011111110111111101011111000101111111111111111111111111101101111111011111011110111111111111111101011111111111111111111110101011011111111111110101111011111011111111111111111111111111111111011111111111111111111011111111111111111111111111010111111111110111111111111111111111111111111111111111111111110111101111111111111111111111111011111111111111111111111111101111111111111011111111111101111111011111111110111011111111111111111111111111111011111011110111111110111111111111111111111111011110111111101111111111111111111111011111111111111111111111101111101110111111111111111111001111111011111111111111110111111111111111111111111001111111110101111111011111111111011111111111111111101111111111111110111111111011111111011111111111011011111111111101111100111110111101101111110111111011111111111101110111111101111110111111111101111001111111111110111111111111111111111110111111111111111111111011011111111111111011111110111111111111110011111111111111111011111111111111111111001111111111111111111110111111011111111111111111111101111111010111111111111111111111011111111111111111110111111111011111111111101111111111111111011111111101111111010111001111111111101111111111111111011011101111111111111111111111111111011111101010111111111101111110110111111111111111101101110111111010111010111111111111111111111111111111111111111111011011111111111111101000101111111111111111111111111010111111111111111111101111111111111110111111011111111111111111111111111111111101011111011111111111111101110111111111011111111111111111111110111111111111111111111111100111111101101111111111111111111110110011111111111110111111101111110111111111111101111111101111111111111111111010111111111111101111111111111111111011111111110111111011101111110111111110111111111111111011111111101111111111111111111111111111111101111111111111111111111011111101111111101111111111111110111111111111111011101111111111111111111111011110111110101111111111111011111111111111110111011111111011111111111011111111111111011110111001111111111111111111111111111111111111111111011110111011111111111111111111100111111110101111111111111111111111111011111111111111110111011111011011110111111111111111111111111101111111111101111111111110111111111111111111111101111110111111111111111111111111111111111111111111011111111111110111111111111111111111100111111111111111111100001111111111111111111111111111111110111111011101111111111111111111110111111111111111111110111111100111111110111111111100111111111111111111111101111111111111111111111111111111111111111111111111001101111110111111111111111111101111011111111111111111111111111111011100001101111011111111111111111111111011111111111110111111111111111111111111110101101111111101111111111111111111111111111111111011110110111111111011101101111110111001111110110110111111111111110111111111110111101110111111111111110111011111111111111111111111111111111111101111110111111101111011110111111111111111111111111111011110111111110111111111111001101111111011111111111111111111111111111111110111111111111101111110011111001111110111111111011111011111111101111011111110101111101111111111111111111111111111101111111011111111110111111111111111111111111111111111111111111111110111111111111101111111111111111111111111101111111011101110111101111111110011111111111110101111111111111111111011110111101111111111111111101111111101111111011111111111111111101111111011110101101111011011101011111111111001111111111111111111111111110111111111011111111111111111111111111111111111111111010111111111111111111111111111101111111111111111111111011011111011011011111111111011111101011111111111111111111111011111101111111111110111011101111111101101011111111111111111011101111111011111111111011111111111011111111111111111101110111111111111111111111111111101111111110111111111111111111111111111111111111101111101111110111010111111111111111111111111111111110111111111111011111111011111111011111111111111111111110111111111111111111011111100011111011111111111011011111111111110111111111111111111111111111111111010111111111111111011011001111110111111101111010111111111111111111101101111111111111101111110111111111111111111111111111111111111011011111011111111110111110111111010111111111111111111011111111110111111111101111111111111111111111111111111111101111111111111111010011111111111111011101111111111111111111111111111111111111111111111111111111111110011111111101111111110011111111111111101011110011101111111111111111111111011110111111111111101111111111111111111111111111110111111111101011111111111111111111011111011111111111110111111111111111101111110111110101111111111111111011111111111111110111111110101111111111111111011110111111111010011110111111111111011111111111111111111111111111111111110011111111111111101111111101111111111111100110101111111111110111111111111111111111111100100111111111101111111110111101110111111111111010101111111111111101111111011111111111111111001110111110111111111111111111110111111111111001111111111011111111111111111101011101111111011101111111011111111101111111111111011111110111111111111111111111111111111111111110011110110111111111111111111111101111101111111111111111111011111111111111111111111111111011011111111111111111111011111111110111111001111111101111111111111111111111101100111111111101111111111111111111110110111111111111111001111111111011111111111111111111111110111111111110101110111111111111111111111111111010111111111111111111111111011111111111111011111111111111110011111111111111111010010111111110111110111111111110111111011111111111110101111111001011111011111111111111111110111111111101111111111110111111111111111111111101111111111011111111111111111101111101111111001111101101101111111111111111100111111111111111111111111101111111111111111111111111111111111111111111111110101111111111110111110101111111101111111111011111111111111111111111111111101101111111101111111111111111111010111111011111111101001111111001111111111111111111111111101111111111111111111110110111111111111011101111110111111111111101101111111111110111111111101101111011111111111111111111111101111111111111011111110111111111111111111011111111111111111111111011111101111111101111011111111111111101111111111111111100011111111111111111111111111111111110000111111111111111111111111111111111011101011111111110111111111111111011011111111111111110111111111111111011111111111110110111111111111111011111111111111111111111111111101111111111111111110111111111111111111111101101111110110101111011111111011111111111001110101011111101111111111111011111101111011111110111111111111111011110111111011111111111111111011111101111111111111111110111111011111111111111000111110111110110111011111111111010111111111110111111101011111111111111111111111111111111111111011111101011110111111011110101111001011111111011111111111011111111111111111111011111111111100111111111111111011111111111110111111111011110111111111111111111101101111111111111101111111111111111111111111111101111111111111101111001111110111101111111111111101111110111111010111111101111111111111111110111111111100111111111111011111111111110111111111101111111111111101111111111111111111011110011111011111101101111111111111011111101101111111111101111111111111111111011110111111110111111110010111101111111111011111111110111111110011111110111111111101110111111110111111011110111110111111111111111111111111111111111111101111111111110111111111111111111011111111111111111111111111111111111111101111011111111111111111111111111111011111101111111111111111011111111111111011111101111111111111101111111111111101111011111010111111111111111101110111111111111110111111101011011111111111101111111111110111111111111111011111110111110111100111111111111111101011001111111111111110101011111111110001101111110101111111111111101111111111111111111111111110111111111111101111111101111111110111111110101101111011111110111111111111111110110110101111111111101111011111111111111111110111111111101111111011111001111101011011110111111111111111111101111111111111111110101111111111111111111111111111111111101111111111111111111111111111011110111111110111011111111111101111111111110111111111111111111111111111111111111111110111111111111111111111111111111110111111011101111011111111111101111110111011111011111111110011111111111111111011101111111111110111111101011011111111111111011101111011111111111111111001111111111111111100111111101110111111111111111011101111111111111111111101111111111111100111101111111111111111001111101111111111111101111011110110111111111111111111111111111111111011111011111111111111111111111110111101111101011111111111110111111101111111001111111011011111111101111010111111111111111111111111011111110111011111111111111111111111111011111111111111111011111111111111011111111101111111110111111110011111111101011111111111101111111111011111111111111111111110111111011011101111111111111111111111111111111111110111111111111111111011111111111111111111111011111111111111111101110111111111111101111111111111111111111111101100101111111111111101111111111111111111111111111111111111011111110111111111111111111111011011111111111111111111101111110111111111011111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110100111111110111111111011111111101111111111111100111110111111110111011111111111111001111111111011101011101111101111101011111111101111111111110111101101111111111111111111101111101110011111111111111110111110111111111111101111111111111111110111111111111111101111101111110101111111111011111111111111111011111111111111111111111110111111011110111110111111111011010110111111111111011111111111111111111111101111111110111111111011111111111111111111111111111110011110111111111111111111101111111011111111111010111111111111011111111111111111111111111111111111101111111101110111111111101110111011111101111011111111111101111101111110111111111111111111110111101111010111101111100101111111111111111111111011111111011111111111111111111111111101111111111111101111111111111111111011111111111111101111111111111101111111111111111111111111110110111110111111101111111111110111111001111011011111110111100110101111111111111111110111111111111111111101111111111111111111111111111111111111111111111111110111111111011111111101101111111111111111111111111111111111111111111111111111111111111111011111111111110111111111110111111111111111111111111111111101111110111111111111111111101111111111111111001111111111111011111111110111111100111111101101111111111111101111111111111110111111111111110011111111011111100111111111111111111111111111111111111011111011101111111111111101111111111100011111111111111111011111111111111111011111111111111011011111111111011011101111111101111111111111111111111111111111111111111111111111111111111111111111111111110101110101111111111111111111111111111111111110110111111111111111111111111110111101111011011111111111111111111111111110101111111111111011111111111111011111111110111111111011011111111111111111111110111111111011111011110011111110111011111110111111111111111111111111111111111111111011111111111111110111111111111010111111111111111111111101111111111111111111111110111111111111011111111111111111111111111111111011101101111111111111101111111111100111110111111111111111111111111111111111111111111111101111111111111111110111111101111111111111111111111101101111111111111111111101111111111111111111111111011111111110111111111111110111111101011111111111111011111111111111111111111011111111111111111110110111111101111111110101111101111111111111111111111111111101111111111111111111011101111111111111111101111111111111111011111011110111111111111011111111111110111111111111111111111111111111111111011111111111101110111111111111101011111101111011111111111110101111111111111111111111111111101111111011101111101110111011111111111101111111111111111110011111111111111010111111111111111001111111111111101101111111111111110111111110111011111111110111111011111111111011111111101111111111111111111111110111111111111111111111111111111111101110110111111111111110111101111111111111111111111111101001111111111111111111111111111110100111111111111110111111111111111111011111111011101011101111110111111111111111111111111111111111111111101110011110111111111111111101011111111111111110110111111111010011111111110111111101111111111111111110111111111111111011111111111111111001101111111111011111110011110111011111111011111111111100111111001111111111111111111111111101111011101111101111111111111111011111110111101111111111111111101011111111111111111111111111101111011110111111111110111011111111110111111111101011011111110111101111110111111011111111111111111111111111111111111111101111101111110111101111111111111011111111111111111101111111111101111111111110111010011011111111111111111111111111111111110101101011111111111111111111011111011110111111111111100011101111111111111111111111111111111111110111111111111110111111110111001111111111011111111111111111111111111111111111110111111110111111111111111111111111111111101111111111100111011111111011111111111111111111011111011111111111011101111111111111011111111111111111111111110111111111111010111111111011111111111111111111111111111111111111111110111101111110111010111011111111011111111111111111111111111011111111101111011111111111111111101111111111110110111111101111111010101110101011111111011011111111111110110101111111111111110111110111110110111101110111111011111101111101111111001111111111111111111111111111111111111111111111011111111111011111101111111111111111111111110111101111111111110111111011111111111111011111111111111111111111011011111011111111011111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111011111111111101011111111111111111111111101111111111111111111111111111101111101011111111111111110111111110111111111011101110111111011111111111111111101101111110100111101110111111111111111101101111111111110111111111111101110111111111111111111111110101111111101110111111111111110101111111111111111111111111111101111111111111111111111111101111111101111011111111111111011110111111101111110111111011111110111111011111111110111111101111101111101111111011111111111111111001111111111101111111110111111111111101111111110110111111111111111111111111101011111111111111111111111111011111110011111111111111111111111111111110111111111111111111111101111111110111111111111111111111110111111111111111111111011011110111111111111111111111101111110111111111111111111111011111110111011111111111011111111111111101111111111111110010111111111111111111110111111101111111111111111111111111111111111111111111111011111111101111111111101111111111101111111011111111111111111011111111111111111101111111111111111111011111111110101111111101011011111111111111011101111101101111111111111110111111111111111111111101111111110111101111111101011111101111110111111101111111111011111111111010111101111011111111111111010011111111011111111111110111111111111111111111111111111111111111111110111111111111111111011111111101110111111111111111110111001011111110011111111111111011111111111111111111011111111111110111111111110101111011111101111111111111111111110111111101111111110111110111111111101111111111111101101111111111011110111111111111111110111111111111011111111111111101111111011111111111001111111001101011110111111101111111110111111011111101111111111111010111111111011110111111011111111111111010111111111111011111011111111111011111110111111111111111111111111111110111111011111001111111110111111101111111111111111111111111111111111111111111110011111010111110011111110111111111111111111011111111111111110111010110111111011011111111111101111111111100111111111111111111111111111111111111111111111111111111111111011011111111101111011101110111111111110111111111101111111111110111111111111101111111111111111111111110111101111111010111111111101111111111111001101111110010111111111011111111111111111111111111111111110111011101110111111101111111111011111111101111111111011110111111111011011110111111111111111111101111111111111111111111101111111111101111111111110111111111111111111011101111111111111011111111111111101111011111101111111111111011111111011111111011111111111111101111111111111110011111111111111111111111110111101111101111111111111111111111111110111011110111110011111111111110111111111101111111101111111111111111111111111110111111101110110011111111110101011110111111101101111111101111011111111111111111111111111011111111111110110111111111111011011111111110111111110111111111111111111111111110101011111111011111111111111111011111111111111111111111111111011111111111111101111111111011111111111111111111111011111111111111111101111011111011111111111111111111011111111111111111010111111111111111111111111111101110101111101111111101111110110111111111111111110011111111110101111110111111111110111111111111111111111111011111111111111111101111101111011111011111111111011111111110111011111111111111111111111011111011111111111111011111111111111111111111110111011111111111111101111111101111111111111111111111111011111111111111111111111100111101111110101111011111111111111111101111001110111111111111111111011111111111101011111111110111101101011011011101111111111111111111111011111111111111110111110101111011110101111111111111111111101111101110111111111111111111111111111111111111111110111111101111111111111111111011111111111111111011111110111111111110111101111001111101111111011111111100111111111110111111111111101101111111111111111111111101111111011011111011111111111111111001110101111111111101111111111110111111111111111111111111111011111111111111111101110111111110110111111111111111111111111010111111111111110101111101110100111110111111010100111111110111011011111110111111011111111111110111100011111111111111111111111111110011111111110111111111110111111100111111111111001110111110111111110101111111111111111111011111101111111111101101111111111111111011011111011111111111111011100111111111101111011101111001011111110111111111110111110111101011111111111110111111111101111101101111011101111111111111111011111111111100111101011111111111110111111111111101111111111011111111111111111111111111111111111111111111111111111110111111111111111111011111111111111111111110111111111110111111111111111101111111111111111111101111111011001110101111111111111100111111100111111111111111101101111110111111111011111111111101111110111101111101110111111111111111111101111111111111111111011110111011101111011110111100101111111111111100111111011111101101111111111111111111110111111111110111111111111101111011100011111111111111111111101110111101111111010111110111111111101011110111111111110111111111110111111111111111111111111110101011111111101111111111101011111111111101110111011111111111111111110111110111111111111111011011101111011111111111111010111111111111110111111101111111111111111001101101111011111110111111101111111011111111111111101111111011111111111111111111110111011111111101111111011111101111111111111111111110111111111111111111111111111111111011111011101111111111111111111111111111111110011111100111111111111111111111111110111101111111001011111011111111111111111111111111111010110011111101111111111111111111111101101111111111111111011111110011111111110111111111011111111111111011111111011001111111111101111111111111111111111111101111111111111011111001111111111111111111011111111111111111111111110111001111111111111011111101110110111111110011111101111111111111111101111111111111111111111111111111111111111111111111101111111111111111111011111111111101111111111110111111111111101111111111111111110111111101011111111111011111111101101111101111101111111111011111111111111111111111111111011111111111111111111101011111110111111111111101111111111111110110101111111111111111111111101111111111111111111111111111111100111111111111011011011111110110111001110111011111111111111111111111101111111110110111111111111011111111111111111111011110111011111110111101111111111111101111110100111111100111111111111111111111101010111111110110110111111111111111111011111111011111111111111111111111111111110111101111111101110111111111011111111111011110111111111111111111111111111111111111111110111111111111101111111011111101111111111111111111111111111111111011101111111111111111111111111111111011111111111011111111100111111101111111111111111111111111111101110111111111111111111111111111111111111111111111111110011101111111111110011111101111011101111111111111010111111101111111111111111111111011111111111111111011111111111111111111110111111111111111111111111101111111111111111111111110111111101111111110111101111111101110011101111100111111111111111111111111110111111111111111111111111111111111111011111111111111010111111111111111111111111111111111111011111111101111110111111111111001101111111111111111111111101111111101111111001111111110111111111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111001111111111111101111111111111110111111111111111111111010011101111111111111101110011000111111111111111101111111111111111111111011111111011111100111111111111111111111111111101111111111110110111111011110111111011111111111111111111101111111111101101111111111111111111111111111111101010111111111111101111111111011100110111111111111101111111111111111111111111111101101011111111101111111101110111111110011111011111111110011111111101111111111111111111111111111111111111011111111111110111101111111111110111111011111111010011111111111111111111101111111111111111111111111111111111111111111111111111111111011111110111111111101111111111111111111111110111111111111111001011111111111111111111100010111111111111101111111111111111011111101111111011111111111101111111111111110111111111111101111111111110111111111011111110111110111111111011111111111111111111111110111111111111001111111111111111111011111101101011011011111111110111111111111111111110110110111111111111111111111111111111111101111110011111111111111111111010111111111111011111111011110111111111111111111111101111111111111111111101111111111011111111011110111111110111111111111111111111111111101111111101110111111111111111111111010111111111111111111111111110111111111011111011101111111111111111110111111111111101111111111111101111110111001111111111111111011111111001111101111110111111111011101101111111111111111111111111111111111111111101111110101111101011111010111110101111111011111101111111011101111101111011111101011101011011011111110111101011110111101111111011111101111011111101111101111101111111111110111110101111111111111111111111111111101111111111111111111111111111111101101111111111111101111011101111011101111111111111011111111111111110111111111011111111111111111111111111011111111111111100111111111101111110011111111111011111111111111110111111111111111111011111011011111011100101111111111101111111111101111101101111111111111111111111110010111111111111111111111111110110111111111111111111111111111111101111110101111001111111111111110111111111111111101111111101111111111001111111111111111110111111100111110111111110111111111101110110111110111111111101111111111111111111101110011110101111111111110111101111111111101110111011111011111010111111011111111011111111101111111111110111111111111111101111011111111111010111111111111111111111111111110111111011111011111111111111011101111111111111110111111111111110111111101111111111011111111111111111111011111111111111111111111011111101111100011111111111111111111111111111111110111101111011011111111111101101010111111110111111111111011111111110111111111111111111111111111111111101101111111111111011110111110111111011111111111011111111111110111111111011111111111111111111011111011101111111111111111010110110110110111100110111101111111111111011101111111111111111111011111101011111111011011111111111111111111111111111101111111110001111110110111111111101110101101111111100011111110111111111110111111111111011111111111111110111111111101111011111110001111111111011111111111101111111111100111111111011101110111111111110110011111101110111111111111101111111110111011010110111111111111111111111111111111111111110101111111111111111111011111100011111111011111111111110110111111111101111111111111111111111111111111011111111111110111101111111111111001111111111111111111111111111111111111111111111011111111111111111111111101101011111111011111111011110111110111111001111111111111111111111111111111111111111101111011111111111111111111111010111111111111111111101011101111111110111110001111101111111111111110111111111111011111111111111111001111111111011111111111111111111111111111111011111011111111011111111111111011111111111111111011100111111101101111111011111011111111011111111011101111011110111111111111111011110111111111101111111111110111111111100111111111111111011111111111111111111100111111001110111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111111011111111101111110111111111111110111111111111111111101111111111011111111111111110111111011111111111110111111111011111111111111111111111111111111111111101111111110101101011111011101111111111111101100111001011111110111111111111111111111111111111111011111111101101111101111111111011111111111111111111011111011111001111101101111111111111101111111111111111011111111111111111111111111111111101111111111111110010101101111011111111111111111011111111110111101111111111111111111111111111110011011111111110111111111111101111100111011111111111111111111111111110110111111111111111111111111110111111011111101111111101110011111110000101111111111110111111101011111011111010101111111111111111111000100111111111111101111111111111111111111111111101110011111111111111111111111111111001011111111100111111111111111111111111111111011111110111111111011111111011111111111111111111111111111110111111111111111110111011111111111111111111111111111101111111111111111111111101111111111111111111111010110111111111111111110111100001111111101111111111111111101011101111111111111011111111111111111111111111111111101111111111101111111101111111111111011111111111111111011111111111101111111010111111111111111011111111111111111111111110111101101110111111101111011111101111111111111111111011111011011001011111111111111111111110101111111111111110111111111110111011111111110011111111111101110111110111101111111111111111111111111011111111101011011111101011101111111111111111111111111011111111111111111111111111111111101111110111011111111111111111111111111111111111011111111111111111111111111110111111111111111110111111111111111111111111111111111011110111101111111111111111101111111111111111111110011111101001111011111011111111011110010111110111101111111111111111111110111101111111111111101011111111111110111101111111101101111111111111111110101111111111111111111111111111111111111111101111111111111111111111011111111011111111101111111111111100111101111110111111111111111111111111111110111111111111111011111101111011111111111010011111111111111111111111011110111011111101011111111111101100011101011111110111111111111111110111111111111111111111111111111011111001111111111111111111111111110011111111001111111111111111111111101111111111111111111111111011011111110111111101111101000111101111101111110110110110111110111011010111111111011110111111111111111101111101101111101111111111111111111101111111111111111111111111111111111111011111111111111111110111101111011101111111111111111111111111111110111111011110111010111100111111111111111111111111111111111111111111101111010101110101111111111111111111110111111011111101111011111111111101101111111111111111111101111111111111111011111111111111111111011111110111111111111111111110111111011101011111111111011111111111111111011101110111111101111111111111111101111111111111111111111111110111111111110110111111111110111111111111110111111111011111111111111111111111111011110111111111110101101111111111111111111111111111111111111101111111111111110111101110111111111111111101111111110111111111111111111111111111111111111111111111111111111011111011111111111011111111111101111111111111110111111110110101111101111111111111011101111111111101110100111111111110111011101111111111111111111111110111111111110011111111111111111111111110011111111111111111011011111110111111111111111111111111111001111111111111111111110100111111010111111111101111101011111111110111111111111111110111011110111110001111101111111101111111111111111111111111111111111111111111111111111011110111111111111111111111111111111111011111111111011111111111111111011111111111111111111111111111101111111111111111101111111111001111110111011111110101111111001110111111111111110011111110111110111110110111111111111111111111111111111111011111001111111111111111111111011111111111111011011111111011101111111111111111110111110111011111001100011111111111111111110100111111110111110111111011111110111010101111010111111111111111111111111111111111111100111111111111111111111111111111111111111111101101110111111111110111011111111111111111111111011111111111111010111111101111010111110111111111111011111110111111110111111111011111110111111111111110111111101111111111111111111111111110111101111111111011111111110111111111111011111111111111111101101111101101111111110011111111111101110111111111111111111010110011111101111111111111111111110111111111111111111111111111111111111111111110111111111111111111111111111101110111111111101011111111111111111011111111111011111111111111111111110111110111111111111111111111111011111001011111111111111110111111111111111111111111010111011111111111111111111101111101111111111111111111111110111111111111100111110111111111011111111111101111111001111111111101110111111111111111111010111111111111011111111110110010111110111101101111111110111111111111101111110111111111101111111101111011111111111111111011111111110001111111111111111111111111111111111111011111111111111111111111111101111111011101011110111111111111001111111111111101111111110110101110111111111111111111111111111011111111111110111111111111111111111101111111111111111111011110111011011011111111110111011111111111111111110110111111111111111101111111111111111111111111111111111111111111111101111111111111110110111111111110111101111111101111111110111110111111111111110111011111101111111111111111011101111111111111111111111111101111111101110111111011111011111111111111111111111111111111111011111111111111111111101111111111111111111111111110111111111111011110111111110111111111111011111101111111011111111111111011111111111111111111111010111111111111110111101111101111111110101111111011111111111111101111101011111111111111111111101111101111011111110111111111111101111111101111111010111111111101111111110101111111111111111111111110111111110111111111111111111111111111110111111111110111111111101111111111111111111111111111111111111111111111111111011111111111110111111111111111111111111111111110111111011110111111111111111111111111111011111111111111010111111111011111111011110111111111111111111111111111111111111111111101111111111011011111111111111111110111111011111111011111111111111111101111111111111111111111110111111111011111111111111111111111111111101111111111101111010101111111111111111111111111111111110111111111111111111110011111011111111111110111111110111111111110011110101111111111111111110111111111101111111111111111110111111111111111111111111111111111111111111111111111111111111001111111111111011111111111101111011111111111111111110111111111111111111011111011111111111111111111111111111111111111111111100111111111111111011111011111111011111111111111111111111111111111111110111111111111111111111111101110111111111110111111111011111011110111111101111111111111110111111111111111111110111111111111110111111111101101111110111111111111101111111111111111111111111111111110111111011111111111101111111111111111111110111111011111111111111111111101111101111111110111111111011011111111111011110111111111111111111111011111111111111101111111101111111111111111101011111111111101101101111111111111111101011111111111110111101011111111111111111111111111111111111111111111111111111111011011111111111111101111110111110111111111111111111101111101110011101111110111101111111011111111011101111111111111111101111111101111111111110111111111111111110111111111111111111111111111111111111110111111111111111111111011101101111111110111111111110111111101111111011011111011111111111111111111111111111110111111111111111111111111111110111101111111111111011110111111111111111011111111101111111111111111101111111110111111011110110111111111111111101111110111111111111111111111111111111111111101111111111111111101111111111111111111101011111111111111001111111101111111111101110111111111011111111111101111110111110111101011111111011111111111111111111111111111111111111110111111111111111111110111111111111111111011110111111111100111111111101111111111111111111111101111111111111110111111111111111111110111111111101111111110111111111111011111111011011110111111101111111111111111011111111111111011111111111011111110111111111011111111110111110111111111111111111111111111110011111111111111111011111110111111110011111111101111111111111111111111111111111111110111111111111111111111011111111111111111111111111011111111111111111111111111111111111111011111111111111111101111111110111111111111111111101011111111011101101101111111111011111111111111111010111111111111111001111111111111110101011011011111100111111111110110111111111111111111111111111111111111111110111111111111111110111010101111111111111111101100111111111111111111111111101101111111110111111111111111011010111111111101110101111101110110111111111110111111111101111111111011111111111111111011101111111110111111101110111111111101111111111111011111111101111111111111111011111111111111010111111111111111111011111111111111111110111111111111111011110111110111111011111111111111111111111111101111111111111111111111101111111101111111111011111111111111111111111111111011111111111111111111111111111111111111101111011101011010111110011111111101111101011111111111011111111011011111111111111111111111011111111111111111111111111011111010111111111101011101011111110101111111111111111100100111111111111111111010111111110111111111101111111111011111111111111110111111111111111111111111101011011111110111111110111111111001111111111111111101111101111111101111111110111110111101111100111011111011101111110110111010111111111111111111110111111111101111111111111110111111111111111111111111111111010111111011111110101111111111111110111111111101111110011111111011111111110011111111111110101101011011111101111110111111101111111110111111111011110111101111100111111011111111101111111111111110111111011111111111001111111111111110111111001111111111110111111111111011111111111111111111101111111111111111011111111111101111111111110011111101111111111111110111011111111111111011111111111101111111111110111111111111111111111111011111111110101111101111111101111110111111111111111111111111111110101111111111101101111001101111111111111111111111111011111111111111111111011111111111111111101110111110111111011111101111111111111111101111101101111111111111111111111111111111101111111111001111111111111011111110111111111111011110111111111111111111111101101111111111111110111111111111111100101111111111111111111111011111111101111111111111011111111111111111011111111111011111001111111111100110111111111111111111111011110111111111111100111111010011111111111111101111111111011111111111111111111011111110111101011111111111111111111111111011111111111111111110101111111101111111111111111111111111111101111111111101111110111111111011111111111111111111101111111111111111111111111111101111111111111111111011111111111111101111101111111111101111111111111111101111111011111111111111011111101111111111111111111110111111101111111111111100111111111111111111111110101111011111111101111110011011111111111111101111111111111111111111111111101111111111111111111101101110110110111111101111111111111111111111111111111111111111101111111011101111111111111111111111111101111111111111110111111111111101011111111111101111111111110011111111111111111111101001111111111110111011111111111111111111111111111111111101111011111110110111011111111111111111110111111111111111110111111110111101111111101111110110111111111001111101111111111101111101110111111111111111110111111111100111011111111111110100111111010111111111111111111110111111111111011111010111111111101011111111111111111010111111111111111111011011111101011011011101111011111111011110111111110111011111111111111111011111111111111101110110110110111110111111101111111001101111111111111111111111101111011111011111111111111111111111111111111111101110111101111111111111111111111010101111111111110111000111010111111101111111111011111111111111111110111111111111111101101111101111111111110111111110101111111111110111101110111110110110011111110111111101100111111101110111011111111111111101111111111110111101111111011111101111111011111001101111111111111111111111011111010011111111111111101111111110111111111110111111111111111111110111111111101111111101111111111111011111111111111111111111011101111111101111011111111111111101111111111111111111111001111100111111111111110111011110111101110011111111111111111110111111111111101111111111111111111110111111111111011111111111111111111111111111111111111111100111111111111111111111111100101111111110111111111100110111111111101111111111110011111111111111111111111011111111110111111101011111111111111011111111111111111011111111111101111111111111011111111110111111111111110111101111111111110111110010111111110111111111101001111111111111011111011111111111111101111111111111111111111111111111111111111111011001111111111111011111011111111111111111111101111111111111111111111111111111111111011101111111111111110011111110101111111110101111111110111111111011101111111111111111101111111111111111110111111111111111111111111110111111110111111111111111111111111111111111111111111111111111011111111111111111110111111111111110111111111101111111111111111110101111111111111111011111100110111111111111111111111111111101111011011110111111111111111111111111011111101110111111111111111111111111111111011111111111111111111111111111111111111011001010111111111111011111111101111111001111111111111111011111111111111111111111111101111111101111111111111111011111111110111110111111111111011111011111111101111111111111111011111111111111111011111111111111111111111111111111111111111111111111101111111111111111111111101110111111111110111111111011111110111111111111111111111111111111111111101111000111111111111111111111111111111111110111110110111111111111111111101101111111011111111111111111111110101110111111111111111111110111111111111011111111111111111111011110111111111111111111111101110111111011111011111111011111111110111111011111111101111111111111111111111111111111111110101111111111111111101111111111111111111110111111000111111011111101011111111101110111111111111111111111111111111111111111111111111111111010100111111111110111111010111011111111111011111111011110111001100011101111111111110111111111111110101111111111011111111111111111110001101111110011111111111111111111111111111111111111111011111111110011101101111111111011111111111011111111011111111111111111111101111111110011111011110111111011111111100111011111111111111111011111111111111111110111111111111111111111101011100111011111111011111101111111111111111111111101111111111111110111111011101111011111111111111111111011111101111111111111111111100111111111111110110111111111110011111101111110111110111111111111110111111111111111111111111111111111011111111111111111111111111100000011110111111111001111101111111011111111011101111111111101111111101011101111110101011111101111111111011111110111111111111101111110111111111110111100111111111011111111111100111111111101111111111110111111110110101111111111111111111111111010110111111110111111111110111101111111100101111110111111111111111111110111111101100111111111011111111111111011111111101111100111111110111111101111110111111111111111111101111101111111111111111111111011111111111111101111111111111111111111011111111111101011111110011111111010111111111101111101111011101111011111111111011101101011111111111111111111110111111011111111110111111111101111111111111010111111111111111101111111101111111011111111110111111111111111111111110101111111111111111111111111111110101111111111111101111111011111011111111111111111111111111111111011111111111111111001111111111111110111111111111111110111111101111111111101111111111101111110111110111011111110111111101011111111101001111111110111011111011111110111110011111111101110111111110111111111111110101100111111111111111111111111111111101111110110111111111111110110011001001111111110111111110111111111110111111111110111101111011111010110111111111011111111111111111011111111111011111111101111111101111010111111111111111110111111111110111011111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111011111110011110111111111110111111111111111111111101111111110111111111111111111111110111111111101111111111111111111111111111111111111111111111111111101011111111111001111101111111111111011101111111101111111111011110110111111111011111111111111111111111111111110110111101111111111111011111111111111011110111111111111111111111111111011111101111111101111101111111111111110111111111101111111111111101111101111110111111011111111110011111111111111110111111100111111111111111111111111111110011110111111110111011111111111111110111101111111011111111111111111110111101111110111111111111110011111110111110111111011111111110111111011110111110110111111111001111111111111111111111111111111110110101101111111110111111011111100111111101111111011111111111101111111111111001110111100111110111110111111111111110111111101111110110111111111111100111110111111111111111111111111110111011111111111111111110111111111110111111011111101111011111111111101101111111101111011101111111111011111111111111111111111111111111111111111111111111111101011011111111111111011111111111011111111111101111101111111111111111111111111111111111111111110110011111111111111101110111111111101111111111111011101111101111111011111111111101100111111111111111111111111111111111111010111100111101010111111111111110111111111111111111111101101111110111111111101101101111110011011111111111101111111111111111011111111111111110111111111111111111111111111111111111111011111111111111111111011011111111111111111111111111111010111101111001110111111111111111111111011111101110111111000111111011111111111111101111011011111110111101011101101111011111111111111111101111111110111111111111111111111101111111110111111111111100111111111111111111111101111111111101111111111111111111101110111111111111111111101111100111111111111111111111110111110111111111111111111111111111111111111110101111111111111010101111110111111111111111111111100111011111111111111111111111111011111111111111111110111110111111111111101111111111110111111111110111111111111000111111111111111111111111111111111111111111110011110111111111111111111111111111101111111111111101111111111110111111111111111111111111001111111111111111101111100111111011111111111111111011111111111111111111100111111111011111111111111011111101111110111011111111111111111111111111111101101111111111111111111111111111111111111111101111111111101110111111111111110111011111111110111111111111111111111110111111111111111111111111011111111111111111011110111111011010111100111111111111111111111111010111111111111111111110011101111111111111111111111111011010111111111111101111111111011101110111111010111111111111111111000101111011111111011101111110011111111111111011110101111110111111111110111011011111111011111001111011111111111111110100111111111011111111111111111111011111110011101110101111111111111111111111111111111111111111111111111101111111111111011111101101111101111111111110111111111101111111111111111111111111111111111111111111011111111101111111111111111111111111111111111111111111101111111111111111111111110111111111111111111111111111111111101110111111111101111111111001110111011110111111111111011111111111010111111111111111111111111011111111111001111110101111111111111111111111111111111101111111111101111111011111110111111011110111111111101110111011111011111111110101111111110111110111111011111111111110011111111111111111111111111111111111111111111011111110011111010111111111111100111010111111111111111101111111111111111111110110111101111111111111011111111111111100111110111011111111111111101101111111111011111111111111111111111101111101111111111111111111011111011111111011011111111111111111011111111111111111110111111111101111111110101111111111110111011111111111101111110011110001111111011110111111011111111110111111111111111111111111111111101011110111110111011111111111111111111111101011111111111110111111111111110011111111111111111111111111011111111110111110111011101011111111111111111110111111111111111111111111100111111111110101111101111111111110111110111101111111111110111111111111111111011111011011101111101111111111111011111111111111110111110101101111110110110111110111110110111101111101111001111111111111111110110111111111110111111111110110101011111111111111111111110101111111111111011101111111111111011111111111111011111111111110101101111110111111111111111110111011010110111011111111111110111111111111111111111101111101111110010101111111111111111111111101110111111111111111111111111111011111111011111111111111111111111110111111111111111111111111111111011010111111111111111111111111111111111110111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111011100111111011111111111111011101111111111111111111111111111011110111111111111111110111111111111111111110111011111111110111101111101001111010111111101111111111111110101011101110011111111111111111111011111111111111111101011111111111111111111011111101111101111011111111111111111011111111011101111111111111111111111111111011111111001111101111111111111111111111111111111111111111111111111111111111111111110111111111101111111111010111111111111011101111111110110111111111111111111101111111111110111111101111011101111111111011111111101111111110111111111110011111111111111110111111111101011111111111101111111011111110110111111111111111111111111111111110111111111111111111111111111011111111111011001011111111111111111111011101111111111111110110111111101101111111110011111011011111111111101111111111111011011111111010101111111111111111011101001111111111111111011011101111111111011101111111101111111101111111111111111111111111111111111110111111101001111101111101111111111101111111111111111111111111111110111111111101111110011111111111111111111111111111111111111111111111111101110011111111111111111000111111111111111011111111111111111101101111111111111111111111111111111011111111101111111111111111111111111111111111101111101011111111111101111111111111111111001111111111110011111111111111111110111100111111111111111010011111111101111110111111111011111111111111101011010111111111111111111111101110011111111111111111101011111111111011111111111111111111111111101111111111111111111111111111011111110100111011111111111111111111111111111011111111111111011111111111111111110101111111101111111111111111111010111111111111111111111111111110111111111111101110101111111101110011111011101111110111111111111111111110111111111111110011111111111111111111110101111111111111110111111111111110111111110111111111111111111111111111111111111111111111011110111110111011111011111111111110111111101111111111111111011111111111101111111010111111111111111101111111111111111110111110011111111111111110011111111111111111111111111111111010111111011111111111111111111011111111111111111111100111001111110110111111011111111111111111111111111101111111111110110011111111111110111111110011011110111111011111111111111111111100111111111101011111111111111111111111111111111111011111111111111111111011111111111111111111111111111111100101111111111010111110111111011101111111111111001011100110111111111111111111111111111111111111110111111101111111111101110110101111011111111011111111111101111111111011111111111111111111011111111111111111111111111111111101111101111111111111111111110111111111111111111111111111111011011111111110011111111111100111101111111111111111111111111110111111101011010111111110111111111111101110111111111111011011011111111111111111111111111111111111111111111111111111110111111111011111111011111111110101101111011111111101111110111111111111111111111111111111110111111001111111111111111011111111011111111110111111111111111110111111111111101111111111110111010111111101110111111111111111101111111111111111111011011010111111101111111011111111111111101111111111111111111011111110111111110111011111010111111111111001111011111111111111111111111111110111101111111111111111111100111111101111001111111111111110111111000111110111111111111111111111111101111111111111101111111101111111111111111111111110111111101110111111111111111111111101111011111110111110111011101111111111111101111111011111111111111111111111111111110011111111111111111111101111101011111111111111111110101111111111111111111011110111111111111101111011011111111110111111111101111111111111111110111011111011111111111111111110111111111111111111111110110111111111111111011111111111111110011111111011111111111111011111111111111111111111111111111111101111111111111111111111111111011111111110101111111111111111110111111101111111111111111111111111111011111111111111111111111111111111111111111101111111111111111111111110111111110111111111011011111110111111111111100111110111111111110111111110111101101111101111111011111111110111111110101111011110111111111011011111111111111011111111111111111111110011111111111011111111001111111111111111111111111101101111111111110111111110111111111111111111111111100111111111111111110110111111111111111111111111011110011111110111111111111111111111111111111111101111011011111111011110111111011011111111111111111111100011011100111111011111111111111111110111011111101110011111111111111111111111111101111100111111111101111111111101111011111111111111101111011110111101110100111111111101111111110111111011111111111111111111101101111111110111101111011111001100110111011111011011111111111111111110111111011111111111111110111111111111111111111101111111011111111111111101101111111111111111111111011111111111110111011111111111111111111101111111111111111111111111111111111110111011111111111111111011111111111110111101111111111111111111011111011111111111111110111111111111110111111101111111111111111111111011111111011001111110011111111011111111110011111011111111111111111111111111111111110001110111111111111111111011101111101111111111101111111101110111111111101111111111011111111111111111110111011111111111111011111111111111111011010111110111101111111111111111111111111111111111111110111111111111111111101111101111111110111111101111101111111010111111110111111111111111111111111111111111111111111011011111111111011111111111101111111011111101111111111111111111111011101111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111011111111111111111111111011011111111111110111111011110011111111110111111111111011101111111111111111111111111111111111111111011111110010011111111111010111001101111111011111111101111111111111111111111111111111011011010111111111111111111111111111111111111111110111011111101101110111111101110110011111011111101111111111111111110111111111011111110111101110111101111111111101101111011111111111111111111111111111111111111111111111101011111110111011110111111111101111011110111111110111111011111111111111111111111111111111111111111111111111111011111011111111111111111101111111111111011111111101111110111111101111101111111111111111111111111111110111111111110111011111111111011111110110101110011111111111011111111011111111011101111110111110101111111111111100111011111001111111111111111111111011111111111110110111111110111111110111111111111111111111111111111111111111001111111111101011111101111111111011111110111111110111111011101111111101111111111101011011011111111111111011111110111111111111111111110011011111111101010111111111111111111011111111111111111111111111011111101111111111111011101011111011111111011111111111111111111111011111111111111111111111111111011101111111111111111111111110111110011110101111111111111111111101111101111111101111111010111111111111111100111111111101111111111111111111111111111111111111111001111011110011111101011111111101111111111111100111111111111111111111111111111111110111111111111111111111111111111111111011100111111101110111111110111110111111101011111111111111111111111111111111111110111111111110111111011111111111111111111111111111111111111110111111111111101111011111111011111111111111111111111111111111111111111101111111111111111111111111111011111111111111111011110101011111111111111111111111111111111111101111111111110101101111111111111111100111111111111110111111111111101110111110111111111111011111111111111111111100101111111111111100111111011111111111111110111111111110111110101111111101111111111111111101111111110111110111111110111101111111101001111011111111110111001110111111111111111111111011111110111111111110111101111111011111111111111011111111111111110111111111111011111110101111111111101111111111011010111111111111010111011111110111111101111111111111111111111011110111111111111111101111011011110111111111100111110110110111111110010111111110111111111111111011101111111111011101111101111110111111111111011111111111111101111111111111111011010111111111111111111110101111111111111111111111111111111011101110101111111011111111101111011111111011111111111101110111111011101111111111110011001111011111111010111111111111111111110111111101100111101011110111111111111111111110111111111111111111111111101101111111101111111111101111111111111101111111011111111111111110011111111011111110111110111111011111111111111111111001101111111111111111111110111101011111111111111111110100111111111110111011110111101111111111111111111101101111110011111111111111101111111111111110110111011111111111111111011101111101111111111111111001111110110111011101111111110111111101111011101110111111110111111101111111111111111111111111111111111111100110010101111110111111110100111111111101001111110111111110111111110111111011111111111111110111111111111111111011010111111001111111111111111111101111111111111111111111101111110111111111111111111111111111011111101101110111110111010111111110111111111111111111111111011111110011111111111111110111011111111111111111111111111110111111101011100111111111111110111101101011101111011111011110111111111111111111111111111110101011011110110111110111111101111011011111011110111011111111111011011111111111111111111101001111101111111100111101111111111010111111110110111111110111011111111011101111100111111111011111011010111111101111111100111101111111111101111011111010111100111111111111011110111111111111111110111111111111111111111110111101011111111111111101111111111111111111111111111100111111111111111110111111110111101101111111111011111111111011111111111111111111111101110111111111011111111111111111011101011111111111011111111111111111110111111101101111111111111111111011111111111111111111111111111111111111110111111110111101111111011111111111111111111111111111111111111111111111111111101111011111111111101110111111111011111111111111011111101111111110101011111111111111111111111111111101011111111111111111111110111111101111111111011110111110111111001111111011101111011111110111111111111111111111111111111111011111111111111111111111111111111111111101111111111111111111111111111111111111101111111111111101110111010111111111111111101111111110111111011111111101111111111111111111111111101111111111111111111011111111111001110111110111011111111111011111110111111111111111111111111110111010111011111011101110011111111111101010111111110110111111111110101100111111011110111111111111111111111101110111101110111111111111111111111111111111110111111111111011111111110111100111111011111111111111111111111111111111111111011111010110111111111111111111111011011111111011111111111111111111110111111011111101111111111011101111111111111111111101111111111111111111100111101011111111111011110111111111111111101111101111111111111111111111011111111111111011011101111100110111011111011111101101101111110111111111110111111111111101111001111111111111111111111111111001111111111111111111111111101111111111101111011011011111110101111111111100111111101111111011111111110111111111111111111111111111111011101100110111111011110111111111111111111101111111111111111111111111111111111101110010111111111111111111111111111111111110100111111111111111111110111101110111011011111111111111011111111101111111011111110011111111111111111111111111111011111110110011111111111011111111111101010110011011111011111110111111111111111111001111111111110111011111111111111110111110011110011111111111011011111111011111111011111111111101111111111011111111111111111111111111111111111111011110111111101111111111110111111111111011110111111111111111111111111101011111111111111011111111111101111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111010110111101111101111111111111111111111111111111111111011111111111111111111011111111011110111111100111111111111111111111101111111111111111111111111111011111111111011111111111111101111111111101111011111111111111111111111111111111111111101111111111111111110111110111111110111111111100111101101111111011111111111111111111111111111110110111111101111111111111111111111111111111111111111111111111111111111111111101111101011111110011111111111111111111110101111111111111110111111101111111101001011011111111111111011111111111100111111111111111111111011111111111111111110110101111111100111101001111111011111100111111111101111111111111111111110111111011011111111011011111011111111111111111111011110101111111111111111111101111111111110111111111111110101111111111011111111111111111110111111111010110111011110111111111111111111111110110111101011111111010111111011111011101111111111111111111101111111101111111111111011110110110111011111110101111111111111111111111010111101111110110111110111111111111111111011111011111111110011111111111111111110011111111111111111011011011111101111111101111111111111111111011111111101111111111111111111101011111111111111111111111111111111101111111111110111111111111111100111111111101111110111111001111111111111111111111101101011100111110101110111101111111111111111111111111111111111111101101111111101111011110111111111111010011111101101111101111111111111011111111111111101111111111111011111111101111111111111111110111111111111110111101111111111100111111110101111111111110111110101111110110111111111111111111101111111111111110111101111110111111100111111101111110011111101111111111111111110011101101111011111101111111110111111111111111111001111011110111111111111111111111111011011111111111111111111011111111111001110110111111111111111111111110110111111011111111111111111111111101111111101110110111111111111110101111111111111111111111111111101111111111111111111011111111111111111111111110111111101111011111110111111011111111001110111011011111111111101111111111111111111111111111111111111111101111111111111111111111111111111111111111111111101111111111111111011111111111111111111111111111111111101111111110111111111111101111111101111101111111111111111111111111101111111111111110110011111111101111111011111111111111111011111111111110111111101101101111111011111111111111110100111111011111101111111111101011111111111101111111111111111101111111111101111110111111111111111111111111100111111111101111111111111111111111111011111111110110111111011111111101101111111011111111101101111111111011110111111111111111110111111110111101110111111110111111111011111111111110111111100111111111001111111111111111111111101111111111111111100111111111111011101111111111111111001101111111111111111110111111111101110111111111101111111111111111111111111111111111111111111111111111111111011111110111111111111111111111111111111011111111111111111111111001111111011111111111111111111111111111111111111111111111111111111111010111111111100111111011111111111111011110111111111110100100011111111111111110111111111011111101111110111111111111111111111111111111111111111111111110111111111110111111111111111111011111111111110111011010110011111111101101111011111111111111111111101111111111110111111111111111111111111111011011111011101111111111011111111111111111111111011111111111111111111111110111111111110101111111111111110101111111011111111101111111111111111111111111111111001111111110101111111111101111011010111111111111111111111111101111011101111110111111111101111111111111111111111111111011011111111111011101111111111110100010111111011111111111111111111110101111111111111111110101111111111011101111111111111101111111011111110111111011110111110110111101110111111111111111111111111111111101111111111111111111110111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111101111111011101111111011111101111111111101111101110111111111100100110111111011111101111111110111111010111110110111101111011111111101111110110111111111111101111111111010111111111111111111111111110100111111111111100111110111111111111111110111111011111111111111111111111111101011111111111110111111111111111101111111111111111111111111111111111110011111111111101011110111111111111111011111111111111111111111111100111111111111111111111011110111111111100111111111111111111110101101111011111111111011110111111111111101111111111111111101110111111111111111111111111111111011111110111110111111111111111111110111111111010011111101111111111111111111101111011101111111101101111111111111111100111110111111111111111111111111111111111111111111111111111111111101111111111011111111110111111111101111111111111111110111111111110111111011111111111110111111111110111101111111111111111111111111111111111111111111111111111111111111110110111100011001011101101110111111011011111101110111111111111011111010111111111111111111111111111111110111111111111111111111111111110111111111111100111111111010111111111111111111011111111110111111111101111111111101111111111110111011111110111110111111111111111111111111110111110111111111111111101111111011111011011111111110111111001111111011111111111111111111111111111111111111100111111111111110111011111111111111111111110111101111111111111111110100010111111111111111111011110111111111011111111110111111111011110101110011111110111111111111111111111110111111111111010111111101111111011111011111111111111111111111011111111101111111111111111111111111101111110111101111111011111101011111111111111111111111111110101111011110111111101111111111111011011111101111111111010111111111111010011111111110111111101111111111111111110110111111010101101101111110101101111111111111111011111111001011110010101111111111111111111111111111111111111111101111111011111111111111111111111100111111111111111111111111111111111111111111111111100111001111111111110111111110011010111110100111111111111111111111111111111111011111111110011101110100111111111011111111111011001111111111011111111111111111111111111111111111111111111110111111011111111111111111111111111110111111111110111110111110111101111111111111011011111111111111111011111110111011111111111111111111111111111111011111111110111111111111111111011111111111111111111111011111111111111111111111111111111111111111101101111110111111111111111111111101111111111110111111111111111111111110111111111111111111110111111111111111110110111111111111101111111101111111111111111111101111011111111111011111101111111111111111111111111111111111111110111111111111111110111111111101111111111111011111111111111111111111111111111111101011111111110111010111111110101101110111111111111111111111001111101011101111111111111111111101111111111101111111111111111111111110111111111111111111111111111111101111111111011111111111111111111111101111111011111111111111111111111111111111111011011111111111111111110111101111111011101111111111111111111110111111111111111111111101101111111111111111111110101111111111111011111110110101111111011111111111111011111111101111100111111011111111111111101110101111111000111111111111101110111101111111010111111111111111111011110111111111111111110111111111111111111101101111111111111011111111111111111111111111111101111111111110111001111111111111111011001111111111111110111111010101111011111111111110111111111111111111011111111111111111111111011111111111001111111111111011111111111111111111101111111111110111111111111111100111110111111011111111110111111111111111111111101111111111111111111110111110111111111110111111111111111111110111101111011110111111111100111111011111111111111111111111111111111110101110111111111111111111111111111111111011101111111010011111111111111111111111111111111111110111111111101111101111110111101111111111111110111111111111101111111101111110111111110111110111011111111111101101111111111011110011111110111101111111111111010111111101111111111111111111111111101111101101111101111111111111111101111101011011111111111111111111110111011110111111111010111111111111111101111111111110111110111111111111111111110101101111111111111111111111111111011111111111101111111011110111001101111011111111111110111111111101111111111111111111011111111111111111111111111111111111111111111111100101111101111111111101111101011111111111111111110111101111101111111111110111111111111111111111111111111111111111111111111111101111111111111111111111111101111111101110111111111111111111111111101010111111111111111101111000111110111111111111111111101110011101111111111111111111011111111101111111111101111111111111100111111111111111111111111101011101111011111110110111111111111110001111011110111111111101111110111111111110111111111101111011111010111111111111101000111111111111010111111111100111111111111111111011111111111011111111111111111111111111111111111100111111111111100111111111111111111111011111111111111111111101111111111111110111111111111111111111101101111111111111111011111111111110111101111111111111011111111111111111011111111111111111111011111111010101111110111111110101110110101111010111111111110111011101101111111111111111101111101111111011111111111111111011111111011011111111111111111101111111110111111111111010111111111101110111111011111110111111111111111100111111011011101111111111011111111111110111111111110111111111111111111111111001111110111111101111011111101111011011111111111111111101111110111111101111111111011111111101010111110111111111111111111111111111011101011011101101001101111111001101110111111111111111111111111111111111111111111111101111111111111101111110111111111110110111110111111111101111111111111111111111111100111111111111111100111111101011111101111011101111110111111111111100111111111111111111010111111101111111111111101111110101111111110111111101111111111111101110101011101110101101111011011111111111111111101011111111111111111110111111111111111111111111011011111111001111111110111111111101111111111011111111111011111111111101101111111111111111111101111111111111111111111110111111101110111110111100111011111111011111110111111111101111111101111111111110110010011111111111111111111111101111111111111111111101111111111111111011111111011111111011111111111111111011100110111111111111111110111100111110111111111111110110111011111111111111111110111111111111111111111111111111111111111111111111011111111111111111001111111111111111111111111111111111111111111110111111111101110111101111101111111111111111111111111111111111111101111001111111101111011111101011011111111111110111111111101111101011111111111110101111010111011111111011111111011111011111111111111111110111110111111101111111111111111111110111111111101101011111111101111111111011111111101101111111101011101111101011111111101111011111111111111111111111111111111111111011111001111011010111111111111111111111111110111111111111111111111111011110111111111111111011111111110111110110111110111111111111111110101011110011111111111111011011111111111111101111111111111111111111111111111111011111111011111111111111111111101111111001111111111111111111111111111111111110111111111111111010111111111111111111111111111111111110111110111101111111111101011011111111111111111101111111111111011110101110111110111111111111101110111111101111111111111111111111111111111011111111101111111111111111101111011111111111111111111111111111110111111111111111111111011111111111111001111111111111101111111011111011100111101111110111111111111111111111110011111111111111111111101111011111110111111111111011111111111111111111111111011111011011110101111111111011111111011111101011111111111111101111111111101111111111001111111111111101011111101011110111111111111011111110111111111111111111011011111111111111110010111101111111111011101111011110111110111101111111111111111111111111011111111111111111111111111001111111111111111111111111011111111101001101111111110111111110111110111111111111111111111111111101011111111111111111111111111111110011111101011111111111111111111111110011011111101111101111111111111101111111111111111111100101111111111101111111110111111111111111111010111110111111111011111101111111111111111111101111111111111111111111111111110111001111111111111111111111111011111110110011111011111111111011111101100111111111110111111111111111111111111111111011111111111111111011111110110111111110111111101111111101111101111111111101111111011011101111101111111111100111111101011111011111111111101111111111111111111111110110111111111111111111011111111111111110111111110111111111111111111111111111011111111111111111111111111111111111111110111111111110010111111111011110111111111110101111111110111101111111111111111111111111111111111111111101111111111110101111111111111111111111111111100111111111101101111011111110110111111111011111011111111111011111110111111011111011111111111111111111111101111111111111101111111111110111111111111111111111111111111111111111111111110011111111110111101111111101111111101111111111111111101111111111111111111111011111110010111011111101111111101111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111101101110111010111101111111001101111101101111111110111111101011111111111111111111111111110111110111111111111111111111110101111011110111111111111001111111111111101111111011111111111111111111111111111011111111111111111111111111011111111111011111111011111111111111111111111110110111011111111111010111111111011101101111101111110111111111111011111101111101111111111111111111111111110111111001111011010111111101111111110111111111111111111110111111111111001111110111101010111110111111101101111111111111111111111101101111110110111111111011111100110111111111110111110111101011011111111111111101111011111111111011111011111111111111111011111111110111111111111111111110111111111111111111111111110111110101010111111111010111111011111111111111111000011011011111110111100011111111011111111111101111111111111111101101111111111101111111111111111101111101111101111111111111111111111111111111111111101111111110111101101101101111111111111011111011111111111111111111111111111011111111111111111011101101111111011111111111111110111110011101101011111110111101011011111110111111011111111111111111110110111110111111110111111111111111111100011011111111111111111111111111111111111111111111111110110111111111101011111101010111111111111101101100011111111111111111011101111111111111101110111111111111111111111111111111111111111111111111101111110110111111110101111111111101011111111011101111111111011011111111011111110111111110111111111111111111111111111111111111111111111111110111111111111111111011110111111111101101110111101111110111111111110111111111111111101111111111110111111111101111111111111111111111111111111111111111111101111101111111111111100111110110111011100111111111011101111111111111111111111111101111111011111101101111011111111111111111011101001111111111111110111111111111101111111011111111111001111111101111110111111111111111111111111011001111111111111101111111111101111111111110111011111111111111111110111111111111111111111110111111111111111111111111111001010101111110111101001111111011011111101111111111111111111110111011111111111111111101111111111111111110101111111111011111111011111111111111111111111101111111111111111111111111111110111011111111111111111111111010011111111110110111111111111111110101011111111111111111111111111111111111111111111110111111111111101011101111101111101111011111111111110111111111101110111111101110111111111011111111011111111010100111110011111111110111111111111111111111110111111111111111111111111111100111111111111011011111111111111111011111011110111100111111111111110111111111111111111011111111011111111111111111111111110111111111111111111011111111111111101110101111111011011100111111101111111011111111110111111111111011111101111111111111111111001111111111111111111111111111101111110011111111111011111111111111111111011111111111111110111111111111111111111110110111111011111111111011110111110111111101111111111111111111110011101101111111110111111111111111101111111110011111110111111111111111111111111111111111111111111111111110010011011101001101111111111111111111111101101111111111111110111111111111101111110111101110111110111111111111111011111111111111111111111111111111111011100111111011111111111111111111111011111111111011111100111111111111111111111011111111111111111111111011111111111011111110111111111111111111111111111111111111111111111111101111111111111111111111111111011111111011111011111111111111101110111111110111111111111111011011110111111111111111101111111111111111011111111111110111111111111101111111111111111111111010111100110111010111111011111111111011111111110111111011111111111111111100111111111111111011111111101111111011111111111111011111111101111111111110111111111111111111111111111111111111111111111111111111101011101111111111111111111111111111111010111111011111111111111111010011111001101111111111111111111110111111111111111111111111111111111111111111111101111111111111110111111111101011111111111111111101111101111111101011111111111111111111111110101100111111011010110111011111111111101111111111111111110111111011011111111110111011111111111111111111111110011111101111111111111111111111111111111111111111101111111111111111111101111101111111111101111011111111011011111111111111111110111111111111011110111011111110111111111101111111101111111111111111111111111111101111111111111111111111111111111111111101011111111111111110011111111111111111111110111111111111111101111111011111111111111111111111111111111111111111111110111111111111111111111101101111111110101111111111111111001111111111111111010111111111111101111111111111101101111001111111111110110110111110110111111110111110011111111111111111111111110111111101111111111111111011110111111111110110011110101111111011111111111110111111111110111111111111111111111110111111001111111111111111111111110101111111111111110011011110111101111111101011111000111111111110110111111111111111111111111111111111111111111111111110011111111111111111110111111111111111111111111101110111111111111111111111111111111111110011111011111111110111111001111111111111111011111111101111011111111111111111111101111111101101110111111111110111111111101111111111111111111111111111111111110111111111111011011111111111011011111111111011101111111111111111101111110111111111110011111111111111111111111111101111111111111111110111111111111110111111111111111111111111111111111111110111101111111111110111111111111111111111111111111111111111111011110111111111011011111111111101101111101101111111111111111111111001111111011111111111111111111111101110111111111111111111011111111111111111110111111111101111111111111011110111111111011111111110111111111111110111111111011111111111111011011111011101111111101101111111111111111110111100011101111111111101111111101110011111001101111111100111111111110101011111111111111111111111111110110111111111111001111101101111111101111111001101111111110101111111111111100111011111111011011111111111111111111111111101011110111101111111111111111111111001111111111111111111111111111111111111111111011111111011111111111111111111111111111111110111011111111111111111111111110111111101111111111111011011101111111101111111101111111111111111111111111111101111111011111111111111111111111111100111111111111111111111111111110101111111111111111111101111011111111100111111111111111011101111101111111111111111111111111111111111110110111111111111111111111111111111110111100111110111110111111111111111111110011110110111111111111111111111111111111111111111111111111111111101111111111111111111111110111011111011011111111111111110011111111111111111111110010111111111111111101110111111111111111011111111111111111111111101111001110111111111111111111101111111111110011101111111111111111111110101111111111111011110111111100111111111111111111111011111111111111110011111011111101110101101111111111111111011111011110111111111111101111111111111111111111111011111111111101011111111111111111111111110101111110111111111111111111111111111111111111111111111111111111111101111110111111111101111111111001111111111111111111011111111111101111110111111110111111010110111111111111111101111111111111111111111111111111111010111111111111111111111111011111111111111111111011111111111101110111110111111111111111111111111111111100111111111110110111111001111111111111111111111111110111101111111111111111110111111111111111111111101011111011111111101111101101111111111111110111011111111011011111111111111111111110111111111111110111111111011111111001111111111111111111011111111111111110111111101111101111111110101111111111111111011111111110111101111111111111111110111111111111011110110111110101010111111101110111111011101111111010111111111111111111111011111111111111111111111111111100110111111111111111111111011111111111111111111110111111111111111111111111111111111111111101111111111111111011111111111111111111011011111110111110111111111110111111111111101111111111111111111111111111111111111111111111111111101110111111111111111111111111111111111011111111111110111111111111111011111011111111111111111100111101111111011110111111111111111111111111110111100101111110110111111111011111111111111111111010111111111111111111111111111111111111111111101101111111111111111111011111110111111110111001101111111111111111110110111111110111111111111111011101111110011111111111111111111111111110011101111100111111011011010111011111101101011111111110111111111111111111111111111111111111111111110110111111111110111111110111111111111110111111111111111111011111111111110111100111111111101111111111111110111111011111111111111111111110111111110111111111111011101111111111110110111111011011111111111111111111111111101111110111111101111111111011101111111111111111111111111111110111111111111111110111111111111111110010101111111111111110011110101111011111111111111111111111111111010111101111111101111110111010110111111111110111111101110011111100111111111111111111111111111001111111111111111111011111101111111011111111101111111011011111010111111111111111111110111111111111011111111111111111111110111111101111111111111111111111110101111111111111111111111011111111111111111111111101111111111111111011110011111111111111111111111111111111111111011111111111111111111111001101111111111111101111111111111111111111111111111111101111111111001000111111111011111111111111110111011111111111111101111111111011110111111111111111011111111111111101111110111111111111110111011111111110111111111111111111111111111111111111011111111101111011111111111111111111111111011111111111101111111111111110111111111111110111011011111111110111111111111111111111111111111101111111111111111111110101111111111011111111011110110101111111111101111111111111111111111101111111111111011111111111111111111111111011111111111111111110111011111111111011110111011111111111111111111111111111111100101111110111111111111111111111111111111111111001111110111110111110011111111111011111111111111111111111111111111111111101111101011111011101111110011111111110111111111111111111110111111111111111111011111101110101111111111111111111110111110101111111111011111111111111111111111111110111111110111111011111111111111111111111101111111111111111111111100111111111111011111111101111111111110111111111111110101111111111110111111101011110110111111111111101011111111111111010111111111111111111110111111111111111111111011111111111011101110111101110110010111111111111011111111101111111111110100111111111111111111011111111111111011011101111111111101111111011011111111111111111110111110111101111111110101111111111111111111111110111111111111111111111111110110111111101111111110110111111111111111111010111111100101110111111101110111111111111111111111111110111101011100101111111101110111111111111011111011111111011011111111111111111110011111111111011110110111111111111011110101011111111101111111110111110111111010111101011110111111101011111111111111110111111101111111111111111111111111011111111101101101111111110111111111011111111011111111111010111111111111111111111111111111111101110101111111011111111111011111111111111111111111111111011110111111111111011111110111111011111111011011111111111011111111111111111111111111111111111011111111101111111111111111111011110111101111111111111111111111111111111111111111111011111111111111111111111111111111111111101111111101101111111011111111011111111111111111111111111111111011110111111111111111110111111111111110111100110111111110111111111111111111111101111111111111011111111111111110111111111110110011111101011111101111111111101111111111111111011111111111111100111111111111111111111111111111111111111111111111111111101101111111101111111111111111111111111111101111111111111111101011101111110111111111110111111111111111101111111011111111111111111111111111110111111111111101111101111111111111111111110111101111011101011111110011011111111111111101111111110001100111111110111111111111111111111010111111111101011111101111111110111011110101111101111111111111111111111111111111111111011101110011111111110111111111111111111111110111111111111100111110111011111011110111110111111110111111111111111111111010111110111111111111111111110111101101111111110111101111010111111111111110011111101011110111111111110111111111001111111111111111011111111111101111111011111111111011111100111111111011111110011111111101111111111111111111111111111111111101101111111111111101111101110111101111111111111011111011111111011011110011111111101111111111111111111111111110111011111111111111101011111011111111111111111111101111111101111111111111011111111011111111111111111111111011101111111111111001111111111111111111101111001111111111111111111111111111110111111111111111111111111110111101101111111111111111110111111111111111111111111111111111111111111111111111111111001111110111111111111111011101100111111011111110101111101101111111111111111111111111101111111001111111101111111111111110111111111111111111111111111111101011111111111111111011111110111111011111111111101111111101111111111011111111111111111111111111111011111111111111111111111111111110111110111111111111111110111011111101111111111111101111110111111101111111011111111111111111111111110111110111111110111001011111111101111111011111111111111111100001111110111111111011111111111110111111111001111111111111111101111111111111111111111011110111111111110111111110011010111101111011111111111111111110111011010111111110101111011111111011100111111111111011110101110101111111111100110110110111111111111101101111111111101111111111111011111011111110111111111111111111111111111110111111111111111011111111111111111111111111011110111100111110111111111111111111111111111111111111111101011111111111111111111111111111111111111111011011111100101101111111101111111111111011111111111111111110101111111111011111111011111101111111011111110111111111111111110111111011111111001111111111111111111111111111011011111111111110111111111110111011110111111111011111111110011101110111111111111111111110111111011111111111011111101111111111101101111011111111011111111011111111111011111111011011111111111111011111111110101111111111111101111111111111111101010111101111111111111110111110111111111111111011111111111111111110111111111101111011111101111111111111111011111111001111111111111111111111111111111111100111111111110111101111111111111110111110111111111111111101111110111111111111111111111111111111011111111111111111111111111111111011110111111001111111111111111111111100111111111111111111111111111111111111111111111111101111011111101110111111011111111111111111111101111111111111111111101111111111110111111111111111011111111111111111111110111111111111101111111111010111111111111111111111111111010111111111011111111111111111111111111101111111111111111111111110111011101111111111011111111110111111111110111111011111111011111101111111111111011111111011111111110111111111111111111111111111101101111111111011101111011111111111011111111011111111111110111110111111111111111111111110111111111111111111111111111111111111111111111111111011011110111011111111111111111111111111111101101111111111101111111111111111111101111111111111110111111111111111111011111110111111111111111111111111111111111111111111111111101111111111101101110010111111010111101011111111101111100111111101111111111111111111111111111111111111111111110111111111111111111111111111111111101011111111111111111110011111111010110111111101111110110111101111011111111111111011111111110110111111111111111111111111111110111111111111111111111111111111111110111110111111101101111101110011111111111111111111110101111011111011111111111111111111111111111111111111111101111111111111111111111111110111111111111111111111111111111111111111111111111111111110111111011011011111111111111110111111111111111111011111111111111111111111111110110111001011111110110110111111101111111110111111101111111111111011111111111111111111111111110111110110111111011111111111111111011111111110111111110111111111111011011110111111101111101011111101111111100111111101111111111101111111111110111111111111111111101111011101111111111110111101111111011011111111111111011111101111111111111111111011110111111111100111111111111111111111111111011101011111111110111111111111011110111111111111110111101111101001011110111110111111111111111111011111111111111011111111101111111011011111101111111111111111111111111101110111111111111111111111111111111111111111110111111101111111011111111111110111111111011111111111111111111110111111111111111101111111111111101111111111111111111111111111111011111101011111111111011111111011111111111111111111101111101111011111111011101111111111111110101111111111111111101101101100111011111100111101111111101111111011111111111111111111111111111100111111011111111111110111111111111111111111111111111011101111110111110101111111111111111111111111011111110101111111111111111100111111111111111111011111111111111111111110111101111110111111111111111111111111010011101111111111111111011111011111011111101101111111111111111011111111111111111111111011111111011111101111111101111111111111111111111111111111110111111111101111111111101111111111111111111111111111111110111001111010001110111111011111101111110111111111011111111111111010111111111111101110111111111110111111011110111011001111111111111011111111101111111111111111111111111111111111111101111111111111111111111111010111111111111101111111111110111110111111111111110111101110111111111111111111111111111111011111101111111111111110111111111111111110111111111111110101111101111111111111111111111111111101111111110111101111101111111111101111110101111110111111101111111110111111110111111111111111111111011111111111111110111101110111111111111101111101111011111111011111111101111111110111110111111111111111111011100011110111111111111111111111111111110101111110111110111111111011110111111101111111110011111110111111110011111111111111111111111110111111111111111100110111111111111111111111111111111111111111111111111111111111111111101111111111111111101111111101111110111111111111010111111100111110111111111111111111111011011111111111111111111111110111111111111111111111111111001011111111101101111111111111101111111111111111110111111111111111111111111110111000111111101111111011101111111111011111011111111111111111111111111111110111111111111111111111111111101111110111110111111111011111111011111111110011111111111111111011111111111111111101111111111111111110101111111111111111111111111111110110111111111111111111111111111111110111111111111111111111011111111111011111111111111111111111001111111111010111111011111111101111111111111111101111111110111111111111111111011011111111111111111111111111011111111111110110111111111110111111111111111111111111110111111111111111011111111111110101111111111111111111101111111101111110111111111111011111111111111011111111011111010111011011111111111111111110110111111111111011101111101111110111101111111111111111111111111111111111011111111111111111111011011101011111101111110111101111111111111111111011110111011111111111111111111111111101111101011111111111111101101111110011111111111110100110111110111111111111110011110111111111111011111111111111111111101111100111111111111111111011111111111111111111111111111111111111111101011111111111111110110111111111111111111111111011111111111111111011110111101110111111110111111110111111111111110101111111011111111011111111111111111111111111011011111111111111111111111101111011111101111111111111111111111111110111111101111111010111101111111100111111011111111101011111111111111111111011111101111111111111000111011111111111111111100111111110111111111111111111111111111010110111111111111111111111111111111111110011011111111111111111111110111111111111111111011111111111111001101111110111111111111111001111110111111111111111111111101101011101111111111110111011111111111111111111111111101111111111111111111111111011011111111010011111101111111111101111111111101111111111100111111111111111111110111111101111111101111111111111111111111111111111101111111111111111111111111111111111111111110011111101111011111111111111111001011111111111111011111111101011111111111111111111111111111100111101111111111111111111111111111111101111111111111111101111111111110111111101011111111111101111011111101111111011111111111111111111111111110111110111111101111111110111111111110010111111111111101111011111111111101111111011111111110111111101111111100111111111111111111111011110111111111111111111111111111111111111111111110110110101111101111101111111111111111111111111110111011111111111111111111110111111111111111111111111111111111111011101101101111111111111111101101111111011111111111011101011101111111111111111111111111110110111110111111111110111111111111111111111111111111111111111111111011101111110111111111111011111111111011111111111110111111111111111111110111111111111111111101111111111111111111111111111010111111110111111011111111111111111111111111111111111111111111111111111111011111110101111111111111111111111101111111110111111111111111111111110110111111111011111000111111111001111111111011110011111111101101111111001011111101111111111110011010111010100111111111111111100111111111111101111111111011111111111111111101011111111111111011111111111011111101111111111101111111101111101110111111111111111111101111111111111111111111111010111111011011111011101111111111111111111101111111111101101111011111111111111111111110101011101111111111111110001111111111111111111110111111111100111111111111111111110111111111110111111111101111111011111111111111110111011111111111111111011111111111101111111111111111111111011111101101111111101111111011111111111111111111111111111111101111111111111111111101101111111111011110111110101111111111101111111111111111111111111101101111111011111111011111111111111011111111110111011111100111111111111111111111111011111111111011111111111111010111110111101111111111111111111111111111011110111111111111111101111111110110111111011111101010111101111111111111111111111111111111111111110111111111101111111111001011110111011111111111101111111111111110111111111110111111111111111111111111111111111111101111111111111111101111111111011111011111111111111111110111111111111111011101111111111111111111111111111111111111111111011111111011111111111110111111111111111111110111111111011111111111111101111011110111111111111110111111111111110111111111111011110110101111111111111111011111110111111101111111111111111111111011111101111111111111111111111111011111111111101111111111111111111111111111111111111111111110111111111110110111101111011111111111111110111111101100111110111111101111111111111110111111111111111111111111111111111111111111111100111111101111101110111011111110110111110111011011110111111111111110011111011111011111111011111111111011011111111111111111111111111111111111101111111111111011111110111111111111111111111111111100011111111111011101101010111011111111101111111111101111101110111111111111111111111111111110110111111111111111111101111111111111111111111111011111101011111111111111111111111111111111111011011111111111111111110110111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111110111101111111111111111111110111011111111111111110111111111111101111111111111111111111111111111111110111110111110010001111111100111111111111111111110110111011111111111111111101101111111111111111110111110101111111111111111111111111111111111111111011111111110101111011111011011110111111011111111111111111110111111111111111111110111111111111110111111111111111111111111111111111101101111111011111111111111110111101111111111111101101111101011111111111111110111111111111111101111111101011111111111111111110110111111111111111011011110111101111111001111101111111111111111110011101111011111011100101111111111110111111111011011111111111110111111111111111111111110111111111100111011111110111111111111111111111110111111110111111111111110111101110111111110111111011011110101111111011111111111111111111111111011011111111111111111110111111011110110110111111011111101111110111111101111111111111111111011110111111111111110111110011111010111111111111111111101111111111111111101111011101111111110111001011111111111111111111111110111111111011111111111111011111110110111111111011111011111110111111111111111110011111111111110110111111111111111111011111111111111111011111110111111111111111110101111111111110111111011110111110011110111111101011111101111111111111111111111111110111101111111111111111111110111111110111111111111110111110111111111111111111111111111110111111111111111111101111111111001110111111111111101111111111111111011111111111111111111111101111111111111111101011111100110111110110100111111111011111111011011111111111111111111110111111111111011111111111111111110111011111111111111111111110111111011011111111111111111111111111111111011011111111110111111110111111111111111111111111111110111111101111111111111111111111011111111110110111111011111111111111111111111111110111111111011111111111101011111111111111111111100010111111111111111111111010111111110111011111111111101111111111111111011111110011111111111111001110110111111011111111111111111111111111111111111101111111101100111111111111010111110111111111111111111111111101111111111101101011111111111111111111111110111101111111011111111111111111101111111111111111011111111101111111110101111101111111110111011111111111111011111011111111111111110111111111111111110111111111111111111111111111111111111111011111111111111111101111111111111010111111111110111111111011111110111111111011101111111111111111101111110111111111111111111111111111111111111111111111110110111110111111111111111101111111111111111011111111110111111001111111111111111111111111111111111111111101111111111110111111111111011110111111111111111110111011111111111011111111111111101111111111111111111111111101110111111111111111111111111111010111111111111111011101111111111111111111111111111111110101111111111111110111111110111111111111111111111111111111111001001111111101111111111111111101001111111111111111111111101111111111111011111111111111111111111111111101111100110111111011111111111111111101011111111011111111111111111111101000111110001111111111111111101111111111110111111111111111111111111111111111101111111111011011111111101111011111111111011111111111111111110111111111111101111111011011111111111110111111111111110111101111110111111111111111011111110111101111111101111111111111111011111111111011101111111101111111011110111011110111111010111011111111111001111111111111111110011111111111101111111111111111111111111111101111111011111111011111111111111111111111011111111111111011110111111111111111111111111111110111111111101111111111111101111111111111111111111111111111111111111111111111101111110111011111111111111111111111111101111101111011111111111100111111111111001111111110110111011111101111111111111111111111111111111111111111011101111111101111111111111111111111111111111111111111011111111111111111111111111011111011111111111111111100010111111111111111111111111111110111111111111110111111111111101111111111111111111111100111111111110111111111111111111111011111111011111111111011111111111111011111101111111111111111111111111101111111111111111111111111111110111111111111111111111111111111111111101111111101011001111111111101111111111111111111111111111101111111111111111111101101100111111111101111111111111111011111111111111011111111111011111111111111111111101111111111111111111111111111111110111111111111111111111110111111011111011111111111111111110111111111101111111010111111111111111111100111101111111011111111111111101111111110001011001111111111111101111111111111111111111111111101101111101111111111111111111000011111101111110111101101011110111111111111111101111111111111111101111011010111101011110111111101111101111111111111111111111111110111111011111011111101111111111111111101111011111110111111111111111101111011011111110111011111111110111111111111111111111111111111111111111101110111111111011111111111111111110111111111111111111110111111111001111111011111111111111111111101111111111111111111111111110111111111111111111111111111111111110111111111111111111011111110110111101111111111011111011111011111111110111111111111111111101101111111111111111111111111111111111111111111111011011011111111111101001111111111011111111111111111111111111111011101111110011011111111111111111111111111111111111111111111111111111111101110111111111111111111111101111111011111110111111110111011111101111111111111111111011111010111101111111111111111111111111111111111111111111111111111110101011111111111100111111111111110111111011111001111111111010110111111111111111111111111100111101111110101111111111111111111001111101111011111101111111111111110111111111111111111111111001111111111011101111111111011111111111111111110101111111111111111111111111111111101111110111110111111111010111111111111111111111110111111111111111111111111111110111111110111001111111111110111111110111101111111010111111111111111011111111111101110101111111111011111111111111011111111110111111111111111111111111101111110111111111111111111101111111110111111111111111111111111111111111001111111111111111011101111111111001111111111111111010011110111110111111111111111111111011111111111111111100111111110111111111111110110111111111011111111111111111111111111101110111111111111001111111111111111110111111111111011110111111111111111011101111111111110111011111001111011111111111111111111111110111101110111110101111111111111111111111111111111011111111111110111111111111111111111111111011111111101011110111111111111111111111111111111110111111110110111111111111001111111011011111110111111111111110111111111111111111111011111001111111110111111111111111111111111111111111111011111111111111111111111111111111111110110110111111111110111111111110111111111011111111111111011111111111111111111111111110111111111111111111111111111111111111111011111101111110111101111111111110111111111101111111011111111101101111111110110111111111011111110110111111111111111110111111110111111111111111111111111111111111111111111111010111111111111001111111111111101111101111111111111101100111101111011111111111101111111111011111111110111111111111111111111111110111101111111101111111011111101111111111111111111111111111111111101101111111111101111111111111111111111111011011101111111111111101111111111111110111111111110111011011011010111111111111100111110111111111111111011110011110111111111011111110111111111111111111111101111111111110110111111110111110111011110111111111111111111111111101111111111110001110110011111111111111011110111111111111111111111111111011111111111110011110111111111111101111011110111111111111111111111011010110110101111011111111101111111111111111011111111111011111011111111011111111111111111111111111111111111111111111011111111111111111101111111111111111111111111111111111111111111111111111011011111111111111111101101011100111011111111101100111111111111100111111111111111111111111111110111110111100111111111110011111111111111111111101111111111111111111111111111111111111111111111111111111111111111111110111111011111111111101111101011111111111111111111111111111111111011111011111111011111110110111011111011111111111111011111111101111110111111111111111111111111101111101111110111011111111111111111111111110111101111111111011111111111111110111011111111111111111111111011111011111110111111101111111111111111111001111111111011111010111111111111111111111111111111111111111111011110111111111111111111111111111011111110111111101111111110110111011011111011111111111100101111111111111111111111110111110111111111111101111111111111111111111111101011011111011111111111101111111111111111111111110111101111111111111111111011111101110011011101111111111111111111111111111111011111111101111110111111111111111111111111111011111111111111111111011011111111111111011011110111110101111111111111111111111111111111101111111011111111111111111111111101011111111101111111111111111011101111110101111111011111111101111111011111111111111111111111011111110111111111110111101100111111111111111111111111111101111111110111111111111011111111111011111111011111111111111110111111111101111110110011111111111111111111011111111111111010111111111111101111111111111111110111110111111111111111111111011111111111111110111111111111110111111110111111111111101111110111111111111110111111111111111011111110111111011111011111101110111111111111111001111111111111111111111111111111111101110101101111111111111111111111111110111011110111111111010111101111111111111111111011111110111110111111111101111111111110111111111111111011111111111111101111110110111111111111101111010111111111111111110111111101111111111110111111111111111111111101011111111110111111111111111110111111111101111001101011111101111111111110111111111011111111110111110111001111111111011111111111011011011101111101111011111111111101101101111111111111111111111111110111111111111111111101101111111111111111111111111111111111111101111111111111111111111111111111011100111111111111111111111111111110111111101010111111100111101111111111111111110011111111111010111100111111101111111111110111111111111111101101111111011111111111111110111111111111011110111111111111111111111111101111111111111111110111111111111111111101101111111111101111101110111111111111111110111111111111011111111111111111101111111111111111111111111111111111101111110111001111111011011111111111111111111111011010111111111111111111111011111110111111111111111011111111111111111110101101111010111111111111111111111111011111111111111111111111110111111111111110101111111111111111111111111111011101111110111111111111111111101111111111111111111111111111111111111111111111111011111111111011111111111101111111111101010111111111111111110111011111110011110111011101111111111111110111111111111111110100111111111111111111111111111111011111111011111111111101111101111011111110111111111111111111111111111111111110111101111111111111011110101101111111111111111111111111111111111101011111111111110111101111111111111111111101111111111111111111101110111101111111111111101111111111111111111111111111111101111111111111111111111011111111111111011111111111111111111111110111101111111101111111111111111101111111111111111111111111111110111011111111111111111111111111010111111011101111111011111011110111111111111110111111101110111111111111111111111011011111101011111111111111111111111111111111111111111111111011011111111111111111110111110111111111111111111111111111110101111111111111111010111100101111111111111111111111111111111111111111111101111111111111100110111101111111111110111110110110111111111111011111111111110111111111111111111111110110111110111111101111111111111111011111111110111111111111111111111101111111110111111111111111111111111111111111111101101111110111111111001111111011111110111111111111111111111111111111111111111111111111111111111110101110111111111110111111110100111111111111111111111111110011111100111100111011111011111101111111111111110111111111101111101100111111111011111111011101111011011111111101111011111111111111011111111110111111111011011111100111111111111101111111111101111111111111110011111110111111110111111111101111111101101111110011010110111111111111111111111111111111111111111101011111111111111111011111111111011111101111111111111111111011111111111111111111111111110111111111111111110011111111110111111101111111111011110111111111111111111111111111111011111111111101111111111101111111111111101111011111111111111111110111111111100011111100111111111111111111110111111111111111111111110111111111111111111110111111111011111010111011101111111011111111011001110111111111111011111011100111111111111011111011111110111101111111111111111011111101111010111011111101111111110011111111011111101111111101111111111111111111111111011111101111111110110111111111001101111110111111111111111110111111110111111111111111111110111111111111111111111110111101111111111111101111101111101111111111111111111111111111111111111111111111111111111111111111111101011110111011111111111111111111111111111111111111101111101111111111101111111110111111111111101111111111111101110111101111111111111111111111011111011111111111111111111111111111011111111111111111111111111001111111111111111001111111111111011111111111111101111111111111111111111111111111111101111111111111110111111110111111111111101011111011111111111111111111111001111010111011101011110111111101101111111011111111111111111100111011111011111111111111110111111111110110011101111111111111111111110111111011011111110111111111111111111111111111111111111111110111110011111111111011110111110111111111110111110111111111111111111111111101111111111101110111011111111011111101111111111101100111011111111110111111111111111111111111111111101011111111110101111111100111111111111111111101101111111001111111111111010010111101011101011111111111111111111111111111111111101111111111101111111011111111111111111111111011011111111011111110111111111110111111111011101111111110111110111111111111011101111111111111111111111011110111110111111111111011111111110111111101110111111111011111111111111101111111111111111111111111001011111111111111111110111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111110101111111111111111111111111010101111111100111111110111111111111111101111111101111101111011101111111110111111111111111111111100111111101111011111111111111111111111111111111011011111111101100101111101111111111111111111111111011111101111111110111111111111111111111111101111111111111111111100111111111111111011111101011111111111110110110111111111111111111111011111111111111110111111111011011111111111111111111111010111101111111101111111111111111111111111111111101011111111111011111111011111011111111111011111111111111111111111111111011010111101111111110111111111111111101111111111011111111101111111111111111111111101111111111101010111111110111111111111111101111111111111111111110111111110100111110111111011101111111011111111111101101111111111111101111111111111111111111111111110111111111111011011101111111111111111011101011001111111111101111111111111111111101111111111101011011111111111111111101111111111111110011111111111011110101111111111101101111111110111111111110111111111011101111111110111111111110011011110111111111111111111111111111111101111110111110101110011111011111111111110111111101111111101111111110111111111111111111110110111111111111111111110011110111111111111111111111111111111110110111111111110111111111111101011110111111110101110111010111111111101111011111111111111111111111111111111111011111111110111111111001100011111111111111111111111111011111111111111111111101111111111111111110011111111111111111111111111100110111110110111111111011111111101101111111111110111110111100111111111111111111111001111111111111111111111001111111111111110111111101111111111110111111101111111011111111111111110001101011111111101101111111011101111010111111001111101101110111111011111011011111111110110111011111111111111111110111111110111111111111111111111101111111111110111111001111111110111111111100111111111111111111111111111101111101111111111111111111111110111101111111111111111111111111111011111101111111011111011111111001111111111010111111101110111011111111111111101111111101111011111101011011101111110111111111111111111111111111111111111001111011111111111111111111110111110100111110011111101111111111111111010111111111111111011111110111011111111111111111111110111101111111101111111111111110111111111110011111111111111101111101111111111111101111110111011111011111111011111111111111111111111001101101110111111111111111111010111111110111101101111001111111110111111111111111101011111110111111111111111011110111111111111111111111110111111111110111111111111101111111111110111111111111101111111111111111111101111111111111101111011111101110011101111101101111111111111111111111111111111111111111111111111111111111111111011111111111110011111111111111111111111011111111111111111111111111111101111111011111111110111111111111011111101111111111111110101111111111101111010111111111111111110111110111111111101001001111110111111111111111110111010111111111101110111111011111011111111111111111110011111111111010011101110101111011111111111111111111111011111111011111111111111111111101001111111011111111101111111101011111101111111111110111111111111111111111111111111111111111011111111001111011111111011111111111101101111011110111111111111101011111111111111111111111111111111111111011011111111111011111111111110111111111111111111111111111101111111111111111111111111011011111001111110111011011111111111111111101100111111111011111111111111110111111111111111111111111111111111110111111111111111111110101111011111111111011011101111111011111110111111101111111111111101111110101111111110111111111111111110111111111111111111111101101111101101111011111111111011010111110111011111101111111111111111111111111111101101111111111111111111110111111101011101111111111111111101111111101111111111100111111110111111101111111111111111111111111111111111111011111111111111111111111111111111110111111011111111111011111000111111111001111111111111111111111111101111111011111011101111101100111111111111111111111110111111111011111110111111111111110111110011100110111111111111111011111111111101111111101111111111111111111101111011111111111111111111111111111111111111111111111111111111111111111111111100111111111111101111111111111111011111101000011011111111001111001111111111111111011111111011011111111111111101111011111111111111011111111111111111111111111111111111001111111101111101111111111111011101111011111101111111111111101111111111111111111111111111111101101111111111111101111111111111111111111111110111111111110111111111111111111111111110111111111111111101111111111111111111111111111111111111111111111010111101111111111111111111101111111111111111011111110110111111111011111111111111111111011111111111111111111111111110111111111100101111111100101111111111011111111111101111101111110111101111101111111110111101111111111100111101011100111010111111111111111111010111111111111111101111110101111111111111111111101111111111111111111111111111111111001111011101111111111111111111110110111111111110111111111111111111111111011111111101111111111111111111111111101111111111111111110111111111111011111111111111111111111111111111101111111111101111011101111111111111111111101011110111011111111110111111111001111111111111011111101111111001001101111111111111111111111111110111111111111111110111110111101001111111111111111111111111111111111011111111011111111111111111011111111111111011101111111111110110111111111110111111111111111101111111111011111111111111110110111111011011101111111111111101110111111111111111101011110111111111011111111111111111001111101111110001101110111111111111111111101101111111110111111101111111111111111111110111111111110011111111111111111110011101110110111010111111010111111111111111111111110111111111111111111111111111111101011011111111111111111111101111111011111111111111111111111111110011110111111111111101110011111111111111111111111111111110111111110010111111111111101111111111111101111111111111111111111111111111111110101111110111111111111010111111111111111111111111110111110111111011010111110110110111011111111111111111111111111111111001111011111111111111111111111111111101111111111111111111111111111111101111101011111111111111111111011111111111111110111111111111111111101111111110111101111110111011111111011111111110111111111111011110111111111011011011111111111101111110001111111110111111111111111111011011111111111110011111110111111110101111111011101011111111101111111111111111101101011111111111111101111111001111101111111111101111111111110111111110111111111111111101111111101111111111101111111101011101101111111110111101011101111111111111111111111111111011111011111111111110101011110111111111111111111111110111101111111111110101111011111111111111101110111111111111111111111111101111011001010111011110111011111111111110111111101001011111111111111110111111111111111101111111111111111111111101101111111010011101111111101111111111111111111111111111111011111111111111011111011111111111111111111111111111101111111111111111111111111101111111111101111111111111111111111011111000011111111111111111111101101111111110101111111011111111111101111111111111111111111111110111110111111111111101111111010011110111111111111111110111111111111111111111111111111111111111011111111110111111111111111110011111111111101011111111111111111111011110101111111111111111111111111110111111110111111111011111111111011111110011111111111111110111111101111111001111111111001111111111111111111111101111101111011011011011111111111111111111111111111110111111111111111111111111111111111101101111111111111111111111010011111111111101101111111111111111111011111110111011111110111010111111111100111010011111111111111111111111111111101111111111111111111111011111111111111111111111101111111101111101111111111101111111110111111101111111111111101111111111011100111111101111111111101111111111110111111111110111101111101111111111101111111011111111111011111011111110111111111101111111111011111111111011111111111110111111111011111111111110111111111111111111110011111111111010111110110111111111111111101111111111111111111111111111111111111111111111011111111111110110111111111111111111111111111111111111111111001111101111101111011111111111110101110111111111111111111111111111111111111111111110111111111110101111111111111111111111111111111111111111010111111111111011111111111111111111111111111111111011111111111111111111111111110011110111011111111111111111111111101111111101111101111111111111011111111111111111111111110111111111111011111111111101111011111111111111111110101111110111111111010110101111111111111111111111111111111111111111111110111111111111111011011110011111111111111111111111111111111111110111111111001111111111111111111111111111111111111111101111111111111111110011111111111101011111111011111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111110111111101111111101111111111011111111101111111111111111101111111001101111110111111111111110011111111111111111111110111111111011101111011111111111111111110111110111111111111111111111111111110111111111110101111111111101111111101111111111101011110101111111011111111111111111111111011111111111010101111111001101111111101101110011110011111111111100011111101110110111110111111111111101111111111011111111111110111111111111111111111111111111111011111111111111111111111111101011111111111111111011111011111111101111110111011111111111111111101111010111111111111111111111111101111111111011111111011111101111001111111111111111111111111011111111011111111101111101110110111110111101111111111111110111111111111011111111111111111011101111111111111111111111111111111111111111111111101111011111111111111111111111111111111101101110111110111111111111111010111111111111101111111111111111111011101111111111110001111111111111111111111111111011111101111111111111111111111111111111111111111011111111111111101111111111011101111101111011111111111111111111111110101111101111111101110111111101111111111111111111111111011111111111111011111011111111011111111110111111111110111111111111010111111111011100111111110011111111111111111010101111110111111110111101111111011111011111111011111011011111111111011101111101110111111011011111111101101111111111111111110111111111111111101101111101111111110110111111111111111011101111101111111111101011111110111111011111111111111111111111111111111111110110101111111111111111011111111111110011111111111110011100111011111111001111101110111111111110000111111111111111111111011111111111110111111011111111110111101001111111111110111111110111110111011101111011111111111111110111111111111011111111111101111101111101011111111110101111111010111101101111111111111111111111111111101101111111111111111101111110001111111110101111111111111111111111111111111111101111101111111111111111111111111111101111111111111111111101011101011101111111111110111111101111111111111111111111111110111111111111111111111111111011111111111111111111111111111010111111111111111111111101111111111111111011111111111101111110111101111111101111111101111111111011111111101111111111110101111110111111111111111111111111111111111100011111101111111111111111111111110111111111101111111110111111111011011110111111111010111001110111111111111110011101111111111111111111111111111111111111111111011111111111111111111111111111011010101111111110011101111101011011111111111111111111111010001111111111111111111111111111011111111111111111111111111101111111011111111111111111111011111111110111111111111111111111111111110011011110110111111111111111111111111011111111010100111111111111111111101111010011111110111111111111111111011111111111111111111111111110101111101011111111111111111110111111111011101011111111111101111111111111111111010011111111111001111111111111111111111111111111111111101111111101111111111111111111111111110101011111111110101111111111110111111110011110111100011111111111111101111111111111111101011111101111101111111111110011011111011111110111111111111111110101111110100111111111111111111011111111101111111111111101111111111111111111111111101111111101111111111111111101111111111111110100111111111111011111111111111111111100011110111111011111111111101111111111110111111111111111111111111111101110110111111111011111111111111101011111111111111011111111110111111011111111011111111111110111111111111111111110110111110111111111111111001111111111011101111101111111110011111111111111101111110111110111111111111111111111111111111101111111011111111111111111110111111111110011011111110000101111111111101110111111111111111111110111111111011111111111111111111111110111011011111111111111111111011101111111111111111011111111101011101101111111010111111111011111111111111111011101011111111111111111111110011111101101111111111111011111010111111111111111111111111111111111111110111111111111111111111111101011111111111111101111111110111111111111111011011111111111011111111110111111011111111111111111111110111111111101011111111111110111111110111111111101111111111101111111111101011111111111111111011111111101011111111111111111111111111111111110110100011111101111111110111110111111111111111111111101111111111111111111111111101111010110111111111111011111111111111111111111110111011111111111101111111110111110011111111111111111111111111111111111111111100111111111101111011111111111111111111011101111011101111111111111111111111111111111111111111111111111111111111111111101111001111111111011101111110111111110110111111111101111111111011111111011111111111110111111111110111111111111111111111010101111111111111111111101110111111111001111011111111011111010111101100110111010011111111111111111111011111111111111101111011101111111101111011111111111111111110111111111111110111111111101111111111111111111111111111111111011111011111110111111111111111111111111001111111111111111111111011110111111111100111111110110110111111111111111111111001011111111111111101110111111111110011111111110111111111111111110111111011011101111111101111111111111111111111011111111111110111111111111101111111101101101111111111111111111111111101111111111101011111111111111111111011111111111011111101101111111111111111111111111110110111110111110111110111110111101111011111101111111111111111111011111110111111111111111111110111011110111110011111111111111111111110110111111110111110011011011111111111111111111111111111001101110101110111111111011111111111111111111111101111111111111111111111111111011111111110111111111111111111111111111111111111111111011111111110111111110111111111111101011110111111111110111111111101111111111111101111011111111111110111111111111111111111111111111101111101111101011111101111111111111111101111011111111110111011011111111111111111111111111111111111111111111111111011111011111011111111111011111111101111111011111011111111111111101111110111111010111111110111011111111111111111111011111111111110111101110110011111111111010001111111111011111111111111111111110111111111111111110101111111101111111101100111111110111111111111111110110101111111111111011111111111111111111111101111011111110110101011111111011101111111111101111101111011111111101111101111111111111111110111111010111011111111111111111111111111111111111111101111111111110111011111100111111111111111110111011111111111111111111011111111011111111011011111111111111111111111011111111101101111110111011000111111110111111110101111011111111111111111111111011111111111011111111111110111111111111101111111111110111111110111110111111111011111111111111110100111111111111011111111111111001111111111111111111111111101100111011111011111111111111111101111111111111111111111110100111110011011110111111111101011111111111111111111111111111111110011111111111111101110101111101111111111111111111111111111111111111111011111111111111111001110111011111111111111111111110111111001111111111111111111111111011111111111111111111011111111110111111110011111111111111110111111111111111111111111111111111111111111111111111111111111111110111111111011111011111111111111010111011111111111111111111111111111111011011111111111011101111111111111111111111101111111111111111111101111111111111111011011111111111111111111111110111111111111111111110111111101111011111111111111111110111011011110111101111101110111111111111111111111111111111111111111101011101110111111101110111111111111111111111111111111111111111111111111111111111001111110101111111111111111101101101101111111111111111111010101101111111101110111111111111111111111111111111111101111111111011111111111111111111111111111111111111111111111111111111111110111111111111110111111101111111110110111111111111111110111011110111111011111111101111111111111111101111011110111111011111111111111111111101101111111111111111111101111101111111111111110101011111111111011111111111010111111100111111110011111011111111111111111111101101111111110110111111111011101101011111011011101111111111011110110111011111111111100111111111111111111111111111110111110111111111111111111111111111111111111011110111111111101111111111111110111110111111111111101111110111111111011111111111111110101111110111100111111111101110111111011101111111111111111111101110101111111111100111111111111001111110111111111110011110111111010111111101011111100111111111111111111111111111111110111111111111111111111111111111011111111111111111110101111001111111111111111110011011111111111111111111111111111111111100111111011111111111111011111111111111111101111111111111111111111101111111111110111111101111111111011111111110111110111111111111111111111111110111011111111111101011111111110111111111111111111111111111101111111111111111111111111111111111111111011111101110110101111111110111111111111011111110111111111111111111111111110111011111111111111101111111111111111111111111111111111111111111111111011111111101111111111111110111111110111111011111111111110110111111111111111111111110111111111011101111111111111111111111111111111111101111111111111111111111111101100001111111111111111111111111110111101111111101111110111011111111100111111101111111111111111111111111111111111111110111111111110110111111101111111111111101111111111111101111100111011101111111011111111011111101111111111110011111111111101111101111111110110111111100111110011110011111111111011111111110111011011111111111111101011111111111111111111111111111111111111111111101111111111111111111111111111111111111111110111111111111111101111111111111110111111110111111111110110011111111111001110111101111111111111101111111111101111111010111101100111111111111111011111110101101111111110111100111111011110001110111111101111111111111111101111001111111111111101111111111010111111001111111111111111111111110111111101111111111111101111110011111111111111111100111111111111111011111111111111111111111011111101111111011111111111111111111111111111111111111111111111111111111111111011011011111111111111110011111111111111111111111011111111111010111111111101111111111011111111111111011111111111101111111111111111111111101110111111111101111111111111111111111111011011111111010111101101111111110111111111110111111111111101111110001111011111111011111010111111111111111111110111101101111100101011111111111111101111111111111111111110111111111111011111111111111111111111111111111111111110111111111111111111110111111111111101101111111101111111110011111111011111101111111101111111111101111111011111111110111111111111111111111111111111111111111011101111111111111110111111111011111101111101111111111111111111011101111101110111111111111110111111111111011111110111011111111111011111111111111111101111110111111111101111111111111111111011111111111111101110111111111111111111111111111100011111111111110111111111110111101101111111111111111111111011110011111111111110111111111111110111011111101111111111101101111111111111111110101111100110111111101101111111101111101111111111111110111111110111111111111111111111111011111111011110111111111110101111111111111011111111011100011101110011101111111101111111101110111111111110011101101110111111111111111111111111111111111011111111111111111101111110111111110111111101101111111111111111111111111101111101111111111011110111111111111111111101101111111101111111111111111111111111111111111111011111111010111111111111111101011011111011100111111011111111101101111111110111111111101111111111111111101111111111111010111101110111100011111111011111010111111111010101011111111111111110111011111111111111111111111111111111111101111111111111101111110111111111111111111101111111111111111111111111110111111111110111011111111111011011111101111110101111111111111111111101111111111111111111111111111011111111110101110011111110111111111100011111100111111110111111111111110111111110111111011111111111111101111111100101011111101111111111111111111111111111011111111111110111111111111110111101111111111111111111111111111110111111111111011000110111111111111111111111110111110111111111111111011110111110111111111111011111111011111111111111111111111111011111111111011111111100111111111111111111101111011111111011110111111011110111011111111111111101011111111111100111011111111111110111111011111111111111111111011110111111011111111111011110111101111111111111101111111110111111111111011111111110111101101011111111111111101111111111111111111111111111011111111111111111111111111111111111111111111011111111111101111110110111011111111110111110001110111101111111111111101111111111111111111111011111111101111110011111111111111111111111111111110110111101111110101111110111111111111111101011111110111111011001110110101111011111011111111110111011011011111101101111011101111101111111011111111111111111111111111111111111111111111111111011111110111111111111110111111111111111111111111111101111111111111101111111111111111111111110111101111111111111111111111111011011111111011111111111111111111111101111101110011111111111111111111111111110111111111111111111011111011111111111111111111111101111101110011111110101111111110111011011111111101111101011111111101101011111011111110110111111111101111111111111111111111111101101111111111111111111111110011111101111101110110111101111111111111101111111111111111110110111111111111111111111111011111110111111011111111111111011011111111111110111111111111111110111111011111111101111111111111111111111101111111111111110111111011111010111111111111111011110111111111111111111110111111111111111111111111111111110111111111101111111011111111111111111101111111111111110111111111101101111011111111111111111111111111111101111111111111111101111110111101111111111011111101111111111111111101111111111111111111111101111110111111101110101111111101111111111111111111101111111111111110111011111111111111111110111111111111111111111101111111011111111111111111111011011111111101011111111011110111111011101111111111111011001110111111111101111101111111111111101111111011111110101101111101111110111011111111011111011110111111101111111111111111111100001111101111111111101101111111011111111111111111101111111101111111110111101110111111111111111111111101111010011111111111011111111011101111111111111111111111101111110111111111111111111111111111101111111111111011111111111011010111101111101111111110111111111111111011111101111111111111111111110111111111101111111111111111011111111011111111111111111111111111111111111111111111111111111101111111111011110111111110111101010111111101111111111111111111111111100011111111011111011111111010111110110111111111111111111111110111111010101111111111111111111111111111011111001010111100111101111110111111111111111111111111111111111111111111101111101111111101111011110111101111111001111011111111111111111111111110111111111110111101111111111111101111111111111101111111111110101111111111111111111111011101111111111110111111111111101111111111111111101111111111111111111110111011111111101111111111101111111111101111110111111101110111111111101111111111101111110111111111111101111111111111111111111011111011101110111110111110111111111111000011111111111111111111111111111110111111101111111111111101111111110111111011111111111111111011110111111111111111111111111111101110111111111111111111111011111111101111111111100111111111101111111111111110111111101111111111001111101111011111111111111111111110101111111111111111011111111111101111110111111111111111111111111111111111110111011111111111111101111111111111111111111001011111111000111110111111110110111111111111111111111101111111111111111101101111111111111111111111101111011111110010111111111110111111111111011011111111111111101111111111111101111111111111111010111101011111111111111111110111111111111111111111111111111111111111111111110111111110111111111111111111111111011011111111111111101111111111111111111100111101111111111111100111011111111111111111101111011111111111111111111101111111111011011111111111111111111111111111111110111111011110111101111111111111111111001111110111001111110110111111111111111111001111110111111111111111111111001111111111011111111111111111111111111111101111111101111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111011111110111011111111011111111111111011111111110111111111111010111111111111111110101111101101001111111001111011111111111101111111011111111111111111111101111111111111111111011111111111111100111111011111111011111110111011111101111111111111111111111111111111111111111111111111111111011111101111111111110110111111111111111111111101111011111111111111111111111111111101111101111111111111101011111111111111111110111111110111111111111111101111011111111111011111111111011101111111111110111111111111111111111111111111110111111111111111111111111111111110111011111101101111111011111111111111111111111101111110111111111111111111111011111111111111111111110011111111111111111111101111110111110111110111110011111111110111010101111111111111111111111111111111101111101111111111111111110111111111011111111110011110111111111111111111111111111111110110111111111111111111111111110111111001111111111111011111111111111101011101111110111111110111111111111111111111111111111011011111111111111111111111110011110110111111101111111111110111111111110111101111111111011111111111111111111111111111111111111110111111111111110111111111111111111111111111110101111101111111111111111111111111111111111111010111111111111111111111111101001111111011101010011111111111111111111111111111111111010111110111110110110110111111111100111101111111110111111111111111111111111111111111011111111111110101111111111111111111111111111101111101101111111111111110111111111011111111111111111110111111111111110111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111110111111110111111011111111111111111111111111111111111111101111111111111111111111111101111111111110111111111111111011111111110011111101111011111111111111011011111111111011111110111100111111111010111111111111111010111111001110011011110101111011011110111011110111111111111111111111111111101111111101111111111111111111111111111100111111111111111111101011111111111111111111110111110111111111111111111111011111111111110111111110011111011111110111111111011111111111110111111111111111111101010101111111111111111111111101111111111111111111011111110111111111111110111111111111111110111111111111000111001111110111111100111111111111111101111110111111111111111110111111011101111111111111010110111111101111011110111011111111111111111111111111011111111111111011011111111111111111111111011111111111111111111111111111101111111110111111011111011111111011111111111111111011111011111111110111111111111111111111111111111111111111111111111110111101111111111111111111111111111101111111111111111111101111011111011111111111101101111111110111111111110111111111101110110111111110100111111111111111111111111011111110111010111111111110111111110010001111111111111111111111111111111110111110101111111111111111111111111111110011111110111111110110111110011111111111101101011111101111111111111111111111101111110111110111111111111011111111111111111111111111110111111111111110110111111101110111111111111111111111111111011111111111111111110110011111111001111111011011110011111011111111111011111111111111110101111110111101111111111111111111011111111011111110011111111111111111111111111111111111110111111111111111011011111111111111111111111111010111111101111111001111111111111110111111111110111111111111011010101101111111111110111111101111111111111110111101111110111111111111111111111111111111111110111111111101111111111011110111111111111111010011111111111111110111101100101111111110110111110011111111111111111111111111011111111011111011111111111111111111111111111101110111111111111011111111111111111101111111111111011111110111111111111111111111111110110111111111011111111111111111101111111111011000111111111111111111111101011111111101111111111100111111111111011111111111111111111111110011111111101111111111111111110111111111111111111111011111111000111101111101111111111111111111101111111111111101111111111111111111111111111111111111111111111111111111101111111111111011111111011010101111111101111111111111111101111111111111111101111111111111111011111111111111111101111111111111111111010111011111011111110111111111111011011111010011111111111111111101111111111111111111111111111111111111111111111111111111111111111110111111011111111101111111111111110111011111111111111100110110111111111110101110111010111011111111111111111111111111111111110111111110111111011011111111111111111111111111101111111111101111111111111011111111111110111111110111111101111111101011111111111101111111111111101111111111101011111011101111011111111111011111111111110111111111111111111111111111111111111011111111111111111111111111110111111101101111111111111111111110110111110111101111111111111111111111111111101111111111111111101111111100110111111011111100111111111111100111111111111011111111111111111101011111111110111111111111111110111011111110111111111111011111111111111011111111101111011111110111111101011101111101111110111110111111111111111111111101111111111111101111111111111111111111111111111111111100111110011111111111111110111111111111110111111111111111111111111101101011111111111111111111111101111111111110111111111111111111111111111111111010111111111111111111111111111111111111111111101111111111111111101111111111111111110111111111111111111011111111110111111001111111111111111111011111111111111101111111111111111111101101111111101111111111111111110111111111111111111101101111111101110111111111111111111111111111111111111100101111111111111111111111011111111111111111111101011110110101111111111111111111111111111111111111111111111111101111111111111111111111111111111111011111111111111111111111111110101111111111111111111111111111111111111111111110111111111111110011111111011001111111111111111011111000111111110111111111101111111111110101110111101111111111111101111011111111111111111011111111111111111101111111011111011101011111111111111111111101111111111111110111111111111110111110111111111111111011111011111111111111100111111111111111101010111111111111111110111111111011111111111111111111111110111111111111111111111111101111111111010111111011111111111111111110111111111111111111110101101111011111101111111111101111101111111111111111111111111111111111111111111111111111111111111111111111011111111111110111111111111111101111110111111111110111111100111111111111111110111111011101111101111110111011111111111111111111101111111111111110111111111111111111011111111111111111111111101111011111111111111110111011111111101111111111111111111111111111111111111100111111101111111111011111111111101111111111101010111111011111111111111111111111111101110111111110111011111111110111111111111111111111111111111111111111011111111111101111111111101111111110111110111111011110110111111111111011111111111111111111111110111111111101111111111110110111111111111111101111111111111011111111110111111111111111111111011001110101111111111111111111111011110111111111111111111111111111111111101111111111010011111110111111111111111111111111011111101111111110111111111111110111111111111111111111101101111110101111111111111111101111101111111111111111111111111111111111111110011111101111111111111111110111111111111110111111111101111111111111111111111111111110111011110111111111101111111111111111011111111111111101011111111111111011111111110111111101010111111111101111111011111101101011111111111111111110111111110111111111111111011111101100110101111111111111111011111111111111111101111111111101101111110101111111111111110111101111011101111111111111111111111111111101111011111111111111110101011111011111111101111111111111010111111111111111111111111111111111111111101111111111111111111111111111111001111101001111111110111111011111111101111111111111111011111011010110111011111111110111011111111111111011111110111101111111111111111111100111011111101111111111111011110111110011111011111111111111101111111111111101111011111111111111110111011111111111111111111111111101111111111110101111111111111000111111111111100111111111111110110101011111111011111111111111111111111101011101111111111011111111111110111111011011111111110111100111111111111111111111111111111101111111111111111111111111111101111111011111111111111010101111011111111111110111101111100111110111111111111111111111111110111011110111111111111111111111111101110111110111111100111111111001111110111111111111111111111111111111111110111110111000111110111111111111111111111100111111100111111111111101111011111111111111101111111111111111111111111011111101011101011111111111101011101111111111111111111111111011110111111111111111111011110111111111011101111001011111100110010111111111011111011110110111110111111011111111111111111110111111110010111111111111111111010111111001111100001111111111111111110000111110111011100111111101111111111110111000111111111111111001111111111111111111011111111111111111111111111111111110111111111010111111011110111011111111110011111111111101110111111111111111001110111111110111111101111110111011011111111111111011111111111111111111111111111101111111100111101101111111111111011111011111111111111111111011001111111011111111111111111111111111111111011111110111101111111111111111111111111101011111111110111111111111111011010111111111101111111111111111111111111110111111111111111111111101101111011111111111111110111011111111111011110110111111111111110111111111000111111111111111111111111111101111011111111110111111111111001111111111111111111111111110001111111111111111011111111111111011111111001111110111000111111111111101111011111111111111011111111111111111101111111110111111111111111111111111111111111111110111111111011101111110110111101011111110111110111111111101111111101111111111111111111011111111101111111100111111111110111111111110101111111111111111110111101111011111111111101111111111111111111111111111111111111111111111011111111001111111111111111111111111111101111011111110111111111010111011111111011111101111111111111111111100111111111111111111110111111111111101111101111110111111111111111111111111110011111111111101111111101110101111111111001111111111110110111111011111111111111011111011111111111110101110110111111111111111111111111111101111111111111111111111111111101111111011111101110110010111111111111101111101111011111111111111110110111111111110111111111101111110111111111111111111111101111111111111111111111011111111011111111011111111111111101111111111011111100101011111110111001111110101111011111111111111111110101111111111111111101110101111101010111111111111011111111110110100111111100111101101111111101111111111111111101111111111111111111111111111111111111111111011111111101111111101001111111111111111011111001111111101111011111110111111011111101100110111111111101111011110111111100111111110011111010111011111111111100111111111111111111111111111101111111111111111101111111100110111111111011111111111111011111111111111110111111111111111111111111111111111111111111111101011110111111111111111010111111101111111111111111010111111111111111011111111101111111111111110111111111111110111111011100111001101101101111111111111111101111111111110111111111111111111101100011111111111111111111111111111110011011111100111111111111111100111111011101101111111111111111111111110111111110111111100111111111111111111111111111111011111111111111111110111011110111111110111111011111111101111111111111111111111101111111101110111110111111111111111110111111011111111101010111011010111111111011111111111111111110111101111101110111111111111111110101111111001111111111111111101110101111001111111111110111111101111011111001111110111100110101011111111111111111111111111011111111111111111110111011111011111111111111111101111111011111111111110000111111111111111110111001111111111111111101111100111111111111111101111011111111110101111011111111111111111111011110111011111111111011111111011111111101111111111011111011011111101101111111110111111111111111110111001111111101111111111110111111111111011111111111111111111111101111111111111111011111111011110111111111111111111111111111111111111110111111111001111111111111111011110111110111111111111101111101001111111111111111111011111011111111110111011111110101111111111111111111101111110111111110111111111110111111111111111111111111111111110111111111111110111111110111111101111111101111100111111101111111111110111111111111111110001111111110111111011111111011111111111111111111111111111111111111111111111110111011111110111111110111111110101111101111111110111011111111110111111111111111111011111111111111111111111011111111111111101111111111111111001111111101101111111100111101111110111011111111111111100111111111111101101011111111111111111111111111101111111111111111011111111111100010111110100111111111111101111111011111011111111011111111111111011101111111111111111111111111111111111111111111111111111011111111111110111111111111011111101111111101111101111111111111111111011111111101111111111110111111111111111111111101111111111111111011111011011101011111111111110111111111101111111111011111011111111111110111101011111111101111111111110111111111111111111111111111111111111111111111111111110110111111011111100011111110110111111111111010111111111110111111111111111110111111111111111111111111111111111111111111011111111110111111111110111101110011111111111111101011111111111111111110111111110011111111111111111111111111111111111111110111111111111101111111111111111111111111111110101111110111110111111101100111111110111111111100111111111111111111111011110111011111111111101111111000111111111111101100111111111111101111111111111111111101101110111111011011111011111111111110101111011111111111111011111110111111111111111011110111011111111111111111101111110011111110111111111111110111111111111111111101111111111011111111101011111111111111111111111111111111111111011110110011111110111111111111111101111111111110101101111001111111111111111001111111110101111111110111110111111111101111111111111111111111001111010111111111101111111011111111111111111011101011111111101111110011111110111111111011111111111111101110111111110010111111101111011111111111101111111101011101111011111111111111101111111111011111111111011111110111110011101111101111110111111111011111011011111111111111111111111111111111011111011111111111110111111111111111101111111111111101011111111111111111111111111111110111111111111110111111111111111111111111111111111001111110111111111011111111111111111111111111111111111111111111111111011111111011111111111111111111010111111111101111111110111111111111111111111111111111110111111111111111111110110011111011111101110111111111110111011111110101111001111111111111110111111111111111101110111011111111111111101111111111111111111111111101111111111111111101111111111110111110111111111110111110110111111111111011101111111011111111101111101111011111111111111111111111101111111111111111111111101110011111111111111111111111110111111111101111111111011111111011111111111111111011111111011111011111111111101011111111111111111111101111111101111011111110111111111011111111111111111110011111111111111111111010111111111111111011111111111111110111011111110111111111111111111111111111011111111111010111111111111101111111111011101111111111111011101011111110111111111011110101111111111111110111111110111111111011011111111111111101111100111111111110111111111111011111111111111111111111111111111111111111111111111111111111101111111111111111110101111111011011101111011111111111011111110101111111101111111011111111111111111111111111111111111011111010111111111111111111111111100111111011111011010110111111101111111111111111111111111111111111111111111011111111111111111111111011100101111111110111101111101111110111111111111101101111111111111111111011111110111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111101111101110111111111111011111111101111111111111111011111110111111111101111111011111111111111110111111001111111111101111111110111111111111111111111101111111111110111110111111111111101111111101111111011111111111111111111111111110111111111111111111111101111110111111101011111111111111110111111111111110011111110111111111111011110111110111101111111111111111111011111111111111111111111111111111111111111111111111011111011111111101111000111111011111110110011111111111111111111111111101111111111111111101101111111111111001111111111111111101001111111011111111011111111111111111111111111111011111011111101111100101111111111111111001111111111111111111111111111110110011111110011111111111111011111111111111111001111111111111111111111110011110111111111101111111101110011111111011111111101011110111111111111111111011101111111111101111111111111110111101111111110111111111111111111101110110111101111111010111110111111111111110111111111011111110111011111101111111011111111111111111111111111110111111011111111110111111111111111101111111111111111111110111101111111111111111110011111111110111111111111110111111111011111101111111011100011111111111111010111111111111111011011110111111111111110111111111111111111111111111110111101111111111101111011111011111111101111111110111110011111110101111111111010101110111111110111011111111111110101111110111111111111111111110111111111111011111111110111111101111110110111101111111111110111111111011111100111111111111111111111101011111101111110111011111111111111111111111111111111111111111110111111111111111111110110111111111111111111111110101111111110110111111111111011111101010101111111111110111111111111101111111111001101110110110111111111111111111111011111111111111111111111111111111111111111110111011111111011111111101011011111111111111111111111011110111111111110111111111111011111111111110111111111110111110111110111111011111111111001111111111111011111111111011111111111111101111101111111111111111111101111011111111111111111111111111111111111111111101111111111111111111111101111111101111111111111011111111111111110111101111110111111101111111011111111111111111111111111111111111111101111111111111011111111111111101111011001011111110011111111111111111011111111111111111111111111111111101111101111111111111111110111111111011111111111111110111111111101111111111111111111111111111111111011111111111111111011111111110111111101111011111101111111111111011011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111110111111111111111111111111111111111111111111111111111101111011101101101111111111111110110100111111111101111111011101111101011011111011111111011111111111111111111101111111111111111111111111111111111111111011111111111111111111111101111111111111111111011111111111101111111111111111111111110111110101111111111111111111110111111111111111111111111111011111111111111111111111111111111111101111101101111111111111111111111111101111101111111111111111111111101111110111011110111111111111111011111111111111111111101101111111111011111111101111111111011110011111111011111111111111011111111111101101111111111111110111111111111111111111111111111111111111111111111111111111011111111111111111110111111111111111111111111111111111110111111011111011111111101110001110111111111011111111111100111011101111111111111011011111111111111111111111111111011101111111110101111111111110111101101110111111111111111110111111111111101111111111110111111101101011111111001111110111010010111110110111111111111111101011111111111111011101111111111111111111110111100111111111111101110111110111111011111111110011111001101111111111111111111111111111011111011111111111111011111111111111111111111101011111111111110111111111111111111111111111111011111111101111111101101011110111100111011111111111111111010111111111111111110111011101111111111111001011110111111110111111101111110111111110111011111111011111011111111111111111111111011110111111111111101111101111110110111111111111111011111111111111111111111111011111111011011111111111111111111010111101111111110111111111111111111011111111110111101111111111101111111111111101111111011111111111110111101111111101111111111101110011111111111111111111110111111111111111111111111111111111101101111111111111101110111111111101111111111111011011111111111011101111111111101111111111111011111101111111101111111101111011111111111111111111111011110111111111111111111110111110111111110101111111011100111011111111111011111101111111111101111101100111011110111111111111011111111111111111111110011111101111111110001111111111111110111111111101011110111111111111011111111111011011100111011111111111111111111111101011111110110111111111011111101110011011110111111111111111111011011111111111111111111111111011110111111110111101100111111111011111101111111000111111111101111111101010111100111110110111101101110111111111101111111111111011110110101111111101110101111111111111110111111111111101111111110111111111111011101101110111111011111111111111111111111101111110111111111111111101111110111111111111111111111111111111111111111111111111111111111101111111101111110111111101111101111111111111110111111111111111111111111111111111101111111111111111111111111111111111101101111111111111111111111110111111111111111111111111111011111111101111111111111111111111011111011111111101111011111101111101011111111111111111111111111111110110111011111111101111111011011111111010111111111111111111101111101111111111111111000111111111111111111111101111111111011111111111111111110111111111111111111111111111111111111111111111110111111110110111011110111111111110111111111011111111011111111111111011111110111111111111111011111110111011111111111111111111011111111111011111111110111011111110111111111111101111111110110011111111111111111111101111111111111101111111111101111111111111101111100110111111101111111111111100111101111111111111111111111111111111111101111111111011111111101111111111111111000111111111111111011110111111111111111110111110111111111101111111110110011011111111111111111110101010111111111111111111111111111111001111011111111111111111101111111111111110111101011111011111111111111111111111111111111111110111101011011111111111111110111111111111111111111111110111011110111111111111111111111111111110010111111111111111111111111010111111111111111111111011111111111111011101101111111101111111111111111111111111111111111101111111011011111111111111111111111111011111111111111111100111010111111110110110101111111111111111111111101101010111111111101101101001111110111111111111111111111111101111110111110111011111101111111101110111111110111111111111111111111110111111101110111011111111111111111111110001111111111111111111111111101111011111111111011111011111110111111111011111011101111111111111111111111111111111111111011111111111101111111111111011111001111111111110111011111111111111111111110111111111111111111111011111111111111111111111111101111111111111111110111111011111101111110111101111111111111111111111111111101111111111101111010111111111110111111011011111101011111111111101101110111111101110111111101111010111111111111111110111111111111111111110111111111111111111111111011111011111011111111111111111111111111110101111111111111111111100111101111111110111110111111111110111111111111111010101111101111111111111111111111110111110111100111011111110111111110111110111110111111111111111111111111111011111111111110111101111111111111111111111111111111110111111111111111111111111111111111111111011111111111111111011111110111111001111011111110011100111111111111111111111110111011111111111111111111111001111111111111111111111110111111111111111100111111011111111111111111111111111111111111110111111111101111111111101111110011101111110111111110111110111111011111111111111111110111111110111111111111111111111111111110111101111111111101111111010011110111111111011111111011101111111101111110101011111111111111010111110111111101110111011101111111111111111111111111011111111110111111000111111111111110101111011101111111111111010111011111011111011111111110111111111111101111110111111110111111111111001111111111111110111111011111111111111111111111111111111111011111111111111011111111111010111110111111111111111111111111111111111011011111111111111111011110110111100111111110111111111111111111111101111011111111111111101111111111110111111111111001110111111111111111111110111111111111110111111111110111111111111010111111111101111111110100111111111111010111111111101111111111111111011111111111111110111111111111111111111111111111100101111110101011110111110111101111111111011111111111111111111111111110111111110111111011111111011111101111111111111011111101101110111111111111111111111011111111111111111110111111111111011101111110011111111111111110111110111101111011111111111111011010111111110111111111111111111111111101111111111110111111111110011111111111101111111110011111111111111111111011111111111111111111111111111111011111101011011011111111111111101111111111111111011111111010111111111011011101111111111111111110111110011111111111101111111011111111111011111111101111111111111011111111111111101111111111111111111110111111101111111011111111111111111111111110111111111111111011010111111111111110111111111111111111111111101111111111111101111111111111111111111111011111111111011111111110110010101101111110111111111111110111111110111101111111111110111010111011111111111111101111111111100111111111111111110111111111111111111111111111101111111011111111101111111110110111111111111111101111111110101111000110111111111111111011111101011111111010011111111111111111111111111111111111111111111111010111111111111111110111111111111111110111011111111111110111111111111111111111011111111011111111111101111101111111011110111011111111111011111011111101111111111111111111111111111110111111010110111111110111101111111111101111111111111111111101111011111111111111101110110111111111111110111111111111111111111110110110111111111110111111111111111000111111111011111111111111110110111111111111111111111111100111111011111011011111011111111110111111110111111111111111111111101111111111011111111110101111111101111100111111011111111111111111111111111111101011110111110101111111111111111111111110111111011111111111111110011101111011011011111111101111111111111110101111111111111111111111011111110110111111111111110101111111111111101110111111111111111111101111111111111111111111101111111110111111111111111110111111111111111111111111111111111111111111111011111111111111011101111101101011111111111111111111101111111111111111011110111111111110101111111111110111111111110101111101111110111111110011101111111010111100110111111111111101111111111111111111111111101111111111111111111111111101111011111011111101111100011111111111111111100111111101111111111101111111011111111101101111111110111111111111111111111110111111111010110111111111111111110111011111111101111111111111011111111111111111110011110111111111111111111111110111010111111111011111101111111111110110111111111111010111111011111111111111111111111110111111111101111111001111110111111111111111111111111111111111011011110111111111111111111111111111110111110111111111011111111011111111111111111111111111100101111111110111110101110000111111111111111111111011111011111111100111111111111011111111111111010111111111111111111101111111101111111111111111111110111111111111111111011111011111111111111010101111110111101111011111011101111110111111111111111111111111111101111111111111111111111011111101111111111111111110111111111111111111111111111110111111111111111111111111111111111110111111111111011111111111011111111101101111011111111110011111111111111111111111111111110111001111100111101111111111111110111101111101111111111111111111111111111111111111011111111111111111111110111111111101111101101111111011011111111111111110011111111111111011111111111011101111111111111111111111111111011111111111111111111111011111111111101111111101111111111111011110111111111111001111111111111111111111111111111111111111110111100111110111111111011110111111011111111111111101111111111110111111111111111111101011111111111101111111110011110101111101111111011011111111111111111011110111110110111101111111111111111111110111111111111111111111110111111110101111111101111111101111111110111111111111111111111111111111011111111111111111011111110111111110101101111110111111111111111111111111111110111111111110111111111111111111111101111111111111111011111111111011111111111101010111011111111011111111111111111111111111111110101110110111111111111111111111111110111111111111011111011111111011110111111111110111111111011111111101111111111111111111100111111110111111101111111111111111111101011111111110111110111111111111111111111111111111111111111111101111111110111111111111001111111111111011111111111111111111110111111111111111111111111111011111111111100011010111111111011111111011010111111111111111111111111011111110111111111111111111111101011101111111111111111111011111101111111111011110111111111011111111101111111111111111111101011111111110111111111110110111111011111111111111111111111110011111111111111111111001111111101011111111011111111111111111111111101111011111110101111010111111101111111111111110011111111111011111111110110111111011011111101110111111111111011111111111111111111110111111011111111100111101111011111111111111111101111110111111111111111111111111111111111111111111111111101111110111101111111111110111111111111011111111111111111111111111111111111101111111111101111111111111111111111111111111111011101111011110111111101100011100111111110111111101011111111111110111111111110111101111111011110011101111111111011010111101111111011111111111111111101011111111111111111110111110111111111111111111111111110111111111111111101101111111100111100111011111111111101111101111111111111111111111111010110111111110111111111111111111111111111111110101111111111111111111111111111111111111111001111111110111111111111111111111101101111011111111111111110111111111101111111111111111111011101111101111111101111111111111111111111111111111111111111101111111111111111011101111101111111111110001101111111111111111111111111111111110101111111111111111111101111111111111111111111111101111111111111111111111111111111111111111111101110111111011110111111111111111111101101111111101101111111111111101111111111111011101111111111111111111111111111111111111011111111111111111011010111111110111010111111111011111111111111111111111111111111011111011111111111111110111111111111111111111111111101011111111111111111111011101111111111111111111111111110111011110111101110111111111110011111010111111111111110111111011110111111101111111111111110111111111111111110110111111111101111111101110110111111111111011111101111111111111111111111111101111111100110111111010111111111011111111011111111111111111111101111111111111101011111111111111111111011111111111011111111101111111111111111111111011111101111111111111111000111110110111110111011111110011111111111111111111111111110111111111011011101111111101111111111010111101111101110101111111111111110010101111111110111111110111001111110110110111101111111101111111111111111111110011111101101111111111111111111111111111111111111111111011110111111111011111101111101111111111111111111111111111111100111111011111011111111101111111111111111111111110111011111111111111011111101111111101111111110111111111111111111111111110111111111101011101011111111101110011110111011111101111111111111111111111111111011111111011111111111111111111111101111011111111110111111111111110111111111101010111111110110111110011111111111111101011111101111110111111111110111111111111111011111101111011111111111111111101111110101011111111111111111101111111111111111111111101110110011011111011111111011111010111110111111111111111101010110111111111110101111111111111111011111111111011111111111111111111111111110111111100111111110110111111111111101111111111111111111111111011111111111111110111111111011110111111111111111101111011101111110111111111111011111111111111010111011011111011011111111011111111111101111100111011011111101111111111101111011111111111110111111100101111111110011111011101111111101111111111111111111111101110110111111111111111111111101111111111111111111111111110111111111111110001011111111111111011111111111111111111111101110111111111111111110111111111100111111101111111111011110111111111011111111111011111111111111011011111111011111111111101111111111111101111111111111111111110111111111111011111111111111011011111111111111111111101111111111111111111111111111111111111111111111111111100111110111111111010111011111111111111111111111111111101111011110111101110101111111111010110111111101111111111111110111111111111111011111111111111101111111111111111111111111101111111111101011110111111111111111111110111111111011101111001111111011111111110111110111111111111111111101111111111111111111111111011111011111110111111101111111111101111111111111111111111111111101111110111111111101010111101111111111110011111111111111111111111111111111101011111111111111110111111111111110101111111111111110111111111111111110111011111111111111111011111111101111111111111111111111111111111101111111111111111111111101111111111111111111110111111111101111101111010101111111111111110101111111111111111111110111111111111111111111111111111111111111111111011111110111111101101111111111101111111111111111100111111111111111110110111111111111111111111111111111111110111111111011111111111110101111111110111111111111111111111111111110111111111111101111111011111101111111011111111111111111111111111111111111111111011111111110111111111111101001111111110111111111011111111111111101111011100111111111111111101011100111111011111111111111011111111101111111011111011111011011111111111111111111111111111110101101110110111111111111111101111101111111111101111111111111111111011111111111111011111111101110111111111111111111111111110111111111101111111111101111111111111111111111110111111111111111111011111101111111111110111111111101111111111111110101011111111111111111101111111111111111011011111111111111111111111111111111101111111111111011111000111111111101111111111101001111111111111101111111111111111111101101111111011000111111111111111110111101111111111111100111111111111111011010101111111111111111111011011111111101111111011111001111111111111111111111111111111011111101111101111001111110011110111111111111110111111111101111011111101111111111111111111110111111111111111111111111111101111111111111011101111001111101111111111111101011011111110111011111111111111111011111111111111111111110111111111110111111011111111110111101111011110111111111110111110111111111111111111111111110111010101111111111111111111111111111111111111111111111110101111111111111111111111111111111011111111110011111100111111111111111111111101110111111101111111111110011111111111101110111111101111111111101111111101111111110101111011111111111111111111111111001001111111101011110111111111111111111111110111111111111101001111111111111111101111111101111111110111111111011111111111111011110111011111111111111111111111111100111110111111001011111101101111111110111111111111111110111101111111111111110111111111111111101000111110111111111001111111111111111111111110111100111111101011110111110101111101111111111111110111111011110101111111111111111111111111111101111111011111111111111111111111111111101111110111110101111111111101111110111111111101111110111101111101011111011101111111110111011111111111111111111111111111110110111111111101111111111111111111001111111111111111101111110110110110111111111111111101111111111111101111111111011111111101111111011110111111111111111111111111101111001111110111101111101111111111111111110101111111111110111111011111011111101101100111111111111111011110111111011111111111111111111111111110111101111111111111011111111111111101111111111011111111101101011011111101111111111111111011111111111101111111111111101011001111101110111011111111111111011111111011111111110111101111111111111111101111110100101111111111111011101111111101111111111011111111111111111111111111111111111111111110101111100111111111111111111111111111111111101111111111110111111011011111111111110111111011111110111111111010111111111111011111111111111111111101111111111111111011111011111111111111111110101011011111111111111011111111100111101111111111111111111111110111111111111110111011111101111111111111111111011111101111111110011011111110101110111111111110011111111111111111111111111111111011111111111011111110111111111101111101111111111111111111101111111111111111111110111111011111111111111111111111011110111111111111111101110111111111111011111111111111111111101111111011111111111111111111111111111111111101111111110111111111100111111111111111111111111111111011111111101011111111111100011111111111111111111111111111111110010111111111100111011111111111111111011111111111110111011111111111111111111111111111111001111111111111111111110111111001101111110111111111101111111111111111111101111111111111111101011011111111111111110111011111111111110111011101100111111111111111110111111111111111111011111111111111101111111111111101111111111111111111111111111101001111110100011111101111111111111111111111111111100111110111111111111111010100111111111111101100110111111011111011101101111111111111111111111111111111111111111011111110111011110110111111101111111011111101111111111110111111011111110100111111111111111111011111010100111111111111101110111111111111111111111111011111111111111111111111111111111011111111110111010111011011111111111111111101111111111111111111111101111110111101111111111111111011111111111101111111011111111011111111101111111111111111111111011011111011101111111111110111111001111111111111111111111111111111011011111011111111111111100111101111111111011111111111111111111111111111111011111111111111011111101111010111111111001111111111111111111111111011111111111111101110111111111111101111111111011111111111111110111111111111111111111111110001011011111111111101101011111111111111111111111011111001111111111111011111011111111111101101111110110111011111111011111111111111111011111110110111011111111111110111011011111111001110111111111111111111111111111111101111111111011111111101111111111111111100111111111011111111111111111111110111111111011101011101100111111111111101111111111011111101111101111111010111111111111111111111111111111110111110111111111101111111101111011111111111111011101011111101111111111110111111111111111110011111111111111111100111111111111101111111111111100101111111111111111111111111011111111100111011111110011111111111111111111111111101110111111111111111111111111111111111111111111011111111110111111111111111111100111011111111111110111111011111111111111111011001101111111111111111111110111110001111110111111111111111110111101111101111111001111111111111101011111111111011111001111111011110111101011111111111101110111111111111111111111111111111111111011011011111110111111111111111111111111111111111111111111111111110111111111011111111111111111111110111111111111111111111111101111111111111111111111111110110011111111111111111111111010110111101110011110111111111111111111111111111111111011111111101111111111111011111111110111111111111111111111110100111111111011111111111111111111110101111111111111111111111101111111110111110101111111111101111111111111111111111111010111111111111111111111111010111111111111111101111111111111111111111110110111110111111111111111111110101101110111111111101111111111111111111100101111111110111111111111101111011111111111101111111111110100110101111111111111111111111110110111111011111111110111111111111011111110111100101111011111111111111011111111110011111111111110111111110101111111111110111101111111111011101110101111111111111111111011111111110111111111111111111111111011111110111111111111111011111111111111111111101111111111111111111111111100111110111111111111110111111111111101111011111111111111001111111111111111111110111011111111110111111111111111011111111111011011111011111111110111111111111110111111111111110101111111110011110110111111111000110111111110111111111101111111111111001111111111111101111101111011011110110101111111111111011111111111100111111101111111111111111111111111110111111111111111111111111111111111101111111111111111011111111111111111111111111111111111111011111011111111111111111111111101111011111111111101111111111011111111111111111110111111111111110101111111111111111111111111011111111111111111101110101111111001111011111111111101111110111011111111111110111111110111111111111111101011100111111111111111111111111111111011011111111111110111110111101011011111111111110111111111111111111101111111111110111111111111111111101110110111111111111111111111111101111111111111110111111111111111110010011111111110111101111111111110111111111101011110111111111111011111111011011111111011111111111111011111011111111111111000111111111111101111110111111011101101101111111111111011111111111111101111111111110111111011111111001011111111111101110010111111111011111111111111111110110111111111110111011110111111110111111111101111110110101111111111111111111111111111111111111110111111111111111111111110111111110001111111111111111111111111110111111111111111111111011111111111101111111111111111111111110111111111101111111111101111111101111111011111110101101011111011111111111111111111111111111111111111011111111110111001111111111111011111111111110101111111111110111111011111111101111111011111110110111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111101111111011111111111111111101111111111111111111111101011111111111110111111111011111111111111111111111111110110110111111111111011111111111111111111111111110111111101111111111111011111111110111111001111111111111111110100111111111111111111011111111111111111111011111111101111001111011111111111111111111010101011111111111111111111111110111111111111100111101111111111111111111111111111111111111111111111101101111111111111111011111111111111111111111011111110101111111111101011111101111111101111111011111110111111111111111111110111111111111111101111111111111111011111111111111110111111111111011111101111100111111111101111111111101110111111110111111111110111111111101111111111111111110111111111111111111111111101111111011110011111111101110111111110111111111111111111011111111111111111111011111011111111101111111001111111111111111101111101110111011101111111111111101111110101111111111111101100101111111110110111111111111111111111111111111111011101110111110110101111111110111111110111111111111111111111111111101111111010110111111101111110111111111111111111111111111111111111111111110111110101111111111111111111111101111111101111111111111101101011011111011011101111111110111111111111111101111111111111111111111101111111111111111111110111111111111111111111111111110111111111111111111111011111111111011111111111101111111111111010011111011101101111110111111111111110111111100111110111111110110111111111111111111011011011111111111111111111101111011111110100111101111111101111101011111111011101111111111111011111111111111011110010111111111111111101111111111111111111111011111111111011111011111111111010111111111111010111111111011101111111111011111101111110111111111111111110111111101111111101111111111111111011111111110111111110111101111111111111111011001110111111111111111111111111111111111111111111111011111111111101110111111111111111111101111101111111110111011111111001111111111011111111111111110111111011111111110101011111111111111111111101111111111101111011111110101111111101111111011111111111110111101111111111110111111011111111111111110110111111111101111110111111111111111011111111111111110111111111111111011001111111111110111111111111111011110111111111111111111111111111111111111110011111111111111111111111110111111111111111101111101111111011111111111111101111111111111111111111101100111111111110111011101111101111110111111111111111111111111101111111111111111110111101111111111111111111011111011111011111111110111111111111111111111111110111110111111110111101011111111111111111111111111011111111011111111111011111101111111101111101110111111101110011111111111111111111101110111111111111111111111111111111111111111111011111111111110111111111111111111111111111111111111111110100111111111111110111111111110011101111011111101101111111111111101111111111111111111111111111111111111111011111111011111111111110111111111111111111111111111111111110111111111111111111011111111111110111111111111111111111111110111111111111111111111111111111011111111111111101111110111111011111111111111111111111101101111101111111111111111011111111110101101111111111011111111011111111010111111111111111111111111111111111111111111111111111101011111111111111111011111111111111111111111111111111111111011111111111111111111111110111111111111111111111011111111111110101111111111111011111111111111111111111101111111111111011111111111101011111111111111111111110111111101111011101101111110111111111111111111111111111111111011111111111111111111111111111100111111010111111011111111111101111111111111011111111111111111011111011111111111111111111111110111111111111111111110111111111110111111011110101111111111111110111111111111101111111111111111011111111111110111111101111111111011111111111111111111111111111111111111111111101110111111111111111111111111111111111011111111110111111101111111111111101110111111111111111111011011111111111111111111111111111101111110110111111110111010110111111110111111110111111111010111111111111101111111111111101111111111111111111111011111111111111111111111111111111111111111111111110111101111001101111111110111111111111111111011110111111111111110111111111111111111111101111101111101111111011111111111111111111111111111111101011111111111111111111111111111111111110111111111111101111110111111110111111111010111111111111111111111111111111111101111111111111111111011111111111111111111110111111111111111111111111111111111111011111111111111111110111111111111011111111111111110111111011111111110111111111011111111101101111111111111110010111011111111110111101111111111111111111111110111111110111101111101101111111101111111110111111111111111011110100101101111111011111111111111101111111111111111111111101011111111111111111111111011111111101111011011111111111110111011110111101111011111111111101011111111111111111111111101111111101111011111100110111111011011111111111111111111101111100111111011111111110111111110111111111110111111111111111111110111111101011111111111111111111111111101101111111111111111111111111111110111110111111111111111111111110111111111111111111111011101111111111100111111111111111111111100111101101111111111111111111111011111111100111111111111111111011101111111111111111111101111111110111111111111111011111111111110111111111111011011111111111111111111101111111111111111111111111111111111101111111111111111111111111111111111111011111111111110111111111111111111110111100111111101111111111111111111111111111011111111010111111111001111111111111111010101111111111111111110111101111111111111111111111110111111111111111101111101111111111111111011101111111111111111011111101111101111111111111111111111111110111011111111011011110111011111111111111111110110111111111111111111111011111111110111101110101111110111111101111110111111110110111011101101111010111101111111011111111011111111101111111111111111111111111111111111111111111111111111111010011101110111111111111101111111111111111110111111011111111101011110111111111111111111111111111011110111111111011001111111101111111111111111111111111111111111111111110111111111101111100111111111111111101111011111111111011111111111111111111111111111111111110111111101111011011111111111111111111110111011001110111111111111111111111111111111111111111110110111111111101111110111111011111111011111011011011101111111111110011011111111111111111111111101111101110111111011111101111111111111111111111110111111111101111111111111111111111111010110111011111111110111111101111111111111111111101111111111101111111011111111001111111111111111111111111111111111001110111111011110101111111111111111111110011110111111111111101111111111111011011111011111111111111111111111111101111111111110111111011111110111111111111111111101101011111100111111011111101110111010111011111011111111111111110111111111101111011111111111111111111111110110011111101110111111111011111111101111010111111111111111001100111111110110111111111111111111101111110111111111111111111111111111110011101111111111111101111011111111111111111111111111111011111100110111111111111111110111111111111111111111101111111111111111111111111110111111111101111110111111011101111111111101111111111111110111101111111111111011101110111111011111011111110111111111111110111011111111111111111111111111111111111111111111111111111111111111111101011110111111111011111111011111011010011111111011111111111111111100111111101111101111111111111011111011111111111101111111111011111111111101111010011111111111011111110011111111111111111111111111101111111110011110111111111111111111111101111111111111111111111111111111111111111111111101111011011001111111111111110111111011111101111111111111111111111111110111111111111111111010101111011011111111101011111111111111111111110111111111111111111111111011111111111111111011111111111011111101111111111111111111111111111111111101111011111111000111011101111111010011011101111111111111111111111111111111111111100111101111111111111111111111101111111111101111111111110011111101111111101101111111111111111111101111111111110111111101111111111101110111110111111011111111111111000111110111111101111111111111101111111111111100101111111011110111110011111111111100011111011111010111111111101001111110111111111011110111110110111111011011110111110111111111011011111111111011111110111111101111111111111111111111111111010111011111111111111111111101111111111111111111111111111101111111111011111100111111111111100111111111111001101111011111111111110111011111111111111111111111111111111111111111111111111111110111111111111111111111111111111011111110111110111111000011111111111111111111111111111111110111111111111011111111111111111111101111111111011110111111111111111101111111111101010111111111111111101101111110101111111111101111111010110111111111011111111111111111111111111111111111111110111111111111111101111111111111111110111111111111110111101111111111011101111111111111111111111011011111111111111111111011110011111111111111111110111111111111111111110111111101101111101111111111111110111101010101111111111111111101111111111111011111111111111111111110011111111011111111111111101111101110111111111101111101111111111111111111011111011011111101111111111111111111111111111111111111011111111011101011111011111111110111000111111111111111111111111111111111111101100101111111111111101111111110101110101111111011100110111111011111111111010111110111011111111111111111111101111111011111011111111111111101101101111111001111111011111111110011111111111101111111111011111111111101111111111111111101011111011111011101111111011111111011111111110111111101111111011111111011101111111110111111111111011111111111111111111111111110111101111101111111011111111111111101101111111111101111111111110110101111111111111111110111101011101111111011111011111111111111111111111111111111111111111101011111111111111111111111111111111111111111100111011111111111111111111111111111101111111011111110110100111111111111011110111111111111111001011111111111011111111111111101110111111011111111111001111111111111101111110111111111111111111111111111011111111111011111111111111011110111111111111111110111111111100110101111101001111110111110011111101111001101111111111111111111111111111111110111111111111011111111110111011111111101111111111110111111111111011111111111110110111111110111011111110101011101110111111111111101111110111011111011111111111111111111110111111111111111011111100111111011111111111111111111110101101101111111111111111011111111111011111111101111110111111111111111111111101110111111111110111101111111111111111111111111111101111111101111011111111111111100111110111111111111111110101111001111111011111011111111111111111111111011111101111011011111110111111111111010110011110011011111101111101111111011111111111111111111111111110111111111111110111111111010101111111110111111011111111111111111111111111111111111111011111111111111110011111111011101111111011111111111010111111111011111101111111111111111111110111101111110111111111101011111111111111001110111111111111111110110110111111111011111111111111111111111111111111111110111111111110101111111111111011111111111111011111111111111111111111111111110111111111111111111111111011101101111001111110111111111110111111011101111011111111111101111110011111111101111111111111111111111111111111011101111111111101111111111111111101011111111111111111111111111110110110111111111110110111111111111011111111111111111111111111111111111111111111111110111111001111101111111111111111110000011111100110110111011111111111111111111111111011111011111111111111111111111111110111111110111111111111111111011001111111111101101101111111011100111111110111111111111101111111111011111111111111111011111111111101111110111111111111111111111111101111101111111110111011111111111111111111110111111111111111111111111111111111111111110011011111111111011111111111111001111011111111111111011111011111111011111111111111111111111111101111100111111110111111101111111111111111011111111111111111010111111111101101111101100101110110111101111111111011111111011111111111111101111111111110001111111111111011111110101111101111111111111111111111110111101111011111101111111111111111111111110111111111111011111111101111111111101111111111111111111111111011011011100011111111100111111111111011011110111111111111111111111111011111111111111111111011111110111110111111111111101011111111111111011111011111111110111111111111111111111111011100111111110111110111111111111011111111111011111110010111111111111111011111110111111101011111111111111111111111111111111011111111111111111111111111101011111111111111111111111111111111011111011111111101111111111111111011111111111111101111111111111111011111111111111110111111101111111111111111101011111111110111111111111111111001111111111011101110111111111111111011111111111110111111101111111111111111110111111111011110111111101111111111110111111111111111111111101111111111011111011111111011011111111111111111111111111111111111111100111011011111111110011111111101110111111111111010111011111101111111111111110111111001111011111111111111111111101011110011111111111101101111111111101111111111111111111111111101111111110111111111011101111111111101111001011011111111111111101111111101111111101111011111111111111011111111110111011111111101111111111011111111111110011111111111111110111001010111101101111111111111111111111111111110111111111111111111111111111111111111111011111101111111111111011110111101111111111111101001101011111111110111111111111111111111111111011111111111101111101111111111111111111111111110111111111111111101111011111110110111111110111111011110111101111100111111111101111111111110111101100111111111111101111110111011111111101011111111101110111101101111111111011101111111011011111111100111111111111011111111111110111111110111111111111111011111111111111101111111111011111111111111111101110111011111111011111111101111111101010111111111011111110010110111111111111111111111101101101110111011111111111111111111111111110111111111111111111111101111101110101111011111011111111111110111111111111011110111111111101111111111111111111111111111111110110111111111111111011111111011111111111110111110111111111111111111111111111111110111111111111111111101010111111111111110111111111111111110111001111111111110111111101111110111111111111111110111111101111100111101111101111111111111111101111111111111111111111110111001111011111110111111101111111111111010111111101111110111011101111111111111111111101111111011111111111110111110111111110111111111101111111011111111111110111111111101111011111111110111101011011111111111101111111111111101111101110111011111111111111111111111111011011011111111101101111011111111111111100111111111111111111111100111110111111011111111101111011111111111111111111111111111111111111011101111111111111111110110111011111110110111111111110011111111111111111101111011111011111111111101111111111111111111111111111111111111011011111111111011011111011110111111111111111111101011111011011011111111010110111111111011111111111101011111111111111101111111110111111110110011111111101101111111100111111111111011111101111110101111111111101111111111101111111111110111111111111110111111111101111111010111011111111101101101111111111111011011111111111001111111111111110111111111001111001111101111111101010111111111111111111111111111111111111101011110111111111111111111111101111111111111111011111111111111110110111111110111101111111101111111011101110111111011110111111110111110111111011111101111111011111110101110011111111011111101111111111111111111110111111111111111111111111111111111111100111111111111111110111111111011011110111111111111111001111110111011111111111111111111111111110111111111111111111111111111111101111111111111101111111111111011111111111101111111111111111111111011111110111111111111111111011110011111111111111111111111111101101111111111101111010111011111111101111001111010111111111011111111111111111111111011111111111111111111111110111101111111011110111110111111111111111111111111110111111111111111111111111111110111110110011101111011111111110111111111111111101111111111111111111101110110111111111111110111111111111111111111110111111111110111111111101111111111111111111010111111011111111111111111101111111111111101111111011100111111100111111111111111100111111111111111111111111111111111111111111111111111111111101011101101101111111111101111111111010111110111111111100111111111111110111101111011111111111111111011011111111111111001111110111111111110111111011111111101111111010111111111111111101111111111111111111111111111111111111111011111111111111111111110111111110111111111111111110111111111111111101111011111111111011111111111110111111111110111111111111111101111111011111111111111111111111111111001111111111111011111101111111111111111000111111101011111111110111011111111111110111011010100111111110111111111111101111111111111111111011110111111101110110111111111011111111111111111101011101111111111111110111111110111110111111101101111111111111111110110111111111011100111111111111011111011111110111111111111111111111111111111111110111111111111111111111111111111111111111111010101111111101111111101111111111111110111101101010111111010111110110111010111111111111111100011111111111111111111111011111111111101111111101111111111011111111111111111111111111111101111111111100011111111110101111111111111111111111111111111111111111111111110111111111110111101111111100111111111111101111111111111111111111111111110101111111111111111011111111010011111111011111111111111111111110101111111111111111100111111111111111111111111111111111111111111110111111111111111111111110111011111111111111111111111011111110111101111111011101111101111111111111111110111111111111111111001111111111111111011110111111111111110111110111111111111110111111111111011111111011111111101111111011111111101000111111110111111111110111111111111100111110110111111110111111011111111011111111110111111111111101111111111111111011111111110110111111011111110111111111111101011111111111111111110111011111011111010111111101110110111111111011111111101111111111110111111111111111111101111111111111111011011111111111101111011110111111111111111111111111111111111011111111111111111111111111111111111111011111111111111111101111111001111111110111111100111111111111110111111101111011111111111110111111110011111111111111111110111111111111111111111111111111110111111111111101111111111111111111101111111111011011011111011111110110111111101111001111111101111011111110111111110101101111101101111111110001110111111111111111110111111111111111111111111111011111111111111111111111101111111011111111101111111111111011111110111101111111111111110111111101111111111111111011111111011110111110111011101111111111111011101011011110111111111001111110111111101111111111101011111111011111111111111111111111111101111111111111111101101101111111111110111001111110111101110011111111111111111111111100001110111111111101101111011111111011110111111111111110111111111011110111111111101111111011111111111111111010110111111111110111101111111111010111111110111111110111110111111101111111111111101110111111111111111111111111111111111111101111111111111111111111101111111111111011011111101111111111101111110111111111111111011111101111110111111110111111111101111101111101110110111111111001111011111111111111111111111110111111111011111111111101110101111111111110111101111111111111101101101110110011111111111111111111111111111110111111111101111110111111111111001111110111111111101110111111111111111111111111111111111101111111111110001010111111111111110111111111011111111111111111111111111110111111110111111111111101111111111111111111111111010110111111111111111111111011111111111111111111111111111111111101011111111111111110111011111111011111001111111111111110011101111110111110101111100111111111111111111111100011111111111110110111111111111111111111111111111111111011111111111111111111110111111101111111111111111011111111110111111011111111111111111111111111111111011111111111110101111111001110111001111111110101111100111111111111111111111111010111111111111111111111111111111111110011111110011111111111111110111111111111111111111111011101111111111111110111111111111111111111111111111011111111111111111111111111111111111111111111101111011111111111111111111111111001101011111111111111111111111111111111111111111101111111111111111011111111111111110111111101011111111001011111111100111101111011111111111101111111111111111011111011111111111111111011101111111101111011011111111110111011111101111111111100011011111111111111111111110111111011111111111111111101111111111111111111111111011111101111101111111111111111111111111001011111101110101111111111011111111101111101011111111111111111111111111111110111111110011111111110011111111011110111111111111111111111111111111111110111111111101111111111111111111111101110111111111111111111111011111111111111101111111111111111111101111111110011111101111111101111111101111111111111111111111111111111111111111111011111111111111111110111111111111111111111111111101110111111111111111111111110011111010111111111011111111011111111111111110111111111011011111111111111100111111101110111111111110111101111111111111111111011111111111111110111111101111111111001111111111111011111111111101011111111111111111111111111111111111111111111110111110101110111111011111111111111011111111111001111111111010110111111011101110100111001111101111110111011111011111111111111100111111111110111111101110111111101111110111111110111111111111111110101111111111101111111111111011111111111101111111111111111011111111111111011111111001011110111011101111111110111111101110111111111111011011111111110111111111111111101111011111111111111111111111111111111111111111111111111111111011111111111111111110011111101111111111111111111110111111111110011111111111111011111110110111100111111111110111111111111101111111111111111111111111111101111111111111111111110111111111101111111111111111111101111110111111111111011111111111111011101111101110111101101111100111111111111110111111011111110111111111111111001111101111111111111011111010101011111110101111101111111111111111111111111111111111110011111110111110111111111111011111111101111111111111111111010111111011111111111111111111111111101101111111111110111111011111111111011111011111111111111111101111111010111111111011111111111111111110111111011111111111110111111111111111111111111111110110111111011011111111111011111111111111111110111111111110100110111111111011110111011111111111111111111111111111111101111101101111111011111111111111111111011110111111111111111110111111111110111101110111111111111111101111111111111111111101111111111111111111110111110111111111111101111111110111101011111111110111111111111111111111110111111111111111111111111111111111111110111100111111111111011111111101111111111111011110111111111111111111101011111111111111111111011001011111011110111111101111111011100111110111101101111111111111111111111001111111111110110111111011111110111111111111111111111111111111111111111111011111011111101011111110011111101111111111111111111011111111111111011111111111111110011111111111111111111111111101111111111111110110111110110111111110111111111111111111111101111111111111101111111111110111111101111111111111111111101111111100111111011011111110101111111111011111101111111111111111111011111011101111110111111111111111111011111101111011111111011111111111111101111111111101111111111110011111101111110111100111111110111101111111111111111111011101111111111111011111101111111011111011111111101111011111010110111010111111111111111111111111111111111111111111101011111111101111101111111111111111111101101111111111111101111111111111111111111111111011110111111111110111011110111101101111101111111111111111111011111111111111111111110111111111111101111111111111111111111111101011111111111110111111111110111111111111111111101111111111111111111101111110111111111111111101111111101101010111111110111111011111111101111111111111111111111111111111111111111111111111111111101111111111111011111111110111111101011011111111111111111111111111111011011111101111010110101111111111111110111111111111111111110111111111111111111110111101101111111111111111110111101111111111111110111111111111111110111111111111111111111110110111011111111110111111111111111111011011111111111111111111111111111111111111011111111111101111111101111111111111111111111011111111111011111101111110011111111111110110111111111111111110111011111011111011100111111101111110111111111111110101100111111110111111111111111111111111101011111110111111111111111111111111111111111011111111110111111111111111111111111111111011111111111110111101111111111111111111111111111110111110111111110110111111111101111111111011111111110111111110111100111111111111111011111110111111110011111111101011111111111111111111111111101111111111111111111111111011111111101101111111111111111111110111011111111111111111111111111111111110111111111111111111110111111111111110111110101111111111111111111111111111111111111111111111110111110111111111101110110111111101011011101110111110011111001110110101111111111111011111111111111111111011111101111111111111111111111111111110101111111111111111101110111111111111111101111111011111001110110111101110110111111110111111111111111111111111101111101111101111111100111111111111111111111111111111110111111111111111101110111111111111110111111110110111111101100111111111111111111111111111011111111111111111101111111111111110111001111110111111011111111101111111111111111011111111011011111111111111111001111110111111111111111111111111111111111111011110011111011111111111011111111011111111111111111111111111111111111011111111111111111101101111011101111111111111111111111111111110111111111111101111111111011111111111111111111111111111111111110111111111111111111111111111111111111111111111011101011111011111111111111111101111111111111111110111111111111111111011111001101111110011011111111110111110111011111111111111111111111101101111111111111111111111111111110111111101111111011111101111101111111111111111101000111111111111111111111101011110111101111111111111111111101111111011111111111111111111111111111011111111111111111111111101101111111111111111111111111110111111111111111011111111111011111111111111101001111111111111111111111111111111111011111111011111111111011111111111111111111111111111111111111111110111111111111111111111111111111111111011111111011111111011101011111111111111111101101111111111111111111111001111111111111111011111111110111111111111111111111111011111110111111111011111111111111010111111011111111011111111111111111111111110111111111101111111111111111111111101101111111111111101111101110111111111111111111011011111110110111111111110111111111011111111111111111110101110111101111111111111111111111111101111111111110011011110110111111111111111111111111001100101111111011111111111111111111111111111111111111111111111111111111110111111111111111111111110111111111111111111111111111111101110011111111111111111111110111111111111111111111111111111100111011111011111110111110100101111111111111101111011111111111011111111111101111110111111111111111101111101110111111111111011111111111111111011101111110111111111011111111111111111011111111111111111111111011111111011111110111111011101111111101111111111111111111111111111111111111110111111101011111111111111111111111011110111111111110111111111111111111111111101110111111111111111111110111111111111110111101011111111111111111111101111111111111111111111110111101110111011111111111111011111111111110011111111111101010111111111111111111111111111111110111111111111111100110111111111111111111111111111111111110111111111101011111111111111111111100111111111101111110110101111110111111111111111111111111111111111111111111011111111111111101110011111111010111010111111111110111111111111111111111111111111001011111111111101110111111111111011111111101111111111101111111101110110111111110111101111111111110111110111111111110111101111011111111011111111101111111111111111110111111100111111111111111111111111111101101101111111111111111101111111111111101111111001111111111111111111111011111110111111111111111110111111011110111111111111111111111111011111011111111011111111111011111111111110111111111011111111101111111111111011111111111111111111111011111110111111111101110111111111111111111111111111111111111111111110111111111111110111111011110111011111111111011111111111111111011011111110111111111111111111111111111111111111111111111111101111111111111110111111111101111111111111111111111111111011101111111111111111111111111111111111111101111101111111111111110101111111111111110011111111111111111111111111111111111110111101001111111111101110111011110111111111111111111111111111111010111110011111110111111111111111111111111111111011011111111110111111111101111111111101111111111111111111101111111111111011111011101111111111010111111100111111111111101111111111111111100111111111111110101111111111111111111111111111111011111111011111101111111111101111111111100101101111111111111111111111111111101111111111011111111110110111101111011111111110110110111111111111111111111111111011001111111111111111111001111111111111111111111011110111111111111111110110111111111111111011111111111111111111111101111111111111111011111101111111111111111111111111011110111111111110111111111111011101011111111111111011111111011111111111101101101111111111111110111011111111111111011110111110111111111111111111111111110111111110111111101110111101111111111101111111111111111111111011101111101111111101110111111111111111111111111111111111101111111110110111101111011110111111111111111111111111011011011111110111111111111101111111111101101101111111111110111111011110101111011111111111101110011111111111111111111111111011111101111111101111111111110101101111111111111011111111111111111011111101110111101001011011110111101110111111111111110111111111011111111111111011011111111101111111111101110111111101100111111111111111111111101011001110111011111111111011111111111111111001111111111111111101111111111111111111111111111111111111111111111111111110011111101111011010111111010111111111111111111111111111111111111111110111111111011111111111111111111111111111111111111111111111111111111111111111111111111011111111101111101111111110111111011111111111111111111011111111111101111110101111111111111111111111111111111111111111110110110111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111011111101111011111111111111101111111110111111111111111111110111111111111111111111111111111111011111111101111110101111111011111111111111111100111111111111101111111111111111101111110111111111101101111011000111111111111111111111010111011111111111111111111111111111111111101110110111111111111110111111011111111011110111111111111111111111101111111111111111111110111111111111111111011111101010111110111011111111011111101111111111111111111101111111111111111011111111111111111111111111111111111111111111111111011111111111101111111111001011111111111111111111111011111111111111101111111110111111111111111101101111111011111111111101111111101110111111111111111111111111111111101111111111111111100111111011111111111011101111111111110101111011100111111111111101011111111111011111111011111111101111111111111111111111111101111111110101111011111011101111101111111011011101111101001111111111111011111111111111111111111111111111111111111111101111011111111111101111111111111111111111111111010111111111111111111111111111111111101111111111100111111111111101111110111101111111111011111011101111110011111111100101111111101111111111001111110111011111011111110111110111111111111110111011110101111111111111101111111111111111111110111111011111011111111110110111111011111111011011111111111101001111101111111111111111111111101111110111111111101101111011111111111111110111011111111111111111111100111110111111111111101111111101111111111101111101101111111111111111101111111111111111111101101111111101101111111111111111111111100111111111011110111101111111111111101111111011111111111111011111111011011111111011111111101111111111010011111111111110111111111111111111111111111111011111111111111111111111101111011111111111111110110110111111111111101111011111111111111110010111111111111111100010111110111111111111111111111101101111111111111111111111111111111111111111101011111111111111110111101111011111111111101111111111101111011111111111111111111111111111111111111111110111111111111101111111100111111101011111111111111111011101111111101110111111110101111111111111111111111101111111111111111011111110111001111111111111111101111111111110011111111111011101011111111111110111011111111111111111111111101111101111111101011000111111111111111111101110111101111111111111101111011111111111111111011111101111111111111110111111110110111111111110110111111111101011111101100011111111111011111101111111110101111111110111111111111111111111110111011111111011111111111111011111111111111111111111101111111111111110011111111101111111111110111111111110111110111111011011111110111101111111111110111111011000111111110111111111111111101110111111111111110111011111111111111111111101111111110101111111111111111111111110111111111110111111111111111111110111110111111111111111111111111111111111111111111111111111111011111111111111110101111111111111110111111111101111111111111111111111111111110111111010111011111111111111110111111110101011111111010111111101110111111001111011111110111111111111111111111010110111111111111111111101111111100111111110111111111011111011111111111111111111111101011011111111111101111111111111111111111111110111111111011111000111111111111111111111111111111111111111011111111111111111001101111111111110001111101111111111011111101101111111011011111111111111111111110111111111111111111111111110111011111111101111111111111110111111111011111111111111111111111111111101111111111111111111111011111111111111111101111111011111111111111111111111111011111011111111111111111101111111111111011111111011111110111111111101111111111111011111111111111111111111111111011111111111101111111111111111111111111111110111111111011101111111111111111111111111111111111111111111111111111111111101111111111111110111111111111111101111110101111111111111111111111111111111111011111100111111101101111111111111111111111111111111111011111111111111101111111111110111110111111111111111111111011111111111111111111111011111110011111111011111111111111011111111011101111111111111111111111111111111111011111110111111110111110111111111111111111011101111110111111111111111111101111101111111101111011111111111111011011111111111111101111111111110111101011111110110111111111111111111111111111111111111110110111111111101111111111111111111111111101111111111111111111111111111111111110111111111101111111111101111011111111011111101111110111111011111101011011111011111111111110111111110111111111111001011111111111111111111101110110111111111110111110101111100110111111111110111111111111111111011111110111001110111111110111011111111011111100011111111111111111111101111111111111111111111111111111111110111111110110011110010111101111111111111111111011011111111111111111110110111110111111111111111111011101101111111110011111101111111111111111110111111011111111111111111111101111111111111111111101111111111111101111111111111111111111111101111111111111111111110111111011110111111111101110111011111111111111111111111010111111111110101111011111111111110111111111111101111111111111011111011111111111111111111111111111010111111111111110111111111111101111111111111111111111101011111111111111111111101111111111001111111101111111111111010110111111011111111111100111111011111111111111111111100111111111111111111111111111111101111111111110111111111111011111111111111111111101111111011111111111111111111111111111111111111111111111111111111111111111111111110111101111110111111111111111111110110111111111011111111101011010111111111111110111101111111111111011110111111110111101111111111111111111111011101111111111111111111111111101110110110111010111111101101011111111111111111111111111111111111111111111111110111110111110111111111111111111111111111111110101101111011111111111111111111111111111111111111111110111111011111111111111110011111111111110111111111111101111111111111111111111110101101111111111111111111111011010111111111111111111111111111011111111111110111111111111111111111111111111111111111111111111111111111111101111111111111110110101111011111111110111101111111011111111111101111111111111111111111111111111110111111101110111110011111111111011110111111111101111110111111111111111011111110111110111110111111010111111111110111111111111111111111111110111111111111111111110011111110111110111111111111111011110101111111111111111111110111111111111111111000111111111101111111111111110101111111101111111111111011111011111111111111111111111101101111111111101111111110011111111110111110111111111111111111100111111101111101011011111111111011110111111111111110101111111111111101111111111110011101111111110111111111111110011111101111111111111111011111110111111111111111111111111110111111011111110111111111111111111111101111111111111110111110001110111011111111111111111111011010111111111111111111111110111111110101111111111111110111111111111111111111111111111111111111101101111111011111111111011010111111110111111010111111101111101111111111111011111111111111111111111111111111111111111111111110111111101110111111111111111111010110100011111011111111111111111111111101111110110111111111111111111111111111111011111111111111111111111111111111111111111111111110011101011010111111111111110111110010111111110111110110111111111111101111111111111111011011011111111111111111111110111111111110110011111101111111111111111111011011101111111110111101111111011111111110111111111111111111111011101111111011110101111111100111011111101111111110111111111111110111111111111101101101111111111101101111111111101101111101011110111101101111110111101101111110111111111111111111111111011111101111011111111011111111110100111101111111111111110111111100111111111111111111111011111111101110111111111111101111111111011111111111111111111111111111111111011111111011111111111110011111111011111111111111111111111111111110111110111111111111111111111101111111111111111111111101111111111111111111110111111101011111111111101111111111111110110111101111111111110011111111101111011111111111111111110101011001011111111111111111101111111111111111111111111110111111111111010111111111111111111110011011111011101111100111111111111111111110111111111111111111111110111111111111111111011110111111111110111111111111111111111110111111101111111111111111111101111111111111111111111111111110111111111111111111111111111101111011111111111111011111111111011111111111101011101111111001111110001111111111110111111111111111111111111111110101101111111111111111111011111111100111011111111111011001111111111111111111101111111111111101011111111111111111111110111111101111101011111111110111111011111111111111101111111111111111111111111111011111111111111111100111111111111110110111111011101111111011111111111111111111110111110101011111101111101110110111110110111111111111111101111110111011111111110111111111001111111111110011110111111111111011111111111111111111101001111111111111111111111110111111011111111111111011111011111011101111110111111111011111111111100111111111111110111111111110111111111111111111111111111111111111111101111101111111111111110111111111111111111111110111111111111100110111111110111111111111011101111111111101111111101111111111111111111110101111111111111111110011111001110111000111111111111111111111111111111111111110111111101001011110111111011111111111111111111111010111011011111110111110111111111110100011111111111111101001111111110101101111110110111111111111011110111110111011111111011011111111111101111111111011110111111111111111111110111001111101111111110110111111111111111111111111010111111111111100111001111101011111111111111111110010111111110111111111111111111111111111111111111111111110011111111110111111111111110011111111101110111111111111111111101111111111111110111111111111110001111111011111011110111111111111111111111111111111111011111011111111110111111111111111111111111111101111111011111111111111111011111011101111111111111111110111100110111111111111111111111101100111111111111100111111111111111111111111110111110001111011111111111111111111111111111111111111111111011111111111111001111101011111111111011111111011111111111111010011101101101111011010111011111111111111111111111111111111111111111111011101111011111111101111111111110110111111111101111111111111011111111111110111101011101011011011111111111111111111111111111111111111111010111101111111111111111111111111011111111001111111111011111111111111101111110111111111111111111111001101111111011111111011111101111111111110111110111101111111110011010111111111111101111111110111011111101111111101110111011011111110111111111111111111111111111111111011011011101011111111111111111111111111111111011101111111111101111111011111011111111111111101111111111111110101111111111111111111111111011111111110111110011100110101111111111111111101111011111111111011111111010111111101111011011111111111101011111110011110101101001111111111011111001111111111110111101011111101111011111010101111110110111111110011111111111011111111011111111110101101111111111111111110110111111111001111111110111111111111111111111111111111111111111101111111111011111111111111111111111111111111111101111111111111110111101111010111111111111111110111111111111111111111111111111101111110011111111011111111111111011100111110011011111111111111111111011111111111101111111111011111101111001110101111111111111011110111111101111111111111011111111011111011011011111011011110011111111111111110111101111111111111011111111111111011111111101111111111111111111111111111111101111111111111111111110111101111111111011111111111111111111111111001011111111111110111111111111111111111111111111111111111111011110101101111111111110111110110001001111111111111111010111111011001011111111111111111111111111111111111111111111111111101111111111111111111111110101111111111111111111111011011101110101111111011111111110111111111111111111111111011111001110011111111110111111111111111111111111111101111111111101101011111100111110111111111101101110111111111111111111111111110111111111110111111111111111111110111111111111101110111011110110011111111011011111111110111111111111111111111111111111111111111111111111111111111111111111101111111111011110111100111101111111111111101110110101111111101111111111111111111111011111111111111111111111010111111111111101111111111111101111111101111111111011101101111110111101111111101111011111110111111111111111101010111110110111100111101111011111111011111010111111111111111110111110011011011111111111111111011111111111111111101111111111111111110111110111111001111111111111101110111101101111111111111111111111111111111111111111111011111011110111111111111111111111111111111011111111111111110111111111110111111110111111111111111100111110111111111111111111001111111111111111111110111011111111111111111011111011101111111111011111111101111111111111111011111111111111101111010111111111111111111100111110111111111111101111111111111111110110011111111111111010111101111110101111111111111011111111101111111111111110111111110111010101111110111111111111111111100111111111111101111111111111110111111010111111111111111111011111111111111111101011110111111011111111111111111111111111110111110110101111110111111111101111011111111001111111111111111011111111111111111111111111111111111111101111111011111111111111111111101111111010101111111110111100111111111111111111111111110111111111111111111111011111111111011111111111111111111111111111111111111111111111011111111111111111011111111111111111111111111001110111111111101111011111111110111111011111111111111101111111110111111111111111111011101100111111111111111111011111110111110111111111111110111110110111011111110111100011111111111111100111101101101111111111111111111111111111111111111110111111111011110111111111111111111111111101111111011111111111111110111111111011111111111111111111111111110101101111111111111110111111111111111111111111111111111111101111111111111110111111111111111010111111111111111110111111111111111111001111111111111111111110111111101110101111111111111111111111111111111111011111111111111111111111101111111111011111111111111111101101111111111111111111111111111111111111111101111100111111001111111111111111111111110111001111111111110110111111011111101111011111111110111111111111111101110111111101111011111100111011111011111111011101111111111111011011111111111110111111111111110110111110110011101111111111111111011111111111101111111111111001011111111111111110001111111111111011111111110111110111111111111111111110011111111111111111001111110001111101111111111101110111111111111111110101111111111111011111111111101111111111111111011110101111111111111111111111111111101110101111110101111111111111101111110111111110111111111111111111111111111111111111110111111111111011101111111111110111111111111111111011101110111111111111111110111111101011111101111111111111011110011111111111111111011110111111110111111111111111110011111111111101111111111111111111111111111111111111101011101111111111111111111111011111111111111011111111111111111111110111110111111011011110111100011111010111111111111111111011111111111111111111111111110111111111111101111001111111111111111100111111011111111111111111111111111111111111111111111111111111111011111111111101111111110111111111111111111110111111111111111111111111111001111111111111101111111010111111111111111001110111011111111111111111111111111111111111101010111111011111110111101111111111111110111111111111111100111111101111111111111111111011111111111111101111101101111111011111111111111101101101110111111011111111111111111111111111111111111101111111011111101111111111111110011111111101111111111111111111101111101111111111111110111011111111111110110111111101111101011110111111111111111111111111111111011111111111111111111111111110011101111111111111111110110111111111111111111111111110111111111111111111110010111111111111111111111111111111111111111011110111111111111111111111110111111111110111111111110111111111111011111111101011011111111101111101111111111111111111111111111111111111111111111101111111111111111111111111111101111111111111111101111111111111011111011111111110111101111111111011110011111101111111011111111111111111111111111111111111101110111111111111111111101011101111111111111011111111111101111111111100101110111111111111111110111111111111111111111111011111101111111111111111111111011111110111111111111100101011111111111111111011111111111111111111111101111111011111111101101111111111111111111111110111111111111111111101111111110101111111111111111011111111111111111011111111111011101111100111111111111111101111111110110111111101011111111110111111101111011111101111111011111111111011111111111111111111111111111011110111111111111111111111111111111111111111111011111111111111110111111111011111111111111111111111111001101111111110111111111111111110011111111110101111111111111111111111111111011110111101111111101111111111111111101111011111111101111111110011111110111111111111111111110101111111111111111111111111111111110111110110111110111111111011111011101111011110111111101111111110111111011111111111111111101111110110001111111111111111011011111111011111111111111111111111111111010111011111111101111111011111101111111111011111010111100011111111100011111111111111111101111101111111111110110111100111111111111111011111111111111111111111101101111111101111111111111111111111111111011110111111011010101111101010111111111111010111111111111111111111111111111111111111111111110111101111110111111101011111011111111111111111111110111111111111101111110011111111111000101111101111111111111111111111111111111111111011111111110111111111111111111111111100111110111111110111111111111111110011111111101011111111111111111111011111101111111111011011111111011111100111111111111111011111101111111111111111101101111111101110111110101111111111001111111110011111111111111111101111111111111111110010111111111110111111111111111111111111011011111111111111111111111111110011111111111111111111111111111111101011011110111111110111110101111111111101111111111110111111111111111110111111111110111111111111101111101111111111011111111111111111111111001111111101111111111111111101111111111111111100111111111101111111111111111101101111111111111111111101111111111011111111111110111111110111111111011101011011101111110111111111101111111111011111101100111011111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111101101101111101110111010111011011111011111110111111111111101101111111111111011111101101111111111011101111111111011111110111111111111111110111111111010111111111111111011111111110110111110111111111111111111111111111111111111111111111111111111111111111111111111110111111111100111111111111111111111101110111111111100111101111111111101111111111111111011111111110111111111101111111100101111111111111111011111111111101111111111111111101111011111110111111111111111111011011111111110111111111111111111101111101111111011110011011111111111111111111110110111111111011011111111111101111011111111111011101111111101111111111111111111111111111110111100111101101111111101011111111001011110111111111101111110111111111110111111111111110111111111111111111111101111111100111111101111111111111001011111111111111111011111111111011111111111111110111110111111111011111111111111011111111111111111011111111111111111111111101111111111111111111111110111111111111111111111111111111101111011110111111111111111111111101111101101101111111111111111111111111101111011111101111101101101111111111111111111111111111011000111111110111111011110111111111101111111111111011111111111111111111111011111011101111111111110111110111111111111111111111111111101111111111111111011111111111110111111111111111111111111111110111111111111111111111111101101111111101111101111110111111011110111111111111111111111111111101110111111111111101111111111111110111111111111111111111111111111111111010111111111110101110111111111111111111111110111111111111111111111111110110111011111111111111111111111101111111111111111101111111111111111011011111111111111111111111111111111111111111111111111111111111111111111101111111111101110111111111111111011011111101111111111111111010110101111111111111111111111011011100111111111001111111111111111111111111100111111110011111110111111011111010111111111111111111111111111111111101111111111111111011111111111011111111101111111111011111111111111011111111111111110111111111110101111111111111111101111011111111110111111111111111110111100111111111011110111111111111111011111101111111011011111111011111111111111111111111110011111111111111111111111111111110111111111111111111111110111111100111101101101111111011111101111010111111111111101110111011111111111111101101111111111111111111011111111101111111111101111111111111101111101111111111110111111110111111111011111110111110111111111111111101111111110101111101110111111111111110111101111110111111011101111011111111110111111111111111111110111111111111111111111101111110111111010111101111111111111111111111111110111111101111111111111101101111111111111110111111110011111111111111111101111111111111110111111111111111111101111111111111111110111111111111111111111110111111101110111101100111111101011111111111111111110111011111111111111111111111111111111111110111111101111111111111110111111101111111110111111111011111111111101110101111111111111111111111111110111111101111111111111111111111111111111010111111111111011111111111111111111111011110111111111110111101111111111111101111111111111101111111111111111111111110111111101011111111111111111111111111111111111011111111111000110111110111111111111110111111110111111111111111111111011111011111111011111111111111111111111111101101111111111111111110110111111011111111111110110111111101111111111111111111111111101111111011111111111111111111101111111111111111110111111110111101011111111111101011110101111111111111111101101111111111111111111111111011111111101111111111101111111111111101111111111111111111111111100111111111011111011111111110111111111110011111101111000111111111110111101111111111111111011110111111110100111111111111011111101111111100001111111111111010111011111110101111111111111111110111111111111111011011111111110111111100111111011111111111111111111111111111111110111111111111111111001111111111111111110111111111110111010111111111110111111111111110111111111111111111111111010111110111111111111111111111111101111111111111111111111111111111111011110111111110011111110111111011111111111101111111111111011101111111111111101111010111111111011111110111111111111111111111111111111101011110111111111111111100111111111110111111111111111111111111111111111111111111111111111111011111111111101111111011111111110111011110111111110001011111110111111111111011111111010101111010101111011111110110111111111111111100111111110111111011111111111011111111111111111111101111111111111111111111111111111111111111111111111111101011111111111010110111111111111111111111111101111110110111011111111111111111110111010101111101111111111011111101111111101111111111111111111111111111111111011111111111111111111111101101111111111011111011101111111111101111011110101111111110111111111111011101111111111110111111011111111011111111111111101011111111111111101011111101110111111111111111111111111101111111111111111111111111110111101111111101111111111101111111111110111111111110111101011101111111111111010011101100111111011111111111110111010111111111111101111111011111111111111110111111111111010111111111101110111101111111111111111111111110111111101111011110111111011111111111111111111111111111111101111111111011111111111111100101111111110111111111111011111111100111111110111111111111111111011111111111111111110111110101111011111111111111011111111111101111111111111101111111111111111001111110101111101011111101111111111111111110111111011111111111111111011111111111111111111111111111111111111111111111111111111111111011111111101111110111101111111111111111111111111111110111111111011111111111101111111110111111111001111110111111111111111110111111111111111111101101111110111111101111111111111110110011111111111101111110111111111111111101111111111111101110111111111111111111101111111111011111101111111101111111111111111110111110111110111111111101111111111111111111111111111011111111111111111111111111011111111111111111110111111111111101111111100111111100111100110111111101111111101100111111111111111111111010011111110111101111111110111111111111111111111111111111111111110111111110111111111111110111111111111111111011111111111111111111011110010111101110110111111111111111110111110011111111111110111110011101111111111111111100111111011111111111111110111111110111111110101111111010111111101111111111111110111111101110011111101011111110111111111101011111111101111111111101101111101111111111111110111101111111111111110111101111011111110111111111111111111111111101111111111111100110110111111011111111111100111111101111111111110101111011111111111100110111111111011110111111111111111111111111110111111101101011111111111111011110111111011111111111111111111111111101110110111111111111111111101111111101110111111011111111110111111111110111111111111110111011111101111111111111110111111101110111111110100111110111111101111101110111111111101111101111111101000111011111111111101110111101011111011111111111111110111111110111111011111110111011111111101111111111011111010101011111111111111111111111111111111100111111001011111111011101011111111111111111111101111011101111111111111111110111101111111111111101111111111111111111111111111001111111111111111111111110111111101111111101100111011111111111111011111111111111111101111111111111111101111111111111111111111111111110011111111110111111011111111111101111110011111111111111111111111111111111011111111111111111101111111111111111101110111111111111101111001111111111111111100110111111111111111110101110111001111111111111111111111111111011111101111111111101011011011111111111111111011101111110111111110011110101111111111111110101111111110111111111111111111111111111111111101101111101111111111111111111011111111101110111111111111101111010111111111111011111111111111111101111111111111101011111111110111111111111111111111111110011111111111111111101111111111111101111110111111111011111111111011111111110111111101101111101111111111111111111111111111111111111111111111111111111111101100111111111101111111111111111111101011011111110111110111110111111111110111011111111111111111111101111111011111111011111111110111111111111111111111101111111110111111101101111111111111111111011111111011111111010111111011111101111111111100111111111111011111111111111101101111111011111111111111111111111111111110111111111110111111111111011111111111101111111111111111111111101111111110111111111111110111111110111111111111111111111110110101101110110011111011111111111111011110111111111111111111111111111011111111111111111101111111111101111111111111111111111110111111111011101110111100111110101111101111111111011111111101111111111111011111110011111111111111111111111111110111101011111111111111111111101111111111111111111111101110101111111110111111111111111110111111111111100110111111111111111111111111111111100111101111111111111111111111110111011011111111111111110011111111111110111111111111111111111111111111111111111111111111111111111111111110111011111111011111111111111110011110111101011111111111111111111110011011111111110111111111110111101111111111111111111111111011111111110011111111011101111111111111110111111111111101101111111101111011101101111110111111111111111110111110111111111111011011101111111111110011111111111111111111110111111011111111111111011110111111111110110111111111111111111111111110111111110111111111111111111111111111111101111111101111011111110111101111111110110111111111101111111011111111111111110111111111111011111100110111111111110111111011111101111111111111111110111111111101111111111111111111111111111110111111111110111111111111101111111111101110111111101101111101101111111111111111111110111101111111111111111101111111011111111101110111111111111111111011111101101110101111111011011111111111111111111011111111111111011111010111111111111111111111111111111111111010111111111111100111110111001011111111110111111010111111111101111111111111111111111111111011111011011111111111111111111111111100111111111111111110111111111111111111011111111111111111111111111111101111110011111111111111111110011010010001111111100011010111111111111111111111111111111011111101011111111111011111111011111111101111111111111101011101111111101011110111111011111111111111111111101111111101101111111110111110111111111111110111110100101111111111110101111011011111110111111101111111111111110111111111101011111111111111111101111111111111111111111111111111111011110111111011111111110001111011011111111111101111111011111111111111110011111111111111111111111111001011111111111101111011011111111111010110111111111101110111111110111111111111110111111111101111111111111011111111111111111111111011111111111111111111101110111101111111111111011111111111001111111011111110111111011111111010111111111111011111111111101111111111111111010111111111011111111111111111101111111111110110111111011111111111111111111111011111011111111111111111011011101111111100111101111111111011111011111110111111110111111101111101111111111011111111101011111011111101111001111011101111111111111111111111111101111011111000111111111111111111101111110110011111111111111111111111111111111111111111111111011111111111111111111111011111111011111111111111111111111101111110111110101011101111111001111110111111010111111110011111111001001111111111111111100111111111111101111101111111010111111110110111111111111111111111111111111111101011111111111011011111111111111111011101110111101111111110111111011111010111011111111011101101111110011111111111111111111111101111110110110111111110110111111111111111101111010011111111101111110111111111011111111111110110111111111011011111111101111111111110111111111111101101111111011100011111111111011111111011111111101011111101011111111111111011111111111111011111101111111111101011111011111111111111111111101101111111111111110111111111111111111111111111111111111111011111111011111111111110111111111111111111111111111111111111110110111111111111100111111111111011101111101111101101111111111111111111111111111101110011111110110111011111111111111101101111111111111111111111111111111111101101111101111111111111111111111110101011010110111101100101111111011111001110111111111111111111111111011111111111101111111111111111111111111111111111011111110011111111111101111101101111110111111111111111111111111111111111111011101101111111111111111111111111111111111101011111101111011111111011110111111111111111011111111111110111111111111110111011111111111111111111111111111111111111011111110111011111111111111111111111111111111111110111111111111110111111101111111111111110110111111101011111111111111111111111111011011110111111111111101111111111111111011010111111100101101110111111111111111111111111111111111111111110111110111111110111011111111110111111010111011111011101111110111111111111111111111111111111111110111111111111111011111111111111111111111111011111111111111111111111111111011111110111111111111111111111111111111111111111111111111101111101111111101111111111111111111111111111111111111111111111011111111010111111111111110111111111111111111111011111111111111111111110001111111111111111101111111111100111111111111111111011111111111111111111111111110101111101011111111111111111111101111101111110101111111111111111111111101111111111111111111111111111111111011111111011111111001110011111111111111111111111111101111111111111011111111111111110110110011111000111111111111111111111111111111111011111111101111111110111011111001111111111111111111111111111111111111111111110011101111111101111110110111111111111111111111111111111101111111110111111111110011111111111111111111111111101111111111111110111111111011101111101111100010111111111110011110111111011111111111111111011100011101111111011111011111011111111111111111111111111011111001111110111111111111011111111111111111110111111111111111101110111111111111111111101111111111111111111111111111101011111111111110110111111101111111110111111111111110111111111111111111111111111111111110110111111111110011011111110110111111011111110011011111111111111111111111111111100100111011111111111111111101111110111111001100110011111011111111110111111011111111111111111111111111111110111111111110111111111111111111111111111110110110111111111111101011111111101111011111011111111111110110111111111111111011111110111111010111111111111111111111111111011011111110111111111111111001111111111111101101111111111111011111111111111111111110101011111111111111111111111111111110111000111111011111111111111101111111111011111111111111111111111001101111011111111110111011111111111101101111111011011111111101111111111110111101111111111110111011100101101101111100110111111111111111111111111111011110101101111111011111111111111111111111111111110111111111111111111111111111111111111011111111111111111111011111110111011111111101110111111111011101111101111111111111111101111011110111111011111111111011011111111111011111101111111111111111111111111011110111111110011111111111111111111111101111111111101111111101111111010010111111110111111111111011111101111111111111111111111011101110110111101111111011111110111111101101111111111111110111111110111111101111111011111110101111111111100101111111101111111011111110011111111111111111111011111111111111111110111111111101111101111111111111111011111110111011111111011111111111111111111111111111111111101111111111111101010111111011101101111111111111111110011110111111111111011011111111111101111111111111111111011111111111111011111111111111111111111111111111011111110111111111011101101111111111001111111111111011110111111110110110111110111111111111101111111111111111011110111111111111010011011110111111111111011101111111111111111111111111111100011101111111110111111101111110011011111111111110011111111111111111111111111111111111101101111111101011101111111111111111101111111111011111111111101011011110111111111111111101111111101111111110110111111111111101110111101111110111111100111110111111111111111100111111111101111111111110111111111110111111111111101111111111111101001111111111111111111111101111111111111111111111111110111111111001011111110111011110111111110111111111111111011111111101111111111111111111111111111101111111011101111011111111111111111111111111101111111111111111110011110101111110111111111111111111101111111111111111111111111111111111101111111111101110111111111111111111111111111111111011111111111110111101111011101101111111111111111111111111110111111011111110101111001110111111101011001111111111101111111111101101111111111111111111111111111111111111110111111111111111111111101011010111110011110110101111010111111111111011111111111111111111111111010110111111111001111111111110111011111111111111111111111111111111111111111011111111111111111111111111101111110111111111111111111111110011111111110111111111110111111111101111111111111111111111111011111111111111111111111111111111011111111111111111101111111111111011111111110111111011101111110111101111111111111110010111111101111111111111111111111111011111111101011111111111111011111111111111111111111011101111111111111111111110111111111111111111111110111111111101100111111011111101111110111111111111111111111111111111101111111111111111111111111111111111111100111110111101110111111111111111111010111111111111101111111111111111101011111111111111111111111111111111111101111111101111111111111111101111111110111111101110111111111111111111110111111111111001111100111111110111111011011110111111011111111111011111111111111110111101111111111111111111111101111110101111011111101111111111111111111011111111111111101111011110111111111111111111111111111111111101110111111111111111111111111111010011111111001111111111111111111101111111110111110110111111001111111101111111011111011111011111111111111111111111111111111111111101111011111111111111111101111111111111111101111111101111011011111111111001111111111111111111110111111111111110111111111111110010111111111011111111111111111111111111110111100011111111010101110111111111111111111111111111111111111101111111111101110111111111111111111111111111111111111111111111111011111111111111110111111111111111111111111111111111111101111111111111111011101111111111111111111111111111111011111111101111110111011101111111101111111011111111111111011111111111111101111111111011100111110111111111111111111111011111111011111111111111110111111111101101111111111111111111111100111110111111111110111110111110111111111111011111111111111111111111111111111110111111111111111111111111111111111111111110110111111111111111111111111111111111011011111111111111111111111111111111111111111111111011111111111111111101011111111011111111111111111111111111111111011110111011111111111111111101111110111111111111111111111111111111110111111111110111111111111111111011111111111011111111011111111011111111011101111111101111111101111111011111111111111111110010101111010111111111111011111111111101111011111101111111100111111110111111111111111111110011111111111111111011111111011111111110111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111110011111111111111110111111111111110101111111111111110001111111101111111111101111111011111111111111111111111111111111011111110111111111111111111011111111111111111101011111111011101111111111111011111111111111111111111011111110111010111111110111111111100111111111101110111111111001111111111101111111011111101111111011111111111111111111111101111010111111111111111111111101001111111101011111011111111111111111001111111111110111000111111111111111111111010111111111111001110101111111011111111111111111111111111101111111111111111111111111110111111110111111111111111111111111111111111111111111100111011111111111111111111111111111111101111111111111111111111011111111111011111111011111011101011111111111101011101111101110110111111111111111111111111111111111111011111011110111111111111011111111111111111111111111110111111111100011101111111111111111111111111110111111100110101111101111111111111111111111111111011111111111111111110101111111011111101101111111011011011111111111111111111111111111111111111110111111111111111111111011110111111100111111010111101101111111111111111111111111111111111111111111011111111111111111111111111010111111111111111111110111111111111111000111111111101111111111111111110011111111101111111111101111111111111111111111111111111011111110011011101111111111111111111111111111110111111111111111011111111111111111111110111111111111111111111111011111111111010111111111111111011111011111111111111111011111111011101010111101111111111111011101111101111111111111111111001111110111111111111111110111111111111111111111111111110111101111111111111111111011011101101111111111111111111111111110011011111111111111111111111110111111111111111011111110011111111111101111011111111001111011111111101111111111111111111111111111011111110111111111111111111111111011100111111101111111111111111111011101111101101101111101111011111111101011111111110011111101111111111111111111111111111110111110111111111111111110111111111010111111111010111111111011111111111110111011111110001111111111111101111111111111011011110111111111011111111111111011111111110111111111011111111111111111111111111111111101111111111111111111111111011111011111111010111111111111111111111111111111111011111111111111111111111111111111111111010111111111111111111111111101111111111110011111111111101110110111111111111111011111011111001111111111111111111111111111111111111111111101111111100111111111111111111111111111110111111011101111111111111110110111111011111011111111111111111111110101011111101110011101111111111011111110111111011111111011111111111111111011111111111111111010111111001111111111111111111010101111100111110111110111111111111111111111111111011111111111111011111111111111011111011111111111011111111011111011101111111111101110111111110110111111111111111111011111111111111111111110111111001111111101111111111101101011111011111111101111111101101110001011101111101111111111111111111111111111011111111111101111011111111111111111111111111101110111111111101111111111111111111111111111111110010111111111111111111110011111110111111111101101111111111100111111111110111111111111111000111110111111101110111000111111111101111101111111111111111111111111111101101111111011111101111111111110101111111110101101111111111011101110110110110101111110111111110111111111111110111111011111110111011011111111111111111111111111111111111111111110100110111111110111111111111111101111111111011111111111101111111111111110111111111111111111111100111111111111101111111111111111011111111101110111100111111111111110111011111111111011111111111011111111111111111111111111011111111111110111101110100111111111101111111111011111101111110111111111111111111110111110111111111010111111111111101111111111111111111111111111111111111111111111011111011111111111111111111101111110111111111111111111111111111011111111111011111111111111111111011111111111111110111111011111011111110111111101111101111111111100111011111011111110111111111111111111111101111111111111111111111111111111111110111111011111111111111111111111111111111111111111011111111111101101111110111111111111111101011111111011111111111111111111111111111111111111111101111111111111111111111111111101111111111111111111111111111111111111011111110111111111101101101011111111111111111111111111111111111111011111110111101110111111001111111111011111111111111100101011101010111110111111111111111111111111111101110111110111111111101110111111111111110111110101111111111101111111111111110111111100111111111111111111111101111111111100011111110111111011111111111111111111101111111011111111110111111011111111111111111110111111111101111111111111111111111111111111111011111111111011111010011101111111111111111111111111111111111111111111111111011111111011111111111111111101111010111011110111111101111111010110111111100011010111111111011110011111111011110111111111111111110111111011110100111111111101111110111111101110111110101111111101111111101111111111111111110001111111111101111111111110111111001111011110110111101111111110111011111101111111111111101011110110111111111111111111111111111111111001001111110111010110101110111110011111111111101110011001111110111111011111110111111111111111111111111111111111011110111111111111101111111101111111110111111111011111111011111111011101111011111111101111101111011111011111111111111101101111111111111111111111111111111111111111111111111101111110111111111101101111111111111111111111111101111111101011111111111011111111111111111111110111111111111111111111111111111111111111110101111101001111111111101110111111101111111111111111011111011011111111111111111101111111110111111110011111111111011011111111111111111111111111111011111011110111011111011111111111111111111111111111111111111111111111011111111001111110111111111111101111111111111110001111111111111111111101110111101111110110111111111101111111111110111111111111111111110110111110111111111111111111101111011111111101101011111010111111111110111110111111111111111111110111111110110111111010111110101111111110111111111010111111111100111110111111111110111111111111101101111100010011110111011110111111111111111111111111111111011011111111111111011110011111111111111101111111111111111111111111110111001111111110111110111111111111111011111111101111111110111111111110111111111111111101111111111111111101111111111111101110111111111111110101111101101111111111110111111111011101111111111111111010111111111111111111111110111111111111111111111010110111111111111111111111111110111011111101111111101111111111111110111111111101111111111111111101111111111111111101111111111011111110111111110111111111111110101110011111111111111111111110111111100111111111011111111110111001110111111111111011111111101111111111111011111111100011111110111111111011011111111111111111111111011111110111011011110111111111111011111111111111111110111111111111111111111111111111111110111111100100111111111111111111100111111111111111111111110111111111111101011111111011111110111111111111111110110111111111111111111111111111111101111111110111111111111111111111111111111111011101111111110111111111110111111111111111111011111101111111111111111111111011101111111111111111111111111101111111011111101111011110111111111111111111111011111111111111111111111111011111111111111111111111110111111110111111111111111111111111110111111111111111011111111111001111011110111111111111111111111111111100111111111101011111001111111111011111101111111111111111101111111111111111111111111100111111111000111101111111101111111111111111011111011011111111111111011101101111110111111111111111111011100111101111111111111011111111111111011111111111110111111111111111111011111111111101111111111111010111111101111111111111101111110110111011011110010111011111111111111111111101110111101111001001101111110111110111101011011111111111111111111111111111101111111111110111111111011111111111111110011111111111111011111111111110111011111110111010110111111010111101111111111111101111111100110111011111111011111111111111110111111111111111111111111111111111101111111111111111111111110111110111111111011111111111111111111111011111111111111101101111101111111111111111011111111111111111111111111111111111111111111111111111101111110111111110111111111111110011111111111111100111111101111111110111111111101101111011111111110111111111111111111101111111111111111111111111111111111111011111111011111111111111111111101110101111111011111101111111111111111101111111101111111111111111111111111111111111111111111111111111111111111111111101111101111111011111111111111111110111111111111111111111111111111111101111110111111101110111110111111111101111111110111011111110111111111011110111111110111111011111111111111111111101111111101111111111111111110010111011110011111111111111111111111111111111101111101101111111111111111111111110110111011111111111111111111111001111111111111111110011111111101111111111011111111111111110111111111111110111001111111111011111111111011111101111111111111101111011111111011111111111111111110111010110111111101111111111101111111011111111111111110101111101111111011111111101111111111111110111111111111111111111111111111111111111111111110011111111101111111110111111111111111111111111111111111111111111111111101111010111111111011111111111110011111111011111101110111111111111101111111111101011111111110111111110011111111111111110111111011111111111111111111101111111111101111111111111111111110111111111011111111111011001111111111111110111011111110111111101111111101111111100110111101110111111111100011111111111101111010111110111111111111111111111110110111111111110111111110101111111111111111111011101111011111111111111101110111111111111111111101111111111110111111111111111111011111111110111111111111111110111111111111101101111111111111111111111111111011001001111111010111110110111111110111011111111111111111111101111111111011110111011111111111111001111111111111111011110111111111111111111011111111111111111111111101011111111111111111101101111111011111111111111111111111111111110111011101111111111111111111111111011111101111111111011101011111111011111111111111111111011111111111111011111011111111111111111011110111111111111111111111111111111111110111111101111111111101011110111111110111111111111110111111111111111111011111101111111011111111111111111111111111111111110111111110111111111111111111111110111111110111111111111110101111111111111111111111111101111111111111011111111111111111011111101111111111111110111111101111111111111111111111111111111111111111111111011111111111111111110110111111111111100011011111111111011111111111111111111111111111111111111110111110111111111111111111111111111111111111111101110111111111111111111110111111111011110111111111101011101110111111111111101111100111111111111111111111110011011100011111111110111011111111110111111000111111111111111110111111111111111111111111111101111111110111111111111111111110110101111111011111111111111111111101111111111111111111111110111111110111110111101111110111111111111111011111101111111110111111111111111011111111111111011111111111111111111111111110111111111001111111111111110011111111111111111111111111111111101111111111111111111111111111111111110111111110111111111111111011101111011111111111111101101111101101111111101111111111111100011111110111111111111111110111111111111111111110111111111111111111111110111111111111101111111111101101111111011110110111111111111111111111111011111111111111111111011111111101111111111101011111111001101111101111011111110111110111111111001111101101111101111111111011111111111111111101111111111110111111111111111111111111111111011110111111111111110111111111111011111101111111111011101011111111111110101111101110111111111111111111011111111100111111111111111011011111111111111111111010111111111111011111111011111101111111111011111111111111110101111111011101111111111111111111101111101101111111101011111111111111010110111111111111111011011111110111111100011111111111110111010111111111111011111101111110111111111011111111011101111111111111111111111111011111111111011111111111110111111111001111111011111100111111110101111101101111111111110011111011111111111111111111111111000111111111111111111111101111111101111110111111101011111111011111111111111011011111111111111111111111111111111110101111111101111111111111111111001111111110101111100111111111111111111111111111111111111111011011111111111101111111111011111111011111110111101111111111111111111111111111110111111011011111111110111111110111111011111111111011111111111111111111111111111111011110111011111111111111111011111111110111111111011111011011101111011111111111111111011111111101111111111111111111111110111011110111111111101111111111011111111111111110111111111111111101101111011111111111101111111111111101111111111011111110011111111111011111110110111111111111111001011101111111010111101111111111111111111111111110111111111011111111101111111101111111111111111011111111111111111110111111111111111110111111111111111011111111111111111111001111111101110111111111110111111111111111110111111111011111111111110111111111111101111111111111101111111111111111110011111101110111111111111110111111111111111111111100111111111111111011111111111111011110111101111111111111111111111011101111111101101111111011111111111011111111111111111111101101101101111111110111011111101111101111111111111111111101111111111111111111111111111111111010111111101111111111111111110111011111111101011111111111011111011111111111111110111111011111011111011011111111101111111111011111101111111100111111011111110111111111111111111111111111111111111101110111111111011101111101111111111111111001110111111111111111110111111011101111111111110111111110101111010111111111111111111111111111111111111111111111111111111111111111111101111111111111111111011111110111101011111011111111111111111011111111111111101111111111011110011111011111111110111111110111111111011111100011111111111111111111101111110111111101111110110111111111111110111110111111111111110111111111110111111111111111111111111111111100111111111111111111011111111111111111111011111111111111101111111111111111111111101111111111111101111111111111111111111011011111111111111111111111111111011111111011111011111110111111011111111011111101111111111111111111101011111111111111111011111111011111111111111111101111111111011111111111011111010111111111111001101011111111111111100111111011111111111100111111110111111110111111110111111111111011111111111111111111101111111111111111111111110111111111111111111111101110111111101111111111111111111111101111111111110111111111111111111111111111011111111111111111111011111101111111110111111111111111111111111111011111011111011110111111111111111111111111111111111111111111111111111111111111111111011101111111111111111011110111111111111111111101111110110111111110011111111111011101111111100111111110101111111111111111101111111111101110111111111111111111111111111011111111111111111111111111111111011111111110111111111111011111011011111111111111111111001011111101111111111101111111110111111110111111111111110111111111111111111111111011111111111111100111110111101111111001011111111111110111101111111110111011111111111011111111111110111111111111111101110111111011111111111110100111110111111101101111111110111101111111111111110111101111111011111111011111111101111111011111111111111111111111100011110111111111111011111111100111111111111111110110111111111111111101111101110111111100111111111011111011110111110111111111111111110111111111111111111111111111111111011111111111111010111111011011111101111111111111111111111111111111101111111110111111110110111111111101111111111111110111101111111011111111111101101111101011111111111111101111111111111111110101011110111111111111111111111111011111111110111111111111111111011111111100110110111111111111111111111111111111011111111110111110111111111110111111111011111101111010111111111111011111111111111111111111111100111111111111111110111111111111111111111111110111111111011111111111111111111111110111101111111111111111111111110111111111111011010111101111111111111111101111111111111101111111111011011111110101111101111111111111111110111111111101111111111101111111111110111111111111110111110111011110111111111111111111011111111111111111110101110011111111101111111111111101111101111111111111111111000101111110011111111111111101101111111111111111111101111111101011111111111111111101111110111110111111111111111111101111111101111111111111111111111111111101111111111111111111111111111111010000111111110111111011111110111111111111111111101111100101111011001111111101111111111111011111110111111011110111111111111111111110111111101110111110111111111110111111111111111011111111111111111111100111111111111111101111111101111101011011011111110101111001111111111111111101111111111111110111111111111111111111111111111111111111111111111011111111101111111110110111111101111111111110111111111111111110111111111111111111110111111111110111101111101111111111111111111101111111111110110111111111011111101111111111111111111111010111001111101110110111100111110111111110100110100111111111111110111110111111111111111110111111110111101111110111111111101011011111111111111101111111111111111111010111111111101101110011110101111111110111001111111111110111111111111111111111111111111111111101111111111111111111111111110111111110111111111111111111111011011111111111111111101111111101111110111110100111111111111110111100111101011110111111111011111111011011111111111111111111111011111011111111011011111101010011010111101101111011111111111111111111111111111110111111111111111111111111110111101101111100111111011111111111111111111011111111111011011101101111111111111100011101101011111111111111111111111111001111111110111111111111111111111111111111011111111111111010111111110111111111111110111111111111111111111101111011111111111111111101110111111101111111111111111110111111111111111111110111111011111011111011111111110101111111101111101111101111111111111111101111101111101111111111111111110100110011111111111111111101111011101111111111111111111111111011111111110111001111111111111111111101111111101011111111111111111111011011101111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111111111101111111110111111111111111011111111111111110111111111111111111111101111111111111101100011111111111111111111111111111111111111111111101111111111111111111101111111111110111111111111111110111111010111111111111011111111111111111110011111011101111111100111111011111111111111011111111111011111111111111111101011110111111101011111111111111111101101111111111111111111111110111110111111111111111111111111110110111111111111111011111111111111101111101111111101111111111111111111111110111111111111111011111111111111111111111111111111111011011011111111111111111011111111011111001111101111101111111111110111111111111111111111111111111111010111011111111111101111111111110111101101111111111111111111111101111111010111111111111011111101111111111111111101111111101111111011111110111111111111111111111111111111111111111111111111111011111111111111110111111111111111101111111111111100111110111011111011111111111111111111110101111111101111011110111111111111110011111111111111110111101111101101111111111110111111111111111111111111001101101111111111111010111111111111111110111011111111111111111111111111111111111111111110111111001111111111111111011111111111111111011111111111111110111111101111010111111101111111111101111111111111111111110111101111111111111111110111110111011111101111110111111111111110111111111111010101101001111110111110110111011111111001101111111111101011011111111110111111111111111011111111111111110110111111111111111111101111011111111111111111111111011011011111110111111111111111011111111011111111111011101111111111110111111110111111111111111011111111111011111111111101111111111110111011111111111111111111111111111111110111111011111111011111011111011111111111111111111011111111111110111101111111111011011111110111111110111111101111111111110101111011111011111111111011011111111011111111111011111101101111111011111111111111111011101111110111111111101101111111010111111111101111111111101111111011111111101111111111010111001111111101010111011110111111111111111111110111111111111111111111111011101111110101111111110101111111111110111111111111111111111111111111111111110111011111111111101010111111111111011111111111111111111111011111111110111111011111111111111110111111111111111111111011111111111011111111110111010011111111110110111111111111111111111111111111111111111101110111110011101111111101111011111111111011110111111110111011111101110111110111111111111111001111111111011111110111111111111110111110111111111111111111011111011101111111111111111110111111101111101111111111011111111111111111111111111101011110111111111111111111111111111111111111010111111111011111011111111111111111111111111111101111111111111111111111111111101111111111111111111111111111111111111111001110111001101101111101101111111111110011111111111111111111111011111111111111111111110111011101111101111111101110111111101100111111111111101101111110111101101111111111111111101101111111101111111111100101111111101111101110111110111111111010111110111111111111111111101111101011011111111111111111111111111011011111111111111111111101111111111101111111011111111111011111111111111111111111111111111111111000111111111111111111111110011111110111111111110111101011101111111111111111111101100111111111111111111111110011111111111111101111111111111111111101111111111111011111111011111101111111111111111110111111111111111111111111111111111111111111111111111011101011111111111110111111111011111111111111111111111111111111111111100111111111111111111110110111111111111111111111010111111110111111111111111010111101101111100111111111100101111111111011111111111111011111111110011111011011010011011011110111111111111111111111111111110111111111011111111111111110001111110111101110111111111111111011111110111010111111011111111111111111111011111111011111011111111111111111111111101111111111110111111111111111111111111111011011111011111111111011111111111111111111111111111110111111111111111101111111100111111111011111011111111110111011110111111111111101111011111111111111111111101111111111011101111111111111101111110111111111111101111111111011111011111111111111011111111011111011111111111011011111111011101111111111111111111100110111110011111111101111111111011111111111111011111111110110111111011111111101000110110111111110011110111110111011011111011111011111101111101111101101111111111111111111101111111110111111101111110111111111111111111111111111001111111111111111110111111101111110111110101010101111110101111111111111101111111111110111111111111011111111011011111111111111111011110101111111111111111111111101111111110111101101111101111011111011111110111111111111111011011101111111111111111111111111111110111111111111111101111110111011011101111111111111010111111111111110111111111111111110110111111111111101011010110101111101111011111111111110110111111001101101111011111110101111111111111111010111111111111111011111111111011111111111111111111011111111111111111111111111110111111110111111111111111111111111011011110111111101111111101111101011111111111100111111111111101111110101011111111111111111111111111011111110011111111111111110110111111011101111111111110101111111111111111111111111111011111111101111111111111111111111111111111111110111110101101111101111101111110110110101111101011111011111111110111111111011111111111111111111011111111111111111110111111111011111110111111111111111111111111111110111111111111111111101011111101111011001111111111111111111111011111111111101101110101011111110110011111111111101100111111111111111111100110111111110011101111111001111101111011111111111111101111011011111101111111110111111111111111111111110110111111010111111111111111101110011111111111101111111111111111111011111011111111111111111111111111111111111001111111110111110101111111111111111110001111111001111101110111111111011111111111111111111111011111111011110111101111001111111111111111111111111111111111111111111101111111110101111101111111111111111111111001101111111111111111111111111111111111111110111111011111110111111111111111111110111111111111111110111111011111111111111111011111111111011111111110011111100111111111111111111111111101111111111111110110111111111111111101111111110111111101111111111111111111111111110111111111111111111111111111101110101111101111111101111111111111111111111111111111111111111111111111101111111011111111111111110111011111101101110111111111100111111110111110111111111111111111111111111111111011100111110000111111111111011111111111111011111110111111111111111111101100111111111101011001111111111111111101111111110111011111111011110101101111111111010111011111101111110111011101111111011110111111111111101111110001101111111111111110111111111111111111111011111011111111111011111111111111111111111110111111111111101111111111011101111111111111110111111011011111110111111111111111011111101111111111001111111111001111111111011111111011111111101111111011111111111111111111111111111111111111111110111111110011111111111111110011111010110101110110111110111110110111111111111101111111111111111111001111111111111111111101111111110111111111111101111111111110111110101111111111111101111110111111111111111111111111101111111111111111111111111111111111110111111001111111111111111111110101111111011111111111111111111111011110111011111011111111110011111111111111110101111101111111111111110101111111011111001110101011111111111111011111111110011111011111111111111111111111111111111111111111111111111110111111111111111111110011111101111111111111111011111111111111111111011101110111111111111111111111111011111111111111111111111111011111101111111111111111111111111101110111111101111111111111111101111111011111111111111111111111111111111111111111111101111111111111111010111011111111111110111111101111111111111111111111111111111110110111111111111111110111111111001111111111110111111111111111111111110111011101111111010111111011011111101111111101101101111110111110111111111111011111111111111111111111111110011110111111111111111111111101111111111101110110011111111110111111111111111111111111111111111111111111111111111111111111110101101111111111111111111111110111111111111111111111111110111111111111110100110010111111111111111111110111011101111111111111111111111111111111111111111111011111111111110111111111111111111111111111111111111011011111111111111111011111111111011111111111111101111111110111111101101111111111111111101011011111111111101111111110111101011101111111111101111101110111111111010111111011111110111111111111111101111111111111111111111101111111111111111111111101011111111110111111111111111111111111011111111101111111111111111111111111111011111111101111111111111111111111111101111110111111101011111111001111111111011111111110111111111111110110111111111110101111101111111111010111100111111111111111111111111111011111011111111111111111111111111011111111110111101111111111110110111110111110111111111111111111111111011110111111111111111110111111101101111110001111111111111111111110110111101110011101111111111111101111111111111111111110110111111111111111111111111101111111111111111111111111111111111111111111111001111111011111111111111111111011111111111110101110101111111111111110111111111111011111111111111111111111111111111110111111111111111111111101011101111111111101111111110111111101111011111101011101011111111111111111111111110111101100011111111111110111111111111011111001111111111111111111110111101101111101110111110111111111111111111111101111111111111111110110110110111111111111111111111110111111111011111111101111101111110101110111101111111111111110111111010111101111111111111111111110111111111111111111011110111111111111111101111111111101110111110101101101011111011111111110111101011111111011111111111111111111011111111011111111111111111111111110111111111111111101111111011111111111111111111111111101111111111111100111111111111111111101111111101111111111111111111111111111100111111111011111111111111110111111011111111111110111111111111111111111101101111111101111111111011111101111111101110111111111111011111111011101111111101111111111110101111101111111110111111111101111111111111101111111111111111111101110111100110111111011111111111111111001111110011110110111001110110111111111111110110111111111111111111111111101111111101111111111111011111111110111111111111101111111111111111111111101110110111100111111111111111111111111111111111110111111101111011111111111011110111111110011110111011111110111111111111111111111101111111111111011011111111111111111111111011011111110011111111111111111101111111111111011111111100111101110111111111111110110110101111111010111111111111111111111111111110111110111111111111111111111111111111111111111111011111111111111101110011111111101111111111111111111111111101111011111101111111111111111101111111101110111111111111111111111111111111110101101111111111111111110111011111111111111110111111111111111111101101111111101111111111110111011011111111111111111111110111111101101111111111011111111111111111111111111111111111111111111111101111111111111111111111101011111111111111111110111111111111111111111011111110111111111011111111111111111110101111111111111111111111111110111111011101101111111111111111111111111111111111111101111111111111101101111111111110011101101110101111011101111111111101111111111111011111111111111111110111010111111111110011111111011111111111111101011111111111011110111111111111111111111111111111111011111011111111111111111110111111111111110011011111111111111011111111111111010111111111111111111111111000111111111011111111110111111111110111111111111111111111101111111101111111011011110101111111111111111111111011111111111111111111111111111011111011111111011111111111011111111111111111101111011101011111111011111111111011011101111111011111110111110101111110110111111111110011110111111111111111011110110111110111101110110111011111101111101111111111101111111111111111101111111101111111111111111111111111111101111111011111111111111111101111111111111110111111011111111111011111111101101101111111111110111111011111111111111111111111111111111111111011111111111111111011111101110110111111111111111111111111111011111110111111111111111111111111011111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111110111011111111111101111111111111011111111111111010111111111011011100111101111111111011111111111111111011111111111011111111111111111111111111111111111111111111110111111111111111111111111111111111011111110111111101111111111111111111011111110111101111111111111111111110011111111111110111111110111111111111111111010111111111111111111111111110111111111111111101101111111111111011111111111111111111111111111101111101111111111101011111111111111110111111111111111111111111111011111101111111111101111111111111111001111111111111111101010101111111110011101111111111110110111111111111111111111111111111111111111111011111111111111111101111111111111111111111110111110111110111111111111101111111110111111111011111111111111111111111111111111111111110101111111111111101111011111111111111110111011111111111111111101011111110111111011111111111111111111101111111111111111111011111111110111111111111111111111111111111111111111011111111111111101111111110111101111111111111111111011010111111111101011111111011111111011111111111111111111111111111101011011111111011111111011111110111010110111111111111001111111111111111110101110111011111110111111011111001111111111101111011111111111011111111110111111111111111110111010111110111110111101111111011101111111111001111111110111111011111111111011111111111111111111111111111111101101111011011111111111111111111111111011111111001111111111111111111111101011110111111111111101111111111101111111111101101111111111111011111110111110111111111101111111111111011111111111111111111111111111110101111111111111111110111111111111111111110111110111111101111111111111111111111101111111110111111111111111111111011011111111110111111111001111111111111101111111111111101111111111111101111101111111111101111011001101111111111111101110111111111111111111111111111111111111111111111111011111111111111111111110111111111011111111111111101111110111111111101111111111111111111001111011111111111101111111111110111011111111111110111111111111111111111101111111110111111110101111101111111111111111111111111111111111111110111111111111111111111101111111111111011111111111110111111101111111110101111111111111111111111111111111111101111011110111111111111111011111111111111101101111011101111111111110111111111111111111111111111111111111111111111111101111111111111111011111111111111111111111111111110111111011010111111100011111111111111111111111111111111111111011111111111111110111111111111111011111110111111111111111111111011111001111111111111111111110110111111011011111101111101111111111011111111111101010111101111111111111111101111111011101111111111111111111101111111111111010111110111111111111111011111111111111110111111111111111111011111111111111111111111111111111101111111101011111111111111111111111110110111111111111111111111111011111110111111011111010111111111111111111110111011111111111111111110111111111111010101111111111111011110111101111111111111110111011111110111111010111111111111111111111110011111111111011111111111111110110111111111100111111111101011011111111101111111101111111110111111011111111111111111101111111101100111101111101111111111011111111111101111110111101111101111111111111111111111111101111111111111111111111111111011101011110111011011111111111111111111101111011111111111111111011110111101111111110011111111111111101111111111111111101011111011111111111111111111111111011111111111111101111111111111111101111111111111111111111011111011111111101111111111111110111110110111111011111111111101111111110111111110111111100111101111111111111110101101111111111111110111111111111111111101111101011111101111111111111011111111110110111111111111111111111111111111111111111111111110111111101111111110110101101111011101111111111111111111111111101111111011111011110111111110110111111111001111111111111011111111111110111011111111111111111101111111101111111111011001011111011111110011111110101111111111111111111111111111111111111101111111101011111101111110111111111101111010111111011110111111011011111101010110111111111101111111111111111101111111011011111111111011110111111111111110111111101111111110101111111111011111111111111111110111111111110111101111111111111111111111111110101111111111111111111111110111001111111111110001101011111111011111111111111111111111111100111111111111101110111111111111010110111011010110111111111111111011111111111111110111111111101111110111111111110111111100111111110111111111100111111111111111111111111111111111111110111111111111111111111111011101110101111111110101111111111011110111101111111111011111111011110101111111111111111111110111111111111100111111111110111111110111101111111111111111111101111111111111111101111111111111111111111111011111111111100111110111111111101111011111111111111110011110101111111111111111111101110111111111111111111111111111110111011111111111111111101111001011111111111111111101111111111111111111111111111110111110111111111011001111111111111111111111110111111111111111011011111111111111111111111111111111111111111111111111111111111101111111100111111111011101111110110111111111101011101011111111111111110101101110110111011111100110111111111111011111111011111110101111101111101001011101100101111111111111111111111111011111111011111101111111111111111111011111111111111111101111111101101101111111111111111110111100110111111111111011111110111111111101111111110111111111111111111100111111111111111101111111101111111110101111111111111111111111010111101110111111111111011111011011101111111111111011111111111111111111011101111111111111111111110111111111111111011110011111111111111111011111111110111111111011111111111011111111111111101111011110110111111101111101011111111111111110111111111111011110011111111111011111111111111111111111110111111111111111111101111111111110111101111111111111111111111111111111111111110111111111111111111111011111111111110101111111100111111111111111101111111111111111111110111111111111111111110111111110111001111101111111101111111111111111110111110111111111110111111011010110011111111011111111101101111111111111111110101110111111111011011111111111101101110101111111111111111111111111111111111111111111111111111111111111101101111111111111111011111101011111011110110111111111111111101111111111011111111011111111111111101101101111111111001111111111001011111111111111101101110111011111110111111111011101111001101111111111111111111111111111111111111110111111111111111111110111111111111011101111111111111111111111111110111001111101111101111011111111101111111111111111111111111111111111111110110111101111011111111011111111111111110111111111111111111101111111010001111101111100111111101111111111111111111111111111110111111111111011111111111111111111110010111111111100111110111111111111010010101111111111111111111111110111111101111011111001011111111111111110111101111011111110111101111111111110011111111111111111111111111111111111111111111111111111111111111111111111110111111001011111110111111111111111111111111111110111111111111111011111101110111110111111111111101111111111101111111111111111111011111111111110111111110111111111111111101011111111111111111111111011101111111111111111101111011111111111111111100111111001111111111111111101111111111111111110101111111011111111001111111111111111111111101111111111111111101011010101110111111111111111111111101111110111110101111111111111111110111111110111111111111010111111101011111111111110011111101111111111001111111111111111111011111111111111011110111111111110111111111111111111111111111111111111110111011011111111111101111111011111111110111101111111111111111111111111111111011011110111111111111111111111110011111011111111111110111111101111111111111111111111011011011111111110111111111110111111111111111111111111111111111111001111111101111111111111111111011111111111111111110111001011111111111111111101111111111011111111110101111111111111111111101011111111111111110111101111111111011011111110111111111111011111111111101101011111111111111111101010111111111110010111111111011111111111111011111111111101111010110111111101011111111111110111110011111111111111101111011111110111111111111110111111111111011111111110111111011101111111111111111111111111111111111111011111111110111111111111111111101111111001101110101001011111111111111111111111111111011111101011111111111011111111110011111111011111111111111111110111111111111111011111111111111111111111111101111011110011111111111111101111011111111111111111111101111111111011010011011101111111111111111110110111111111111111111010111101111011111111111111111101111111111011111101111111111101111111111111111111111111110101111111111111111110110111111111111111101111111111011111111111101111011111111110101111110111111101101111011111011111111111111101111111111111111111011011111111111111111110101011111111111110111111111111111111111111110111111101011101111111111111111111100111111111111010111101111111111110111010011111011111111111111101011111111111111011111111111111111111110111111110111111111101101111111110111111111111111111101110110111111111111111111111111111111101111111110111111111101101111111111110111111111111111111010111111110111111011110111100111111111111111010111111111111111111111111111110101110001111101111111110110111111101111110111111101111111111111111111111100111100111110111111111110111111111011111111111111111111110111111111110111111111111111101111110111111111111111001101111111111111100111111111111111111101011011101111010111111011101111111110101110011011111111111111111111011111011111111111111111111101111111111111111101111111111101111111110111111101111011111111111111111111111111111111111111111111110110111101111111111011011111111101111100111111111111111111110011011011111111111111101111101111111110111110111111111011111111110111111111111111111110111111111110111111111111111111111111111111111111100011111111110111110111111111111111111110111111111111011110111111111111111101111111100111011011101100111111101111111111111110111101111111111010111111111111010111111101011110111101011011101111110111110111111111111111111101111011111111111111011111111111011111110101111111111111111111111110111111111111111111111110111101101111101011111111111111111111111111111111111101111111111111011111111100111111111010111101111111111101111111111111111111111111111111111111111111111111110111101111111111111111111011111111101111111111111111111101111101101111101111111111111111110010110011111111111101111111111111110111111111111111111111111111101111111111111101110111011101111111111111111111111111111111110111011111100111111111101110111001110111110111111101111111111111111010110011111111111010111101101110111111111111111001111101101111111111111110111111111111111111111111101111101111111110111110011111111111111111111110111111011111111110111111111111111111111111011111111111111011101111111101111011111111111111101111111101100111111111011111111111111111101111111101110101110111111111111111111111111111011111111111101110111101111111110111100111011110111110111111111110101111111111111111111111110011111101111111111111111111111111111101111111111111111111011111111101010111110111111111111111111111111111111111111111111101110111111110111101111111011111111111111111110111111001101011011111111111111111111110111101111011111111001111101111111111110111111101111011111111110111101111111111111110111111111111101111101111101111111111110111111111110111011111101011111101111111111101111111111111110111111111110110111111111101111111111011111110111111111111110110101111111111011111111111111111111111111111111111111111111101111111111111111111111011111010111001111111111111101111110111111111100110111111101010111111111111111111101111111111111111111111111111111111111111111111101011111111111101111111111110111111100011111111101111111111011111110101111111111110111100111111111111111111111111101111111011111111111111111011011101110110111111111111111111111111101111110111111111101111111101111111111111101111111111100111111111111111111111110110111111111011111101111111011101111111111101111111101111111111101111111011011110111111111111111110111111111111111111111111111111111111111110101111111011111101111111011111011111011111111111111111111111111111111111111110111111110101111111101111111111110111111111111111111111111111111111111111101111111111111101111111111011101101011110011111111111110011111111111101111111111111111110111111111111110011110111100111111110111011111111110111111111100111011110011111111011111111111011111111111111111111111110101111111111111111111111110111111101111101110111111111111111111111111111111111111111111111111111111111111011110111011111110110111111111111111111111111110111111111100111111111111111111111111111111111110111111111111111011111111111011111110011111111101111110011111111101111111111100111111111011111111111010111111110111111111110111101111111111111111111110111101111101111110111111111111111111111111111111011111101111111111111101111111111111111111111110111111110111111011011011111111111111110111111110011111111111100111111111111101111111111111011101111111111111111111111110111111111110111111111111111111111011111011111011111111111100111001111111111111111111101111111111111111110111111111111111111111111111111111111111111111111111011111111111111111011111111111111111111111101111111111111111111111110111111111111110111111111111111111111110011101111111111111111111011111111011111111110101111111111111111011101010111111111111111111110111111111110111111101111111111111111001111111111111111111111111111111111011001111111111111111111111111111111101111111111111111111011111101110110111111111111111111111111101111111111011111010110111111111111111111111111111111111111101011111111111111111111111111111111110101111111111111110111111000101111111110110111111111111101111011101111011111101111011110001111111111111111111111111111000111111110111111111111011111111111111101111111111111111111111101111111111111111101111111111111111011101111111110111111111111111111111111111111101101110111011111111111111111111111111111111111110111011111111111101110110111111111111111111111101111111110111111111111111111111110110111111111111011111111111111111111011111111111111110111111111111111111111111111111111111111111110111010011111101111111111101111111101111111100111111111111111011111111110101111111111111111111101101111111111110111111111110111111111110111111111111111111101111111111100101111111111111111111111111111111011111101111111101111111111111111101101101111111111111101011110111111111111111111011111101111110111111111011111111111111011110111111110111111111111111110111100011110101111010111111111111111111110110111111111111111111101111011111111111111111111000111111111111111111111110111110111111111111100111111111111111111111111101111111111011111110111111111111111111011111110101111111011110110111111111111111111111111110111110011111111111111111111111111111111111111111111111110111111111111011111111011111011111111101111111111111111111111111101011111111111101111101111111011111111111111110111101111111111101111111111111111111111101111110111111111101111111111111011111111111111011111111111101111100111010111101101110111111111111110111111111101111101111111111111110111111111111111101111111111111111111111111101111101101011111111111111011111101111111110111111111111111011111101111111111111111111111111100111111101111001111111111011111111111111110111111101101111111111110111110101111110111111111111111011111101111111111111111111111111111111111111111111110111111111111111111110111111101111111111001110111111111111111101101101011011011011111111111111110111111111001101111111111111111011011111011111111110111111111111111011111111111011111011111111111101111111011110111111111101111111111101111101101111110111111111111111011011101111111111111011011111110111111111010111101110111111011011111111111111110111111111111111111111111111111111110011011111111111111111111111111110111110111111011101111111111111111111111111111111111111111111111111111111111111111111101111111111111101101111111111111110111111111101111111111111111111111111101111111011111111111101101101111111101111111111111101111111111111111111110111111111111110111101111110111011000111111111111111111111111111110011111111011011001111111110101111110111101111111111011111111111111111111111111111100111110111110101111111111111111101111111111111111111110111111110111111111111110111111111011110111010111111111111111111101110111111111111111111111111111011110111110111110111111111111111011111101111111111111111111111111011111011111011111010111111111111111110111111111111111110111110111111111111101111001111111101111111111111111111011111111111111111111111111011111111111011111111011111111111011111111101111111111111111110111111111111111111111111111111111111111111111111111111110010111011111111111111111111111111111111111111111011111100011111111111110111111111110111011111111111111110111111111011111111100101111111111101101111111101111111111111110111111111111111111111111111111111111111111111111111111111111111101111111111111111011111111011111111111111111111110111111111111111111111110011111111111110111111111111111111011111110101111011111111111110111111111111111111111111001111111111111101111111111111111111101111101001111111111111111111011110111011011101111111111111111110011101110111011110111111111111111111111111111111111111111111111111110111111011111110111011111111111111110111111110111111111111111011011111111111111111110011100010111111111111111111111111111111111111011111111111111111111111111110101111111111111011111111111111111111110101111111001110101111111011111111101110111111111111101011011111011111111111111111111011111111111011011111101110111111101111111111111111011111111111111011101111110110001111010101111111111111111111111111110101011111111111111111111111111111111111111111101111111111111111111111111111110111111111111111111111111111111011111111011111111111111111111111111111011111111111111111011111111110111101111111111111111111111011011111111110111111111111101111111111111111110110110111111111111111111111101111110111100111111111111111111111101111101111011111111111011111111111111111111100111111111011110111011111110101111110111111111111111111111111111111111111111111011111111011010111111111111111111111110111111101101111011111111111111111111111111111111110111111111111111111101111111111111111111111011010111111011111111111111111111111111111010111100111111011111111111111111111111111111111111111111111110111111111111111011111111110111111111111111111111111111111111111111111110111111101111111111111111111111111110111111111000111111111111111110111111111111111101111111111111110111111110110111111111111111111101111101110110111111111111111110111100111011001111101111111111111111011100111111111111010111111111111111111111111101111111111111111111111111111111111111111111111111111111111011111111111111111001011111111110111100111101101111111111111111111101111111111111111101111111110111110111011101111111111111111111111111111111111110101111101110111111111101111100111111111111001111111011111111110111111111111111111111111101111111111011101111111111101111111111111111111111100111111111111111111111111111011111110110111111111111111111111101111111101110111111111111111110111111111111011111111111001111111110011111111111111111101001111101110011111111111110111111111111111101111111111111111111110110111101111111111111111111101111111111111110110111111110111111111111111111111111111010111111111011111111111111111111111011111111110110111111111111111011111111111111111110110101101111110111111111111110111111111111011110100111111111111111111111111111111111111111111111111111111111111111111110111101111011111111111111110101011011111111110111111111110111111110101111111111111111111011110111111110111111111111111111111101111101101110111100111111110011111101111011111111111111111111111111111101111111111111111111110111111111110101111011111111111111111111101110110111111111111111111101110011110111111111111101111111111111111011110111111111111101111111101111111101111111111111111011101111111111011111111111111111011111111111111110111111110111111111111111111111111111111111111111111111011111011111111111111100111111111101101111011111100011111111110110111111111111011111011111111111111111111111111111111111101111111011010111101111111101111111100111111111111111111010111111111111011111011111111111011110111011101101111101111111110111111111111111111111111111011111111111111011111111111111111111111110111111111111111111111111111111111110011111111101011011111111111111101111001111011111111111111110111111111111111110011111110111111001111111110111111111111111111111110111111111111111110111101101111111110111111011111111011111111111111111111011110111111111111110011110111111111111111110111111111001011111011111111111111111111111111100001111111111111111111110111111111111111100011110111111111111111111111011111110111101111011101111111011111111111111111011111111101111111111111111101111111011111111111110111111111001011111011111111111011111011111111111111111111111110111111111111101111001011111111011111011111011111111111101110111110101111111111111111011110011101001111111111111111111111111111111111111111011110111111101111101111110111011110101110111111111011101111111011111111110110101110111111111111111111101101111011111101011111111111111111011111111111111101011111111111011111111111001111111111111101110111111111110111101110101111110011111111111011101111111111111111111111111111110111111111101111111111011101001111111101111111111011111110111111111111111111111111110101111111101111111110111110111111101111111111111111101111111101111110111111010111111111111111111111110111011110111111111111101011110111111111111111111101111111111111111111110110111111111101101111111101111111111110111111111111111111110110111111111111111111111011111111110011011111101110111100111111111111101111111110111111111110111111111111111110101101111110111111111111111111111111111111111111011111111101111111101001111111111111111111110111111011111011111111111101111111101011010111111111011111111111111111111111111111111111111111111111111110111111111100111101111111111111111111011111110111011110111111110111111111111111110111101111101111111001111111111111110001111111111111101111111111111111111011111110011101101111111110111111111111110111111101111111111011111111011111111111111111101111011111010111101111101111111111011111101111111111111111111111111100111111101111111111111111111001111111111011111111111111100100111111111111111111111101111111111011110111111111111111110111111100111111111111011111111111111111111111111111111011111111111111111111111111111111111111111111111011110111111111111111111111111111111111111111111010110111111011111111111111111011110111111111111111101111111010111011011111011111110111111001110111111111111111111111111111111110111111111111111111111111111111110010110111111111111011111110101110111101101110111111111111111111111111100111111111111101101111111111111111111110111011111111111011111110111111111111011111111101111111111111111111111111111111111111111111111111011111111111111111111111111111111111111011111111111111111011111111111111101111110111111111111111111010111111111111111110011111111111111111111111011111111111011111111111111111011111111111111100111011110111011110111111010011111111101110110111111111111111111111111111111111110111111011100111111111011111111111111101010111111010111111110111111111111111111011111111111111111111111111111111110111111011111111111111111111111111111111111111111111111011011110111111110111111101111111101111111111110111111111011111011111111011111111111110111011111111111011111111111111111011011011111111111111111111111111011011111111111111101111111111101111110111111111101111111110111110110111111111111111111111111111111101111111111010111110111111111111111111011111111111101111111111111101110111111111111111111111111111110111111111111111111111111111111111111011111111111111111111111101111111111111111111111111111110111110101100111111111110011110111111111110111011101111111111111111110111111110111111111110111111111111111111111011111111111111011011111011111111111111111101111111110111101111011111110111110111101011111111111011111101111111011111111110001111101111111111111111111111111111111111011111110101111011111111111111111111111111111111111111111101101111111101111101111111111110111111111111101111011111111011111111111111011111011111111111111111111111111111111111111111101011111111101111011111111110011111111011111111111111110111110111111111111111111111111111111111111101111111111110011111110111011111111111111111111101111111111111111111111000111111111111111111111111100111100011111111101011110111010011011111111111011111111011111111111011011011111111111111111111110111111011011111110110111111111111101101111111011111111111111111111111111111101111110111111111111111111111111111111111111101101101111101111111011011111101111011111111111011111101111111111111111111101111111111111111111111111111111111111111111111101111111111011011101111001111111111110111111101111111111111110110111111111011111111111111001111111111111111111111111011111111011011101111111101011111101111111111111111111111110111001111111101101111111101111111111111111011111111111111011101111110010111111111111110111111111111101101111111111110111101011111011101001011111111111111111111111111011111111111111111111111111101111011110101111111110111111111111111111111111111111111111111111010011110101111111111111101011111111111111111011111111111110111011111110111111111111111111011111111111101011111111111111111111111111111111111001101111111111111111111111111011100111111111111011010111101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111011111110011111111011111011110111111101111101111111011111111111111111111100111111111111101111111111111111111101111111011111111111011111111111111111111111111111111111110111011011101111111011111101111111111111111110111111111110111110111111111110111111111111111111111111111111111111111111111101111111111110111111111101011111011111111011111111111111111111111111111111111111101111111110111111111111111111111111111111111101111111111110111111111111011111111111111111111111111111111111110111111111111100111111111111111111111111111111111111111111111111111111111111111111111010001101111110111111111111111111111111111111111101101110111111111111111111011010110111011101111111111111111111111111110111111111111111011111111111011101111101111111111111111101111111111111111110111111111011111011111111111111010111011111111111111110111111111111111111111110111111111111011110111111011111111110111101111111111110111011101111101111111101111111111011111101111111111111111111110111111111111011011110111111011111110011110110111111101001110111111011111111111011111110101011111111111111111111110111111111111110010111111101111111111111111110111111111111111111011011111101111011110111111111111111011101101111111111111111111111011111111111111111111111111110111101111011111111111011101111011011101111111111111101111111111111111111111111111111011110111101111111100110111110011111111111101111111111111111011111101111111101101010101110111110101100111011011111111111011111111111111101110110111111111101111111111111010111111111111111111011111111111011101110011111111111111111101111111111111111111111011111110111111111111111111111111111111111111111111110111111111110111011111110111111111111111111111101111101111111101110111111111111110110111111111111100111111111111010111011111111110111011101111111111111101111111111111111111111111111110111111111111111111111111111111111011111110111011111111110110110111111111011101010111111111111111011111101110111111111111111111111111111111111111111101111111111111111111111111111111111111111110111111111111111010101011111101011111111011110111111111011111111111001110111111101101111101111111111111111111111111110111111100111100110111111111111111111111101111111111111011111110111111111101111100111111111111111111111111011101111111111111111111110011111111110111111011111110111110101111111111111111111101001011111101101110111111111011111111111111111111111111111110111111101111111111111111111111111111111111111111011111111111111111111111111111011101111110011111111111111111111011111111111111101111111111110110111111011111111011011011111111111111111111111111101111111111101111011111111111111101111111111011001111111111111111111101111111110111111110111110011111111111111111111111111111111111101011111111111111111111110111111101110111111011111111111111111111111111111111110111111111111111110111111111100111111011111111111110111111111111011111111011111110111101111111111011101111111111111111111011111110111111111111111111111111111111011111011111111111111111111111111111111111111111111110011111111111111111001111110111101011111011110111111101111111111110111111110111111111111110111111111111110110111111111111011111111111111110111111111111111101111111111111111111111111111111111111111111111111111101111111111111011111111111111111111011111111111111111111111111111111111011011111111111111110111111111111111111111111111111001101111011010111111111011111111110111111111111111111111111111111111111110111111101111111101111100111111111111011111101111111111111111111110101111110111111111111011111111111101111111001011011101111111111011111111111111111111111111110011001111101111111111011111111111111111011101111111101111111111101011111011111110010111111011101111101101110101001111111101111011111111111111111111111011011011111111111111111111101111101101111111111011111111111111101111111001111111111111111101011011011011111101111111101111101111101101011111011111101111011110111111101110111111111111111111011111111111011111111111011111111111101111111101111101111111101111111111101011111111011111111010111111111111110111111111111111111111111111111110111111111111101111111111111001111111111111011111111111111111111111111111111111111111111111010111111111111101111111111111111111111011101111111110111111111011011111011111111111111011111101111111111111111111111111111111111111110111111111111111111111101111011111111011111111111011101101101101111111110111111111110111111111011111111111101111011111111111101101111111111111101111111111111111111111111011110111111101111111111111111101011111101111111111011111111111111111111111111111111111101111111111111111111111111111111111111101011111111111101111111111111011111101111110110111111111111111111111111111111111101111011111001111101111110111111111111111111111110101111111111111111101111010111011111111101111111011111111111111101101110111111111111101110110111111111111011011111111011111111011111111101111111011111111111011110101111111011111111111101111111101111001111111111111101110111111111101111110111111111111111011111111101111101101111111110111111111011101100111111111011111111110111111111111110111111111110011111111101011111111111011111111111110111111111110111110111111111111111111111111111111110111111111110111111111101111111011111111111111011111110110111111111111111111111111111111111111111110111101111111111111111111111111111111111111111001111111111111111111111110111111111111111111111111111111111111101111111101111111111101111111111111101111111111111111111111111111111111111111111111111111111011111111011111111111111110111111111011111110111111111111110111111111110110111010111111111111111110111110101110110011111111011111111111110111100111111111111011111101111111111011101111111011101111111000111111011110111111111111111111011111111111101111101101111011111111111111111110110111111111111111011111111111111111111111101111111111001111111011111011110101111111111111111111101111111111111111111111111110111111111111111111101010011111111111111111111101111011111111111111111011111111111111111111111111111110111111111110111101111011111111111111101111111111111111111111101111110111111111111111111111011111110111111111111111111111110111111111111011011111111111111111101111111111111111111101011111111111011110111011110111011111111111111111111111111111111111101111110111111111111101111111111111111111111111111101111111111111101111111110110111110101111111110110111111011111101111111101111111111111111101111101111111111111111110111111111011011111101111111101111110111111110111111111111111111111111111111111111111110111110101111110111111101111111111101111101110111011111111111111110111111111111111111010111111111111100111111111111111011111111111111111111111111111111011111111111111111111111111111111111011111110110111111111111111111111111111111111111111111110110111101111111111111010111111111111111111111111110111011111111111111101111111111111111101111111111111111111111111111111011111111111011011111111111111111111011111111111111110111111111011111111110101111111111111111111111111111110111111011110111101111111111111111111111111111111011111111111111111111111111111011011111111111111111111111110110111110111111111110111111111111111101111110111110111111111111101011101011111111111111111111111111111111110110111110111111110100111111111101111100111111111111111111011111101111111111110111111011101011111111111111111111101111001111111110101111111111101111101110111111111111111111111111111111101101101111111111111111111111111111111111111110111111111111110111110111111111111111111110111101111011111110111111100111111111111111111101101110111111011111110011111111111011111111011111111111101111111111111111111111111111011011011110111111111111111111011111111111111111111101111110011110111111111110111110111111111111101101101011011111111110111111111111111100111111111111111111111111111111111101111111111111111111111001110111010111111111110111101101111110110111111011101101111111111111110111111111111111111111111111111111111111110111111101111111111111101111111100111101100111111111110111111111110111101110101111111011111111111111110111111110111111100111101111111011111111110111111111111110111101111111111110111111110111111111101110111011101110111111111111111111111111111011110111111101111111111111111111111111111111111111111111111111111111111111111111111111111111101110110110111111101111101111111101111111111111111111111111111111111111111011111111111111111110111111011111111110111111101111101111111111011111111101101110111110111110011111111111101011111111101101111011111111011111110111111111100111111111111110111111111110111001111111111111110011101111111111111111111111011111111101111111111111110111111111111101111011101011111011111111011111111111111111110100011111110111110111111101111111111111101111111111111111111111111111011101111111011110111101111111011111111111111111111010111111110111011111111110110111111111111111111110111111101111111111111111111111111111010111101111111111111111111111011110110111111111111111011111111111111011111111111111011111111111111111111111111111110111111111111011111111110111111111101111111101111111111111110111101011111111111111111111111111111111111111110111111101111111111110110111111111111111111011110111111110111111111111101101111111111111111111110111111111011111111110101111111110111111111111111111111111111101111011111011101111011110111111111111111011111111110111111111111111111111111111111111111011111111110110111111011111111111111011111111111111111101101111111001111111011110111111110111111011011101111111111111111111101111111101111111110111111111110111111110101101111011111111101101111111011111111111011111111111111111111011111101011111111111111101111111111111011111011111111101111101111111111010111011110110110111111111111111111111110111111111111111111111111111111111111111111111111111011010111011101111111111111010111001111111010111011111110011110111111111111111111111111001111111011110111111101111110111111111111111111111111111111111111111111101111111100101111111011111111111100111111111111111111101110111010011110111111111111111111111110111111111111111111011111111111011111111111111111110111111111111110111111111111011111111011111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111111110111110011111101101011101111111111111111111111110111111011101101101111110111111110111110111111111011111111111111110111110111010011110111111111101111111101111111110111011111110111101111111011111111111101101111111111111111110111111011111111111111111110011111101111111111111110111111111111111111111111111111111111011111111100110011111110110111111111111111111111110111111111011111111111011111111111111111011111111111111111111101111110111111111101111110111111111111111111111011111111111111111111101111111111111111111110100111110111101111101111111111111111011111111111111110111110111111111111111111011110111110111011011111111111111111111111001101011111110011111111111101111101111111111110111111111111111111110111101101111101111011111111111111111111111111111111111111111111111111111111111101111111110111111111110111111111101111111111111110111110111101111111111111011111111011111111101111110111111101011111110111011111111111111111101110111011111111111110111111111011111111111111111111111001111011111111101111111111111101111110111111111110111011111101111111011111111001111111011111111011110101111111111111011011110111101011111111110011111111111110111111111111111111111110111111111111111111111111111111011111111111011111111111111111110011010001111101111111101111011111101111111111111111111111111111111111111111111111111111111111110111111110111111111111111111111111111111111111110111111111101111111111111101011111111101111111111111111111110111111111111011111111111111111111111110111111111111111111111111100111111111111111111111111111011111110111111111111111111111111111110111111111111111001111111111111101110111111111111111111111110111110111111111111111111011111111111111010111111111110111111001111111110111111111111101110111111111111111110111111111111110111111111110111111111001111011111011111111111111011111101111011011011011111111111111110111111111111111110111111111011111111011111111110111111110111111111110011111011111101001001101111111111101111110111111111011010111110111111111111011011111111111111111111011101111011111011111111111111111111111101111111111110111111111111111101111111111111111111111111101011111111111111111111111111111110111111111111111111111111111111111111111011111111011111111111110111111111011111000111100111111111111111111011111110011110111111111001101111111111011111010111111101111111111111111111111111111011011111111101110111111111101111111111111111111111101110110111111111111011111111111111111011111110111111111010111100111111111110111101101101110111111111111111111111111111111111111111101111111111111111111101111111110111111111110111011111111111111111111011011111111110111111111111111111111110000111111101111111101111111111110111111111111111111100111111111011111111101011111111011111111111111111101101111111111111111111111111111011111111110011011101001111111111111111111111101111111110111111101110111110111110110101111111111110111111111101111111101111111111111111111111111110111111110110111111111101111111101111001111111111111111111111111101111111111111100111110111101110111111111111111111111101111011011111111111011111101111011111111110111111111111111111111101111110111011111111111111111111111111111011101111111111111111010111111111111111111111111111110111111111101111101111111111111111101111111011111111111111111111110111110111101111111111111111111111111011111111110001111111110111110111111111111111111011111111111111111011111111111111111111101111101110111111111011111111111111111111101111111111111111111111111111111110110111111111111011111111111011111110010111111111111111111111111111111111111111111011111111111111111110111011110111111111110111111111110111111111111110111111111111111111111111111111110111101101011100011111111111011111111111111111110111111111111111111110111111001111111111111111011111110110111011111111110111101111111111111110111110111101111111111111111111111111101111101111111011111111011111011111111111111101101011111101111111111111111101111111111111111111101101111111111110111011011110111111111111111011111111110111111111111111111111111011111111111110111111111111111111111111111111111011111111101111111111011111110111110110011111111011111111111111100111101111111111111011111111111111101111111111111111111111111011110101111011111111111111111111101101111111111111111111101111111111111111011101111111111101111111101011111011111110110111101111111110111110111111111111110111110101011101111111111011111101111111101100011110111111001111110111111101011111110111111111111111111010111111111110111111111010111111111111101011111111101111011110111011111111101111111111110101101111111111111110111111111111111110111110111111110111111110111011111110111111011111111111111111111110111111110110101111011111101001111111111111111101101011111111111101110011111111111111111111110111111111111111111110111110111111011111111111111111111100100101111111111111111110111111111111111111010110101111110111110010111111111111111101111111110111011111111111111111101111111111111111111111111011111011111111111111110111110111111111010111111111111011111101111111111111110111111111111111101111111101111111101111111110110111111110111111111111111111110111111111111111111111111111111111011111011111101111111101111110111111111110110111111111111110111111111111111111101111111001111111111111111111011111111110111111101111111111010111101111111111111111111111111011101101110111111111111111111111111111111111111111110111111110111111111101111111111111111111111111110111111111110111111111111111011111111111111110111111111111110111111110111101111111111111111111111111111011011111111110111101111111111111111111011111110111011111111111111111011111111111111111111000111111011111111110111110111111101111111111111111011111011111111111111111101111111110111111111111111111010111111011101111101101111110111111111111001110011111111111110011111111110111111011111111011011111111011111111110111111111111111111111111111111111101110111101111111111111111111110111111111111111111111110101111011111111111111111111111111111111111011111111111011111111111111111111111111111111111111111111111111111111111011111111011111111110111111111111111111111111110111111111111011111111111011111011110111111111111111111111111101111101111111111111111111111111101111111111111111111111110111111111111111011111100101111111111111111111111110111101111111011111110011101111111111111111110111111111111111111101111111110111111111111111111111001111111111111111111110110110111111111111111111111010101111111111111111011011111101001111111111111111111111110111111111111001111111101111111101111111111011111111111111111111111110110111111111111111111111111011111111110111101101111111111111111111010111111011111111101111110111101111111111111111101111101101111111111111110101111111111111111111011101101111111111111111101111111110111111101011111110111101111111110011111111010111111111111111111111111111111111010111111110011011111111111101111100111111101111111111111111011111111110111111111111011111111011111001111110111111111111111111111011111011111111111101111111111110111111111110111010111111111111111110111111111111111111101111111111011111111111111101111111111111111111111110111111111111110111111111111111111110111111101111110111111111111111011111111101111111111111111111111111111111111111111111111111110111111110111111111111111111111111111111111111110111100101111111111111110111111111011111111111111111111101111111111111111111110011111010111011111111101111110111111111111110111111111111111110111111011111111100111110111101111101111101011010111111111111101111101111111111111111111101111111111111111101111111011111111111101111011111011011110111011101111111001110101011111111011110111111111111110111111111111111011111110111011111011111101111111111111011111111011111111101111101111111111111111111111111011111010101111111111110111111111111111110110111101111101111111011011111111111010111111111111111111101111110111111011111111111111101111111011111111111111011111111111111111011111010111111111111111111011110111110111011111111101111111111111011111111011111111011111111111111111111011111111011111111111111101111111111111111011111111111111101111111111111011111111010111110110110111111110111111111111111001110111111111111111111111011111111111111111101101111111111111111111111111111111111111111111111111111111111111111011011110111111111111111001101111110111111111111111110111111111111111111111111011111110111111111111110011111111111111111111111110111111111111111111111111111111111101111111111111111101111011111111111111111111001111100111100111111111111110011111111111111111111111111111111100011111111110111111111110110111111111101100111111011111111111011111110111111111111111011011111111111101111111011111111110100111101110111111111111110111110111011111111111110111101111111110111111111111111110101111101111111111111101111111101101111111011111111101111111111111111111111111111111111110011111111111111111111111110111111100011110011110111110111111111111111111110111111111101111111111111101111111111111111001111101111111111011111111111110111111011111111111011111111111111111011111111111101111111111110111110111111101111100111111111011111111111111111111111111111110111111111111110111111111111111011110011111111101111111101111111111111110111101111110101111111111101111111111111111111111111111101111110111111101111101101111110111111111110111011111101101110101111111111110011110111111101111110111111010111110111110111101010111111011111010111111101111111111101111111111111111111111111111110111101111111111111011111111010110111111111101111111111111111111110111010111111111011011011111111111111101111111111111111110111110110111111111111101101111111111111111011111111110111111111101111110101111111111111001111111111101111111111111111111111111000111111011111111110111111111111111111111111011111111111011111111111111111111111111111111111111011101111101111011111111111111111111110111111111111111111111111111111111111111111011111101111111111111111100111111111111111011111111111111101001111111111111111111111110111111111111111111011111111111111111111111111111110111111111110011110111111011111010111111111111111111001011111110111111111111011111111111111111011111111111011111011111111111111011111111111111111000101011111110111111111001111110111111111111111111111111111111101111111111111111111111101111111111101111011111111011111111111110111111111111111111001111111101111111110111111111011111110111111111111011111111101001111111110111111111011110001111111111111111111111111111010110011111111111011111011111110111111111111111111111111111110111111111111011101111010111111111111101111101111111111111111111110111101111001101110011110111110111110111110110111101101111110011111111111111011011110111011111111111111111111111001111111111111111101111111111111111111111111110111111110101111110111111111111101111101111111111101111111111111100111111111011011111110111111111110111101111111111110111111111111101111111111111111111111111111110111111111111111111111111111111111111111111111111111101011111111111111110101111111111111111101111111111111110111111111111111111111111111111111011011111111111111110101111111111111111111111111011111111111111111111110110111111111111000111101111101111111111111101111111111111101111011101111111111111111111111111111111111111111101110111111111111111111110111111111111111111111111111101111111101111110111111111110111111101110101011110101111111111011111111111111111101101111111101111101111111110111100111111111101111110111111111010111011111111111111111111111111111111101111111111111110011101111001111111111111110111111011111111110111010111111111111100111111111111110111111010111111111111110111111011111111011111101111111111111111111111111111111011111111111110111111111110111111011111111111111111110011111001111011111011111110111111011111111111111111101111011111101111111111101101111111110111111111111111110111101111111011110011111111111111111111111111110111111111111110110110101100111111111111111111111111111111111111111010011111111101111111111111011110111101111101111111110111111111111111111111101111111110111011111101111111111111111111111110111111111111111111111111111111101111111111111101100111111110101111110111111111111011101111011110111111111110111111111011111111111111111111111100101111111111111111111111110111111011111111101101110111111111011111111111111111111011101111111111111111110011111111111111111111111111101001101111001110101111101011111111111111111111010111110111111111111101111111111111111111111111011011111111111101111111111011111111101111111111101111111111011111111011111111111110111101111111111111110111111110111110111011111110111111011011011101111110010111101111011111111011101111101111111111111111100111101011111111111111111110111110111111111111111111101101111111111111111001011111111111111111011110111111111111111111111111110111111011100011111111111111111111111111111111111111111111101111011111111111111111111110110111111111111111111110001111110011111000110111111111111111111011110111011111111111111111011111111101111111111111111111101111111111101101110110111110111110111111111111111011111111111101111001011110111111111001111110011111011110111111110111011111111111111111111111011111111111101011111011111011111111111110111111111111111111011111111111111101111111101111111011111111111111111111111111011110110111100111111111111001111111111111111111111111011101111110111110111011111111111110111111010111011111110111111111111111111111111111111111111101111111111110110111110111111010111111111110111111111110111111011111111110111111111111111010111111111111111111111111111111111111111111111111101111111111111101011111111010111111110111111111011111111111111111111111111111111111111011111111111111110110111111111111111111111101111111111111111111111111111111111111111111110111111110010111111111111111111111111011111111111110110111011111111111111110110111111101111111111110111111111111111111111111111111111011010100011111111111111111111111111110111111111111110111111111111011110111010011110010111111111111111111111110010111111111111111111110111111111111111111111110111111101111111111111111111110111111111111011111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111101101111111011111111110111011111101110110110111111101111111101111111111111111111111111111101011111111111101111111111011111111011111111111011101111111111110111111101110111111111111011111110111111111110111111111111110101111111111001111111111111111111111111101111000101100011111101111111111111111111111110111111110111111111111111111101111101101111110111111011011111111111111101111111111110011001110101110111111111111111111111011110101111110111110111110101111111110111111111111010111111111111111111111111100111011011111111101111111111110111111111111111011111111111111111111111111101110111111001111111111110100111111011011111101111111111111111111111111111111101111111111111111011111110111011111111111111110111111111111111111111110111011111111111111111111101111111111111111111110111111011111101111110110111011111011111111111111111111111111111101111101110111111011111111111011111011111111111111111111011111111111011111111101111111111111111111011111111110111111101110111111111111111111111111111111111111010111110111101111111111110101111111101111100111111111001111111101001111111111111001110111111011110111111111101111111111111101111111110011011111111111111101111111111111111111011011111011101111111111110111011110111110011111101111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111011111111111111111111111111011111111111111011111111111111101111111111011111111111111111111111111111111111110011101111110111111111011111111111111111111111110111111111111111111111111111111111111101111101111110111111111011111111111111101111111111111111111111011111111111111011111111001111100101111111111111111111011111111111111111111011111111111111111101111111111111111111111011111110111111111111110111111111101111111111111111111111011111101111011001110111101111111111110111111101101111110111111111101111011111111111101101011111111111111110111111111111111111011111111111111111111111110111111111011111111101100111011110101011110111111111011101111111101111111111111101111111111111111111111101111111111001111111011111111111111111111111111111111111111111111111111111111110111111001111011111011111111110111001111111111111011101111111110111111110111111110111111110111111111111111111111111111111111111111111111111111111111110011101001111101111110111111111111110010111111111111111101111111111101111111011111111101111111111111111011111110111110111111111111111111111111101111111111110111111111101111111111111111111110111111111111111111111111111111111111111101101111111111101011111111111111111111011111111111011111110111111111111111111111111111111111111111111001101011111101111111111111101111101011111111111011111110111111111111111011111111111101111111110110111001111111111111111111111111111111111111010011111111111011111111111111111111111111001111100111111111111111111111111111111111101111111111111111111111101011111101111111110111111111111101111110011111111111101111111100101101111111111101110111111111110111110111111101111111111111011111101111111111111111111111011111111111111111111011111111111111110111111110110101110111110101111111111111111111111011111111110011011111111101111101111011111100111111100111111111111011111111110111111011011011111111111111111110111111111111101101111111011101101111011111111011111111101111111111111111111111111111111001111110111111011101111111111110111111111111111111111111111111011111111110111010111111110111111011111111111111111111111101111111111101111101111111111110111111111111111111111011111111011110101111111111111100111111111111111111101111011111111111111011111111111111101111111111101111111110111111101111111111111111101111111110110101111011111111011111111111111111111111111111111111111111111111111011111111111111111111111111111111101111111101111111101111110111101111011111111111111111111111111111001111101111011111111111101111111111101111111111111001011110011111111111111111111111111110111111111111111111111111111011111111111111101111110111110011111111110111111111111111101111111111000111110011011111111111111111111111110111111111111011111111100111111111111111101111111111111101111111101111111111111111111011111111111111111101111101110111110111011111011111111111101111011111111111110111111111111111111111111111111111111111101111111111101111011111111111111111100101111110111111111101111111111111111111111111110101111111111111111110111111111111110011111011110101111111111011110111101111111111111010101111111111111101011111101111111111111101111111101011101111111111101111111111111111101101111101111111111111111101101111111011111111111111101011110011111111111011110111111111111111111110111011111111111111011111101001101111111111101101111011101111111111111111111111110011110111110111111111111110111111111111110111011111111111111111111110111111111111011011110111111101111110011111111111111111111101111111111111111111111111111111111111111111111111111101111111111111111101111111111111111110010110111111111111111110011111111111111111111111111111011101111111111111110111111111101001111111110001111111111111111111111010110110111110111111111111111101111011111100110101111111111111111011111011111111111111111111011111011111011111111110111111111011111111111011101110011111111111111111111101111111111111111110110111111111011111110111111110111001111110011111111111111111110111111111111111111111111111111111111111111111111111111111011111101111100011111101111111111111111111111111111111101111111111011111111110101101111110111111111111111111101110011111011111111110111111011010111111111011111111111111111111111111111111111111111111111111111011011110111111111111111111111111011011001111111111110111011111111111111111111111111111111111110111101111111111111110111111101111111111101111111111111011111111111111111011111011011111111111101110111111101011100111110111111111111111111111111111101111001101111111110111111011111101111111111101111111111111111110011111111110111111011111101111111101101111111111111011001111101111111111110111111110110111110111111111111111111111100111111111110111111011111111111111111110111111111101110111111101011111111111111111111111011111111111111111111111111011101011111111110101111111011111101111011111111111011011111111111111111011011111111011111111111101011111111111011111111111111111010111111111111111111111110110111111101011101101111111111111111110111111111110111011111110111111111111111111111111111111111111111111111111011111101111111111011111111111111111101111011111111111111111111101111111111101110111111111111111111011111111111111111111110110111111110111111011111111101111111101111111111111110111111111010111110111111111011111111111110111011111111111110011110110111011111110111111110110101111111101111111111011101111111101111111111111101111101111111111111110110111111111110111111111111111111111111101101111101111010111111111111111111111111011111111111111111110110111111011111111111111111111111111111111111110111111111111110111111111111111101111111111111111111111111101111110110111111110111111111111111110111111111111111111111111111101111011111111111100111111111111111111111111111111111111111110111101111110111110111111110111010111111011011111111111111111110111001111111110111111101111011111111101111111111111111111111111111111000111111111011111111111111111111111111111011111111010111111111111110011110011111010111101111111110111111111111111111110111111111111111111101011111111111011011111111001111111111111111111111111111111111111111111111011111111111110101111110111111111111111111111110111111111111110111101111111101111111111111111111111101011111011110111111111110111111110111111101111111110110111111110111111111111111101111111111111111101111111011111111101111111111111100111111111110110101110111111111111101111010011111111111111101011101111110111111111111011011111111111111111111011011111111111101111111011111111111111111111111111101111111111111101111111111111111111111111101111100111111111010101111111110111011111111111111101101111111111010010111111111111110111111111110111111111111110111111111011111111110011110111111111111111011111111111111111101111111111111111111111111101111011011011010111101111111111011111111111111111111111111111111111111111111111111111111111111111111111011111111111111110111111111111111011110110111110111111111110111111111111111111111111011011111111111011111101111110111111111111111111111111111111111111011111111111111111110111111111110101111011111111111111111110111111010111111011111111011111111011111111010111111011111111111111111111111111111111111110111111111111111111111111111111111011101111111111111011111001101111101011111111110111111111111001111111111011111111111101111111011111111111111111110111101101111110111111111111101011111111111111110110110111111111110001111111111101101111011111111011111111111111111111111111111111111111111111111110111111111111111111010111111101111111111111111101111111111101111111111110111101111011011111011111111011111111111111111101111011101111111101111111111111111110111111111111110111011011111110111111110111111111110111111110111111110111111110111111111101111111111111111111111001111111101010111111111111111101011111111111111111111111111111111110111011111011111011111111111111111110111111111110111111011100111111111111101101011110011111111111110111110111111101111111111111111111111111111111111111110110111111111110111111101111111111011111111001110101111011111011110111111111111111111111111111111110111100111111011111111111011110111000111010111111111111101111011111111011111111111110111111111111011111111111111111111111011110111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111001111111111011111111111111111100111111111111111111101111111111111111110111111111111111111111111111111111111111111111011111111101111101011111111111111101111111111111111111111111111111111111111111111111111111111111111101101111111111111111011111111101011111111110111111111111111110111111101111111111101111011111111111111111111111101111111111111111111111101110111111101111111101111111111111011111011111111101111100111111111111111100111011111111111111111111100111111111111110111110111110111111110101111111111111110111110111111111111111110111111111111111011111111111111111111101011111111010111111111111010111111011111111111111111111111111111111110111011111111111111111111111111111111111111111111111111111111111011111110011111111111111111111011110110111111110111111111111110111110111111111101111111111111111110011111111111111111110111111101111111111111111110111111101101111110010111111101011100111111111111110101111111011111111111111011001111111101111100111111111111111111111101111111111101111111111101111111111101111111111111111111111011111111111111101111101011111111111011111010111111111111111111111101111111110001101111110111111111101111111111111111011111011111111111111101111011111101111111111100111111111111111011111111111001111111111111011111101111001111011111111110011111111111110111111011111111110111111101111111111011111111111111111111111111111100110111010111111111111111111111011111111011111011111111111111101111011111111111111111111111111101110011111110110111111111101111111110111110111111111011101111111111111111011111011011111101111111011111111111111111111111111111111111110111111111111111110111111111110110111111111111111111111111010101111111111111011111111111111111111111111011101111111111111111111011111111101111111101011111111111111111110111111111111111111111111111111111111111101111111111111110111111010111110111111101111111111111110111110111111101111111110111111111111111111010100111101101111011110111111011111110111111111111111101111111111111111111101110111100111111111100111111101011110111111111111111111111110111111111110111111111110110111111101111111111111110111111110111101011111111010111111111111111111111111011111111111111111110111111111110111110101001111101111110111010111111111111101111111110111111111111111111111111111110111111111111111111111111111111111010111101110111110111111111111111111101111111010111111111111111111111111111011101110111111111111110111111111111111111111111110111111111111111110111111111111110111100111111111111111111111111111111111101111000111111111011110111111111111111111101111111011111110110110111111111110111111111111110111111111111110111111111101110011111111111111110111101111111111111111111110111001011111111111111111111111111111110111111111111111111111011111111111111111111111110110111111111111111101111111111011111111001111111111101010111111111111111111111110111111111101111111111111111111010111111110111111111111111111011100110111111111111111111111111111101111111101111111111111111111111011111011111111111111111111011111011111011101111111011111111111111111111001111111111111011111111111111110111011111111111111111111111111110111111111110111110111111001111011011111111111111111111111111111111111110111111110010111111110111111111111111111111111111101101110111111111111111011111111111111111111111111111111111111111111111111111111111011111011111111111011111111111111111001111011101111111111111111111111011111111111111111111011111111111111101111101111111011111111111110110111110111110011101111111101011111101111011111111011111111111111111111111111110111111111111111111101111111101110111110111110011111101111111111101111110111110110111111111111111111011111011001111111111111111111111111111111111111111111111111110011111111111111111111111111011111111101111111110111011111111111111111111011110111111111111111111101101111110111111111101111111111111111111111111001011111111010101111101011110111111111111111011011111111011111011111111111111111111111111111111111110110101111111111111011111111111111111111111111111111111110111101111001111110111111101111111111011110111111101110111111011111111111111111111111111111111111111111111111111111110111111111111101111011111111111111110011010111111111111011111101111111111110110111101111111111111111000101111110111111111111110101111111111111110111110111101111111101110111111101111111111111111111111011110111111111111111111111111111111011111111110111111111101111111111011111111111110111011001110101101111111111111111111111111110111111111111111111101111111111111111111100111111111001010101111111111111111101111111101111110111111111101111111101111111111111111111111001111111111111111111111001111111111111111111111111111111111111111111111111110111111011111111110111011111111111011011111111111111111111101111111111111101111101111111101111111111111111111110111111111111111010111111111110110111011111101001111111101111111111111011011011111111011111111011111111101111111111110111111111111011111111111011111111111111111111111101111111111111111111111110111111111111011111111111111111111111111001111111111111111111111111111111111111111111111111110111111101111111111111111111111111111011111111111111111111111111011111111111111011011111111111111111111111111011111101111111111111111111110111111111111111111111111111111111111011111111110111110111110011111111111011111011111111111110111111111111110111111010100111111111111101110111111110111110101111111111011111111111111101111111111011111110111111111111111111111111111111111111111111111111111111110111111011111111111011111011111111101111010111001111111111111110110111111111111011111111111110110111101111111111111011011111111111111111101110111111101110111111111101111111111111011011110111111111111101111111110001111111111111111111111111111111111101101111111111111101111111111111101111111111111111111111101111101110111110111111110111111011111111111111111111110111111111111011111101110111111110111110111111010011110111111111101111111111011111111111111101111111110111111111111111111111111111111101111111011111111111111111111111110101111110111011111111001111111111110110111110111111111111110011111111111111111111111111011111111111001111111111111111111111111111100011111111111111111111110111111111111111111111111111101111111111111111111111111111110111111111111111110111111111011111111111111111011111111111111111111111111100111011111111111111011111111011111111111111011111111111100101011011111111111111011111101110111111111111111111111111111011111111111111111111111111111111111111111111101101111110111101001111111111011111011101011011111111111111110110111111101111111111111110111111001111111111101111111111111111011101111111111111111101111111101101111101111011011111111111111111111101101111111111110111101101111111111101110111111111111111101011111111111111101111111111111111111010111111101011111111101111011111101111011111111111111111111111111111111111111010111111101111101111111110111111111111111110111111111111110011101111111111110111111111111110111111111111111111011111111111111110101111110111111111111111111011001110111111101111111101111111110111110111111111111111111111111111011111111111111110111011111111111111111111111011111111011111111111110111101111110111101111111111111111111010111111101111011111111110111111101111100111111101111111111011111111110111111101100111111111111110111111111111111111111111111111111111111111101101110111011111111111111111111110111111111100101111111111111110111111111110111101101111111111111110111111111111101111111111011111011111111101111011111101011111111111100111111111111011111111011110111111111111111101110111111011111111111111011111110111111111011111111111111111110111011111101111111111111111111011101111001111111111111111111111111111111011111111100110011110111111111111111111111111011101101111111111110111110111111101111111111111111111011011111011111111111000101111111011111011111111111111111111110111111101111111111111101111111111110111111111111111111111111111111111111010011111111111111110111111111111110111011111111110111010111111111110110111111111101111101111111111111111111111111111111101111011111101111111111111111110111111111111111111111111111110100111011111111111111111111111101011111101110111111111111101111111111111111111101111111111111011111111101111111011111111110111111111111111011111111110111111101111111101111001110111111110111111111111100010111101111000111111111111110111111111111111111011101111001110111111101101011111111111010011111111101111111111111111111110111011111111111111111111111111111111111111011111111011101011111111011111111111111111111111111111111111111111011111110001111111111111111111111111111111111011110111111111101111111100111111110011111111101111111111011111111111111111111111111111111111111110111111111011111111111111111111101101111111111111111111001111111010111101111011111111111111110011111111110111111111101111111111111110101111111011011111100111111111110111111111110111111111111111111111111111111010101111111111111111111111111101101110011011111111110111111111011101111111101111011111011111111111110111111111111111011111101010111111101101111111111111010111111101111111111111011111111101111111111111111111111111110011101111111011111111111111111110111111111110111111111111111010110111011111111111111111111111111100111011111111111111111111101111111111111111111111111111111111110111111111101111111011111101001011111111111111111111011111111110111111101011011000111111111111111111111110111111110110111011111111101111111111111111111110111111111111111111011010111111101111111111001101111011111111111111111111111101111110111111111111110111111111111111111111111101111111011111101111111011101111111111111110101111011111011111111111011111111111111111110111111011111111111101011111111101111111111111110111111110011111111111111111110111111111101101111011111011111100111010111101111111111111111101111101111111111110111111110110111110111111111111011111111111111111111111011101111111111111111111111111111110111111111101111111011111111111011111111111111111111111110111110110101111110111111111110111111111111110111110111110111111111110111111011010110111101111111111011111111111011111110111101111111110111001101101111111111111110101011011111111111111111111111011111101111111010111111111011111111111111011111111111111111111111111111111111111111111111001011111111111111111111111111010111111111111111111111111111110011111111111111111111111111111111111101111111111111111110111111111111111101111011011111111111111111111111101111111110011111111111111111111111101101011110111111101101111001111111111111111110111110111101011101111111001111111111011111111111111111011111111111111111011111111111011111111111110111111111011111111111111111111111111111111111111111111111011111111111010111111111100111011111111111111111111111111111111111111101111111111111111111011101111111111111111111111111110111111111111111111111111111111111111111111111111101111111110111111111111111111011111111111111101111111111111101110011111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111101110111111111111111111111111110101101101111111111111111111111110101111111111111111111101111011011111110110111111111111111111011111111111111111101111101110111101111111011011011111111111111111111111111111101111111110111100111111011111111111101111111101111010111111101110111111111111111111111110111011101101111111111111111111111111111101111111111111110111111111111111110111111111111111111110111111111111111111111111111011111111111111111111111111111111110111101101111011111111101010111111111111111111111111111111111111111111100111111111111111111111101111111111011111111101011111111111111110111111111111110111111111111111111111101111111111001111111111011111111111111111111111111111101111111101111111111101011111111110110111011111111111111111111111110101111110111111011110111111111001011011111111111011111111111001111111111111111111111110111011110110111111111111011111011111111111011101111011010111111111111111110111111111111100111111111111010111100111101111110111111111110111011111110111111101111111011111111111110111111111010111101111111011111111111111111111101101111111111101111111011111111110111011110111111111111111111111111111010111111110101101101111011111111111101111111111111101111111111111111111111111111110111111110111111111111111111111111111111011010111101111111111111011111111111111101111101111111101111101111111111111111111111111111111101011111110111101111111111111111101111111111111111110111111111111111111111111111111111111110111111111011111111111111011101111101111100111111111110111111111111111111111101111111110111111111111011111111111001111110111011111110111111111111111011111111101100110111111111111111111111110111111011110111111110111111111111111101111011111111101111111111111111111110111111011101101111101111111001011110110101111101111111101111111111111111111111111111111111111101010101111111111101110111111111111111111111111111111011101111111011111111111111011111111111111111111101111101101111101111111111111111101111111110110111111111111111001111111111111111111111111111111111111111111111111111011001011111111101111111101111111101101111110111101101111111111110111111111111111011111111111110110111111111111111011111111111111101111111111111011111111111111111111111111111111111111111101111011111011111111111011011011011110111001101111111111111111111111101111111011111101011110111111111110001111101111111111111111011111111111001111111011111011110101011111111111001111011111111111111111111101111111111111111111011111111111111111011111111111111111111111111111101111111101111111101111010111111111111110111111011111101111111111111110111111111111110111111111101111101111111111111101111111111111111111111111111111111111011111011111010111111011111111110111111111111111110111111111111001111111111101011111111110110111111111111111111101111100111111111111011111101100110111101111111111111110111111101111111111100111101011011111111111111111111011111101101111110111011101111111011111111111110111111110011111111111110110111110111111110101111101111111111111111111111111100111111111101111111111111111111101111011101111111111011101111111111111111100111101101111100100111111111111111011111111111111111100011011111111101111011111111111110111111111011011111110111111111111111111111011110111111111111101111111110111011111111011111101110111111111111111111111111110010111110011011101111111111111111111101111110111011011111111110011111111111111110111111111101101111111010111111111101111110111001111111111111011111110111101111111111111111111111111111110101111111111111111111011111111011011111111111111111010111111111111111101111111111101111011111111111111111111111111111111111111101111110111111111111111001110011111111111100101110111110111011111111111101111111011111111110100111011110101110111111111101111110110111111100011111011111011111011111110111111111111111110111111111111011111111111111111111111111111010111011111111111111111111111111111111111100101111111101101111111111111111111101111110111111001111111111111111111111111111111111111111111111110111111111111111111111011111111110111111111111100111111110111111111101111111111101111111110011111111111111111111111011111111001111110010111111111111111011111110101110111111111111111111111111101111011111111111111111111011111011011111111111110111111111111101110111111011111110111111111111111111111110011110110111111111111111111110111111111011111110101111111111111111111111111111111101111111111111111101111111111101111011111111111111111010111111111111111111111110110110111111011011111111100111110111011011111110011111111111111111101111111111110111111011111111111111111111111011110111110111111110101111011111111111111111001111111111111111011011110111111111111111111111111111101111111110111111111111111111111111111111111111111110111111111101111111111111111111110011111111111111101011101110111111110111111111101111111111111111111111111111111111111111110111110111111111111101111111011111110111110111111111110111111111111111111111101011111100111111111111111111111111110011111111111111111111111111111111111111111111111111111111111101100111111111110111111101011111111111111111111111011111111011110111111111111111111100101101111111111111111111111111101111101111111111111111111011110111101111111111111110101111111111111111111111011111011111111111111111111111110111111111111011111111111111111011111111111111101101111111111101101111111011111110111111011111111111111010111111111110111111111111111111111111110011111011111111111011111111111110111111011111011111111101111111111110111111111111111011011111111111111011111111101111111111101110111111111111111111110111111111111110111011111111111101111111111111111011111011111111111001111011111111111111111111111111111111111111111011111111111111101111111111111111111011110111111101111111111111111111111111111111111100111001110111011101111111101111111111011111111111111111111111111111111110111111111101111111110111111101111111111110110111111111111111101011111011111111110111111011111111111101101111111101111111111101101111111111011110011111110011011111111111111110111110111111011111111111111011111111111110111111111111111111111111011111101001011111111111011011111111011011111111101110111111111111111111111111111111111101011111111011110111111111101111111001101111111011111101101111111111110111111001111111100111111111111011111111111101111111111111111011111011111110111111101110111111111001101111111011101101111111111111111111111111111111111111111111111101110110111111111010111111110110110111101111111111111111111110111111111111111111111111111111011111111111111011111111110111111111110111011000110111111111111001011111110111111110111111111101111101111111111111111011110111111111111111110011111010110110111111111111111111111111111111101111111111111111110111111111111111101111111111101111111111111111111111110111111111111111111111111111111011111011111111111111111111111111111111111111111111001101111111111111111101111111111111111100111111110111111111111101101111111101111111111111111000100111111011111011100111111111111111111111111111111111111111111111111111011011111111110111111111111111111111111111111111110111111111001111111111111111111111110111111111111111011111111111011111111111111111011111111111101011111111110111101111101101111111111111110011111111011011111111111111101111111111110111111111111101111111111111111111111011111111111111111111111111111111111111111111111110111111111111111101111111111110100111110111111101111111111111111111111111111111101011011111111111111111011111111110111111011111111111011111111111111111111111111111111001111111110101111111011111011111111111111011111111111111101101011111111110111111111111111011110111111111111111111111111111111111101111111111111111011111101011111111111111111111011101111111101111111111111110111111111111110111111111101011111111111111111111111111111110111111111111111111111111111111111111111111111111011111011101011101101110111111111111010111111111111111111111111111111111111111110101011111011001111111111011111111111111111111111111111111011111000111111111010111111111111111101111111111101011111111111110111111110110111111111111111111111111011111011011010101111111100111111011111011111111111011111111111111111111111110111111101111111101111111011101001111111111111111011011111111111101111111111111111001111101001111111111110110111111111101111111111111111111111110111111111111111111111111101111111111111111111101111110111111111011111111110111101101111111111111111101101101101111111111111111111011110011111111011111111101101111111111111010111101111111111111111111101011111101011111111111111101111111111110111111111111111111101111010111111111101111111111111111111111111111111111111011111111111111110011111111110101111111011111111011111111111111111111110110111111111111101101111011111111111111111111110111111111101111111110111110110111010111111111111110111111001010111111111101111111011111111111111111111101111111011111101110111111111111110111111111101111101111111111101111111111110111110111111111011111110111111111111111111111111111111101111111111111111111111111110111110101111111111111100111111111111111111111111111110111111011111111111101101111111001111101110001111111111111010011111111111110100111111111111111111111010111111111011111111101111111111001111111111111101111111111111101111111111111111101110111111110111111111111111111101111111111111111111111111111111111011101111111111111111111110111111111111111011101111111110011011111110111111111111111111110111111111011101111111111111111111111111110111111111111101111110111011111011111111111110110111111100010111111111110111111110111010111111101111101111010111111111011111111101111101011111111111111110111110111111111111111111111111111111111111111111111111111101111111110111111111111111101111111110111111111111111101111110111111110110111101001111111111111111111111111111111111111110111111111111111111011111011111111110111111011111111111100111111111111101110111111111110111101010011111011111111111111111111111111111111111111111111101111111111111101011111001111111111111011111111111111110111011111111111111111111101111111111110011111110111011111111111111111111111111111111111110111111111111101111010111111011111111111111111111100111111101111111111111111111110111111111111100101111110111111011110111111111111111111111111110111111111111111111011111111111111111111111111111111011111111110111111111111111111110111111111011011111011110111011011111011111111111111110111110111011111111111110111111111111111111111110111011101111111101111111111111101111111111011111101111111111111111110111111001111011111101111110110111111111111111110111111101101111101111111111101101111111111011111111011111111111111111111111111111111111100111111111101111011111111111111111111111111111101111111111111111111111111111111111111111111111111111111101111110111110111111101011111111110111111111111110111011111111010101111111101111111110111111111110111111011111111111111111111111110101111111111111111011111111110111111011101111111111111101111101011111111111111100110111111111111111111111111011111111110111111111111111111111111111110111111101011011011111111110111111111111111111111011111011101111111111111101111010001111111111101111111111111111111111110111101111111111111111111011011111101111100111111111100111111111111111111111111111011111110111111011111111001011111111111011111111111111101100111111111111111111111110111111111011111110011111111111111111111111011101011111101110111111110011111111111111111111101001011111111111111111011111011011111001110011111111111101111001111111110111111111110111011101111111101111111111111111111111111111111111011111111111111111011111111111111111111111111111110111111101111110110111011111111111011101111011111111111111111011111111111111111011111111111001111111111111001111101111111111110111111111111111111101111111111111111011111111111111111111111111111111111111111111111111111111111110111101111111111101111101111111111010011101111111111111011100101111001111111111111011111111111110111111111001111111111101111111111111110111100111111111111111111111101111111111111111111011111101111111111111111111111111101101111111111111110111110111111111111111111111111111011111111101111111111110111111101101111111011111111111101111111101111111111111111111111111111111011111111111111111110111110111111111111101111111111111010110111111001111111011111111100101110101111111111111111111110101111111111101111110111111011111111110101011111111111111111110011111111010111111110110111111111111011111111111111111011111111111111011111111111111111101111111111110111111111111111111111111011111110111111111111111111110111111111111111111111111111110111111111110111111111111111110011111111111111111111110110111111101111111111111011111101111001111111110101011111111111110101111111111111111101011110111111111111110110111111111111111111111100111111111111111111111110011111011111111111111101111111111111111111111101011110111111111111110011111111111011111011110111100110111011111111110111111111111111111111111111111111111111011111011101111111111110011111111111111111111111010110111111010111111111111111111111011111111011111111101101101111111111111111101111111111100111111010101111111111111011111111111111111111111111111111111111111111111111110111010110111111011111111101101111111111011111110111111111111011111111111111101111110011110111011111111111111111111110111111111111111111111111111111111101111111101111011101110111111110011111011111011111111111011111100111111111111111111001111101111001111111111111111111111111111101110111111110111111111111011101111001111111011111011111101111111111111111111011111101111111101010111111111111111011111001111110111111111101010111111111111011100100011111111110110001111111011101111111110111111111111101111111111110111111111100111101111111111111011111111011111111111111110111111111111111111101011111110111111110111111111111111111111101101111111111111111100111111111111111111111001111111110111100111111011111111111111111110111010111101111111111011111111101111110111111111111101101111111111111110111011111111111011111111111101111111111111101111111111101111110011111111111111011111011110111011111111111111111111111111111110011111111111111111111111101111111111011111111011100111101111111111111111111111111101111110110111111110111110111111011111111111111111111111111111111111101111111111111111001111101111111011101111110111111111110011111110111111111111111110111111111111101101111101011111110111111111111111111111111111111111111101111111011010101111111111101110101011011010111111111111111111111111111111111111111111111111111111111111110111111111111111101110111011111111111111100010111001111111111111001011110111111110111111111101111111111111111111111111111111111111100101111111110110111111111110111111111111111111111111111110111111111111111111111001111111111111111111111111111111101111111110110111111111111110111111111111111111111110111101101111101100111111111111111111111011011111111111111111111111111111111111011111101111111110111111111111111011011111111010111111111111111111111111111101111111111111111111111111111110111111111111110101111111111111011111111111111110011110111101111111111111111101111111111111110111011111110111111101111111111011111111011111111111111111111111110111111111110111111111111111111111111111111111111111111111101111111111111111110111111111111111111111101111110111111101111111111111111111010110111111101111111111100100110111111011101111111111111011111011111111111111111111111101111111011011111111111010111111111111111111101111101111111111111111111111111011111111001101111111110010111011101111111111111111111111110111011111111111111110111111111111111111111111111111111111111111111010111111111111111111111101011111111111111111111011111111110111111111101111011111111111111110111111011111101101111111111111111111111111111111111111110111111111111111111111111111111111111111111111111110111111111111101110111111111111111111111101111111111111101110111111011111111110111111111110111111111111111010111111111011111110111101111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111011111111111111111111111111111111111111111110111101111110011111111111110111111110111111111111111111111111111011101101111111111111111111111111111111111111111110111110111111011111111111011111111011111101111111111011111111111011111011111011111111100111111111111111101010111111111111011101011101111001111111111111110100011011110111111111111111111101111111111111111111111111111101011111111011111110111111111111101111111111111111001110111111111111111111111111110111111111001111111111101111110111111111111111111101011110101111111111111111111111111111111101111111101111111111111101111111111111111111111110111111111111111011011111111111110111111111111111111111111111111111111111110111111111110111011110111111111111011111110111011110011111111111111111111101011111111111111111111111111111110111111110111111111111110110110011110111111011110011111111010101111111111111111110101111011111111111111111111111110111111111100111111111111111111111111111111110111101110111111110101010111111111111111110011101111111111101111111111111111111111111111111110101111111111101111111111111111111111101101111111111111111101111101101111111111111011101111101111111110110101111111111111111111101011111111111111111011111111111011111101111110111011111110111111111110010111110111111110111111111111111111010110111111111111111111111111111011111111111111111111111111111101111111111101111111011111111011111111111101110111111111111111110111111111111111111111111111111111111111111111111111101110011111111011111111111101111111111111111011110111101111111111111111111111111111111111111111110101111111101111111111110110111111111100011111111110110011011110111111111111111111111111111111111110111011111011111111111111111111111111111011111111111111111110111111111111111111111111111111111111110111111111000111111111111111101111111111111111111111111111111111111110111100111111111000111111111111110111111101111011101111111111111100111111111111111111111111111111111111111111111101111011111111111111011111111111111111111111111111111111101111111111111111111111111111111110011111101101111111111111111111111111111011111111111111111111101111111111101110111111011111111111101111011111111111111101101111111110111101111111111111111111110111111111111111111101111111111111111111111111111101111111011111111111111101111110101111101111101111111111101111110111111111111111111111111111111101110110111111111111111011111111111111011111111111111111111111011101110011110111011111111111110111111111011111111111001111111111011111111111101111111111111111101011111111111111111101111111011111111111111111111011111111111111111111111111111111111111111111011111111111111111111111011111111111110111101111110111111111111111111111111101111011111111110101110111111111111110011111110111111111111011111111111110101010111111001111111111111101111101111111111010111111111110011111111101111111111111111111100111111111111111011111011110111110111111111011110110011011110011111111011111111110111111110111110111111111111111111110101111111001111111111111111111011111111111101101111111111111011111111011111111111111111111001111011111111010111111111011111111111111110111111111111111111111111110110111111110111111111000111111111111110111111111110111111111111111111111111001111111111111111101011111111111111111111111111111111111010001111111011111111110111111111110111111111111111101111111010111111111011110111111111101111111111111111111111111111111111101111111111111101111111111111101111111111111111011110111011111111001111111011111111011111111001111111111011111111111111111110111111111111111110111111111111111111111111111111111111111111111111111110101110011111111011111111111101011111111111111110111111111111111111111111111111111111101111111111111110111011111011110111011111110101111101111111111011111111101101111111011101011111111111011111011111111111111111111111111111111111111111111111111111111111011111111111111111111111111110111111111111111111110010111101110111111111111111111111110111110011111111101111111110111111111111111111011111111110111111111111111111111111111111110001111111111111011010111111110111111111111111111111111110110111111111101101111111111111111111011111110111011111110011111111111111111111111111111011111111111111011111011100101111110101101001111111111111111111111111111111111111111111011111111111101111101111111111111111001111001111111111111111111111111111110111111111111111101111111011101111111111111011111111011111111111111111111111101011101111111111111111011111111111111011111011111101110111011111111111111110111111111011101111111111111111111111110111111110111111101111110111111111110110111111110111111101111111101111111111111111111110111111111011111110101111111011111011011111111111111111111111111111111111111111111111111111110111111111001111111111111110111111011111111111111111110111111111111110111111101111111110111111111111111111111111111101110110110111111111101011111111011111110111111010101111111101011111111111111001111111111111000111111111111111011111110111111111111111111111111111110111110111111111111111111111111111111111101111111111111111111111111111111111111111110110111011111111101011011111111111111111111101111111111011101111111111111111111111111111111111111101111111101011111011111111111111111011111111110111111101001011111111111111111101111111101011111110111101111011111111111111111111111111011111111101111111111111101111111111101111111111111111111111111111100111111111111111111111011111111111011111111111011111110011111111111111110111111111110111111101111111111111101111111001111111111111111111101111111111111111111111011111110101111111111111111101110110111111011011111111111111111110111111111111111111111111111111111111111101101111111011011111101111111111111111111111111111111011011111111111011111111111111111111111101111100101111111101111111111010111111111111011110111111111111111111011111111111111111111110101111011111111011111111001111011111111110011111101111111111111111111111101011111111111111101111111111111111100111111111111111111111111011011111110111011111111111111110110111111111111111111101111111111011111111111111111111111110111110111011111111111111110111111111110110111101110111111111111111111111101111111111111111111110010111111111111111111111111101111111111010100111111111011111011111111111111111011101011111011111111111111111111111101111110111111111110111110111111011111111111101111110111001111011111111011111011011111111110111111110011101110111111010111111111111100111111111111111011011111110111111111110001111111111100011011111110110011111111110111111011111111111111111111111111111110111011111111111111111111111011111111111111111001011110111111110111111111111110101111111110111110111111111111111111111111111110001111111111111111011011101111111111111011111111111111111111111101111111101110111011111111111101111111111111011111010111011111110111111011110111111111111111111110111111111111111011101111111111111111101111110111111111111111111111011111111111110111111111111110111111111101101111110101111111111111011111111111111111110110111111101111111111111110110010111111111111111111011010011111111111111111111110001111011101011111101111111111010011101111111100101111110111101101101111111101111111100111100111111111111111111110111111111111101111111100111111111110111111111111111111111111111111111111101011111111110111111111111111011111111111111111111011111111111111111111111110111111111111111111101111111101011111111101111110110111101111111111110111111111101111111101111111111110001111111111101111100111111111101110111111011111111111111111101011111111111111111111111111111111011111111111111110111011111011111111111110111111011111111111111111111111111111111111111111111111111111110111011101111101111110101101111111111111110111111111110111101111111111111111111111111111011111101011111111111111111110111111111111100111110110111111110111111111111111111111111111111110111111111000111111110111111111111101111010111111111111111111111111111111101111111111111101111110111110101111111111111111111101011111111111111111111101101111111101111111111111110111111110111110111111111011111111101110111011111111111111111001111111110111110111101111101111111111111111111111111111110111011111101101001111111110111111111111111111011111110111111111111111111110110111011111001011111111111111111011111111111111111011011111111111111101111110111111110111111111111111110011111110110111111111111110111101111111111111111111111111111110111011111011111111111111111111111111111111111111111111111111011111011011111110101111111101101101111111111111111111111111011111111111111011111111111111111110111111111111111111111101111111111111111111101111111111001111101110111111111111111101111110111110101110111111100111110111110111111111111111101101111111111111111111111011111111111111111111011111111111111110011111011101111011111111111111111111101111111111111111101111111111111111110111010111110111111111111110111111111111111111111111111110011111101111111111111101111111111011111101111111111111110111111111111111111111110111111101111111111111101111111111101101111111101101111111111111011101111110111111111101101111111111101111111010111011011011110111111111111111111111111111111111111111101111111111111111111101111111001011111111111111011011111101110111111111100111111111011111111111111111011111011111111110110111111111111111111111111111111111111111101111111111111111111101111111111101101111111011111010111011111111011111111111111111111111111101111111111111111111011111111111111111011111110111111111111111111011001011111111110110111111111111110111111111111111111111111111111111111011011111111111101111001111010101111111111111111111111111111111111111011011110110011111111111111111101110111111111101111111111111011111111111111011111011011101101101101111111111111111101111111001011111111111111011111011111111111111111111111111111111111110111111111111111110111111011110111111111111111111111011100011011111111111111111111101111110111111111011111111111101111111111011111111111111111111111111110111110011111111111111111010110111111111111111111111111111111111110110110110111111111101111111001111111111110010111011101111010111111111101010101111100111101111111111111111011111111101110111101111111111101101111111101101111111011111110111101111111111111110111111101111110111111111011011111111111111111111111111110111111111111111111111111110111110111101111111111111111111111111011101111101111111111111101011101111111111111110111111111111011111011111110111111111111111111111011111111111111111111111111011111111111111111011111111111111111011111111111101111111111111111111110111111111011101111001111111111111111111011111111111111101111111111101111111111111111111111111111101111111111111111110111110011101111111111111111101111101011111101011010101111111110111111110111011101111110111010011111111111110111011011111101111111111111111011111111101111111111111111111111111101111111111011101101111111111111111111111111101110100111111111111111111111001111111111111111111111111111111111111111111111111111001111110111111111111111111011111110111111111111111101100010111111110111111111111111111111011111111111111111111111111011111111111101111111111111110111101111111111011111110111111110110111111100111111111110111111111111110111101111111111011111101111111111111111111011101111111111011111111111111111111101010111111111111110111111011111111111111111111111111111010111101111011101111111111111110111111111111111111111111111101111111111111111110001011111111100111111111111111111111111111011010100110111111110111111111111111110101111111110111111111111110111010101111110011111001100111111111111111111111111111111111111111111111011111111111111111111111111111111110111011111011111111111101111111111111111111110111101111111011110111011111111111011111111111111110111111111111011111111011111111111111101111111111110111111111101111111111111011001111111111011111101111111111111111111111111110111110111101111101111111111111110111101111111111111111111111111011111111111111101111110111111111111111010111100111111111111111111111101111011111111111111111111111111111111101101111110111111111111111110111111010101111111111011111111101111011011011111111111101111111111111110001101111101111111111101011011001111111011111111111111111110110111110111111111110111111111111111110111011111111111111111111111111111111111011111111111111111011111111111111011111111111110111110011111110111111111010110111111101111111111101111111111011111111111111111011111111111111110111011111101111111111111111111011111111111111111111011100110111111111111111011111011110111111111111111111111111100111111111111111111111111111110111110101111111111101101111111111111010011111111111100111111111111111111111111011111111111111101111111011111011111111111111111111111111110011111101111111111111011010111111111111011111111111111111111111111011101111111111111111101111111011011101111111011111011111111111001111111111111110111111111111111110111111111111111011101111111111111111111111101111011111001111111111111111111011111111111111111111110111110111110111101011111111111111111111111111001111111111111111101111110111111111111111011111101011111111111111011111111111111111111111111111111110111110111111111111111111110111111111110011011111110111011101111111111111111111111111111111111110111111111111111011111111111101110111111011111111111111111111111111011111101111111111011101111101110101111110111110111110110111111101111011101111111111101111011111111101111111101111011111111110010110111111111101111111111111111110111111111111111101111111111011111111111111111111111111111111111111111111111111111111111111110011111111011110111011110111010111110111110111111111111111111111111011111111011111110111111111011111111111111111111111111111111111111111101110111111111111111111111110111111111111111111111111111111011011111110101011111111111110111101111111011111111111111101101011111011111111111111111111110111011111101111101111111111101111111111011011111111111111111111111101111111111111111111111111110111111111111111111110101110111010111111111111111111101111110001011111111011111111111111111110111111111111111111111011011111011111111110111111111111111111110011111110111110111111111111111111010111111110111111111111110111111111111111111111111111111110111111111101111111111111110111111111111111111110110111011111111111011111011101111011111111011111101111011111111110111101111111111111111111110111111000111011111111111111111111011111111111111111111111111111111001111111100101011111111101111111111111111011111111111111111110111111111101111101111110111111111111111111011011111111110111111111111101111111111111111111111111011111111110111111111110111111111111111111111111111111111111011111111110111111011111110011111011111111111111111110011111110111111111111111101111111111111011111111011111101101101111111111111110111111111111111111111111111111111011111011111111111111111111111111111111111111111111111010110110011110111111110111111111111101111111011111111111111110111111111011101111111100111101111111111111111111111111011111011111111111011111111111111011111111111111110111111111011101111110111011111111101111111111111111111111111100111011111111111111111111111111110101011111111111111111110110111111111101111101111111111111111110110111111111111101011111111111110101111011110111111111111101101101101111111101111111101001111111101101111111111111111111111111111011111011111111111111111111111111111111111111011111111101111111101111110111111110111111111111111111110001111111111111101111101111111111111101111111011011111111111011111111111111111111111111111011111111101111110111111111101111110110111111111111111111111111111111110111110110111111111101111111101110111111011111110011111111111101110111111110111111111111111111111001111011111111101011111111111111111111111100111011111001111111111111111110111111110111111111111111001111111101111110110101111111111111111111111111111111111111111111111111111011111111110011111111111111111111111111111111111110011011111111111110111111111111111111011101111110111111111111111111111111011000101111111111111111111111111111111101011111111111111111111111111111110100110111111111111111111111111111111111011111111111111111110111111111110111111111110111101111111101111111110111011111111111110111111111111101111110111111111111111101111111111110111111111101101111101101111111111111101011111111111111111110111111111111111111110111111101111110111111111111111101110111111101111011111101101111111111011111101111011111111111111110111111110110111111101101111111111111110111111111111111111111111011111111111111111111111111101111111010011111111111111111111111111111111011111111111101010011101101110111111111001111111111111111111111111011111011111111111111111111111111111111111111111101110111111111110111101111111111111111111111111111111111111111001111101110011011111111111111110111111011111111110111111111111111110111111111111111111011111111111111111110111101111111010111111111111111111111111111111111110111111111101011111111111101101011110111111111111111111111111110111111100111111111101111110111111111100011111111111111111111100111111111111111111011101111111011110111111111111111111111110011011011111101111111111111110111011111101111101110111111111111111111111111111111111111111111011111011101111111111100111111111111111101110111001111111110111111111011111111111111111011110101111111111111111001110111111110111111111110101111111111111111111011111111111110111111111111111111110011011111111110111111111110111111111111101111111101101110111111011011110111111111111111111111111111111111111111111111111111111111101111111110111111011111101110001111111101111111111111111111101111111111111101101111111111111110111111110011111111111101111111111111011110110111111111111111100111111111101111111111111111111111111111011111111111101111111011111111001111111110111111011111111111111011110101111111111111111011010111111111011111111111111111111111111111111111110111111111111110111101111101111111111111111111011101111111111111111111111110111011111111011111111111111111111101011101111111111110111111101110111110011111111011111111111111111111111111111111111101011110111111111111111110011111111111111011111110111111111111111110111111111111111111111111111111111111111011110100111111111111111111111101111111111111111111011010111101101110110111111110111111111111111111111111111011111111111111111011111111110111100111111111111111101101111111111110111111111111111110011111111110101111111111110101111111111011111010110110111111111110111110111111111111110111110011110111111111111111111111111111011111111111111111111110111111111111111010110110111111101111111111111111111110111111111111111111101111111110111111111110111111110111111111111101111111111111101110111111111011111111111101101111110111111111111111001101111010111111111101111111111111011011011111111111111111111111111101001111111101111111101111111110101110111111111111111111111111111111111111101011111111111110101111111111111111111111111111111111111111101111111110111111110111011111111111111110111111111111111111111111111111111011110111111111100111111101011111111101111010111111111110111111100111111111111111111111111110111010111110011111111111111111111011111111111111111111111111111111110111111111111110101111111111111111111111110111111111111111111111101101111111111111111011011111111111111011011110111111110111110111111111111111110110111111111110110111101111111111111111111111111011011111111111111111111111111011111011101101111111111111111101111111011111111111011111111111111111111001011111111111001111111111111010001111011111111111111111111111111111111111111011111101111111111110110111111111111111111111111111111111011111111111111111011111110111111111111111101111110101111111011111111111111011011111001111011111111111101111111011111111110011111111101111111101111111111111111111111111111111111111111011111111111111101011111111111110111110101111011111111110111101111110111111111111111111111011111111111111111111111111111111101111111111111111111111111111101101111111111011111111111111110111111011101111111111111111111101111111101111011111111101111111111111111101111111111111111011101111111111110111111111111111111110011111111111101111111111111111111110111011111111111111111111101111111011111111111111111011111111111111011111111110111111111111001101111011101110111111011111111111111111011110111110111011011111111111111011011111010111110011011111110111101111111111111111110111110111111110111110111111111111111111111111111111111100011111111111111110001111011111111110111110111111111111011111111111111111011111111111111111111101111110111111101111111111111111111111111111111111111101111111011111111111111010111111111111101111111111111101110111011111111110011011101111101111101111111111111111010101011110111011111111111111111111111111111111101111110111111101111101010111111111111010110110110111111111111111111110111111111111111111011111111111111101111101111111011011111111111101110111111111111111111111111100101101111101101001111111111011111110110111111111111111111111111111111111011111111111111110111111111110111111101111101111111110111111111111111001110111111111011111111111111111111111111111101111001111111110111111111111111101111111011111111111111111111111111111111011111111111111111111111111011111111110111111101111110111111111111111111110100111001001111011111111111111111111111111111111111111111011011110111111101101111111110111111101111111101111101110101110111011111111111111111111111111101111101111110111111111101110111111110111111110111011111111100101111111111011111111111111100111110111011111111101111110111111111111111011111111111110100111110110111111111111011111011111111111111111111111111111111111111111111111111111011111111111110110011111101001111111111111111111111111111110111111101111111101111111111111111111111111011111111111011111111111111011111111110101011111110111111110011111111111111111101111011101111111111111111111110111111111111011111111111111011011011111110111011111111111111111111111111111011111011111111111111111111111111111101111111011100111111111101111111110111111111101111111111001110011111110111111111111001111111111111101111111111111111111101111111111110011111111111110101111111111111111111111011111111111111110111111111111111111111101111101111110111111011111011111111011111111111111111111110111101111111011110011110011111111111110111111111111111111111111111111111111101111111111111111111011111111111111111111111111111111111110111111111111011111111111111111011110111111111110111111101111111111111101111111111111111111111011111111110011111111111111111111111011110111111111011101110010111111111111111111111111111101111111111111011111101111111101111110111111011111111111111111011111101110111111111111111111111111111101101111111111111111111110111110111111111111111111111111111111011101111111011111111111111111111111011111111011111101011111111100111101111111111111111111101111111111011111011111111001111111111111111111111011111011111111111011111111111101011111111110111111111101111111110111101011111111111111101111111011111111110111111111101111111111111111111111011111011011111111111111111111100011111111100111110110000111111111111101111111111111111111111111111111111111110110111111110111111111111111101111111111111011111111111101111111110111101111111111111111110111101111111111111111111111111111011111010111111010110010111111111111111111111111111111011111011111111011111111111111111110111111111111111110011011101111111011111101011101111011101111111111101101111110111101110111011111111111111101111111011111111111111111111011110111110111111011101111010101111111111111110111111111111111111110111111111111011011111010101111011111111101110111011111110111111111011111111011111111110111111111111111111111111011111110011111111011111111111110111011111011101111111111111111110111111111101111111111111111011111111110111110111111110001111111011110111101110111011111111111011111111110111111111111111111011110111111111111111111111111111101011110111111111111111111111111111101111101111111111111011001111011111111011111111110111111111111111101111100111011111111110101011111110011111110111111011111111110111111111111111101111111111101111111111111111011111111111111111111111111111111111110111111111111110111111111111110111111111111110111111111101111111111111111111110101101111111111011111111101101101111011111111111111111111110111111111110011111011111111101111011101111111111111011101111011111111111111111111011111110111111111110111111111111111111011111011111111011111010111111011111111111111111111111111111101111110111111110111111111111111111111111111101101111101110111111111101111111101111111111111111101101011111111111111111111110111111100111111011111111111111111111111011011011011111010110111111111110111111111111111111101111110111110111111111111111111110111111011111110111110111011111111101011111111111111110111110111111111110111111111110011101111111111111111111011111111111111111111111111111111111111001111011111111111111111011111110111111111111011110111111111110111011111111110101111111100111101011111111111111111111011111111111110111111111111111101111111111111111011101111111011111111011111111111111101111111111111011111111101111110111111111111111111111111111101111111111111111101111001011111111111011111111100111111111111111111111111111111111111111111101101111111001111111111111110111111111111111111111111011111111011101110111111111111011111111111111111011111011111110001101011111110101101111111111111111111111111111011111111101011111111011111111110111111110111111111111111101101011110111111111101111111111111111111111111001110111111111111101111111111001111111110111110111111111111111111111111110111111011111101111111111111101111011111101111111000111111111111101101111111111111111111111001110101110110101111111111111111111111111111111111111111111111110111111111111111111110111101101110011101111111111111111111111110111111111111111111101111101111011111110111111111111110111111110101111111111011111111111111111111111111111111111101011111111111111111111111111111111111111111111110111111111111111111111111101111111111111111110101111111111111111110101111111111111111101111110011110111111111101101111110111111111111111111111111111111110111110111111101111111111111011111111101011011111111110111101111111111111110111110111111110111111111111110111111111111111111111111111111101111111011001111111111111111111111011011111111111111111011110111111111111111110111111111111110111110111101111111110111111101011111111111111111101111101111111111111111111111011110011111111101111100110111111111111111111101111111111111011101111111111111111111111111111111111111111110101111011111111110111111110111111111111110111111110111111100111111101111111111111111101111111011110111111111111101111111010111111111111111111111111111101111111101111111111110111111111101011110111111111111111110111111101111111111111111110111110100111111011111011111111110101111111111111110111111111110101111111111011110111111111111001111111111011111111111111111111111111111111011111110111111111111111111111101111111011111111011111111111011101111011011111111111111111111111111110111111111111011111111111110011111111111111110111111111111111111111111011111111111101110101011111111111111111111111111111111011111111011111111100111111111011111111111111111111011111111111111111110101101101111111111111111111101100110111111000011111101111111111110111011111111101111111111011111111111111111110111111111111111111001111110111111111110111111111111101100111111010110111111111111111111111111111101111011110111111111111111101101111111110111110111111111111011111011111111110111111110111111111111111111111111111111011111111111111111111010111111111111111111111111110111111111100000111011110111110110111111111011111110111111111111111101111111111111011111111111111110111011110101111110111111111111111111011111101111001110111111111111101111011111111101101111111111111111011101111111110111110111101111111111010111111010111111111001111111111111111111111101111111111111111111111111111111101010101100111111101111111110111111111101111111111111111011011111111000111111101111111111111111111111111111111111111111111111111111111111110111110111001111111111111111011001111111111111011111111111101111111111110101111111101110111111111100111101111111111111111111111111111011111111111111011101111111111111111110111111111111111111011101011111110111011111011111111111111111011101101111111111111010111111110110111111111010110111111100111111111100111011101111111110111111111011011110111111111111111101111011111111111111111010101111111111111111101111111011111111011111111111101110111011101101110111011111110111111110111111111111111111111111111111111110111011011111111110101110010101111111010111111111111111111111101111110111111111111111111111111111111111111111110111111111111111111111110111111001111111110111111101111111111011101111011111111101111111110111111111111111111110111111101111111011111111111111111111011111111100110011111111111111111111111111111111111111111101111111111111111111111111111011110001111111111110111111111011110111110111111101111111111111011101111111111111011110111110100111011110111111111111111111111111011111101100110111111111111111111111111111111101111111111111111111011111111111110110111111111111111111111111111011111100101111011111101011111110111100101111111110110011011111110010111111111101111011111111111101011011111111111111110111111110111111111111111111111111111011111111110110111111111111111111111111111111110111101111111111111011111111110110011111100011011111111101111111111011111111011111111111011111111111111111110111111111111111111111111111110111111111111111111111110111111111111111111101111111101011011111110011111111011110110011111110101111111111111111111111111111011111111101011111111111111011111111111011111111111111111111010111111110110011011111111111111111111111100011111111101110111111101110111111111111101111111111111111111111111111111111111111011011111111010111110011111101111111001111111111111111111111111111111111101111110111110110111111111101111101101111111111111111101111111111111011111110111111011011110111111111111111111111111101111111111111111110011001111111111011111101101111111111111111111111101110111111111101111111111110111111111111111011101110111111111111101111111111111010110111111111101101111111111001110101110111111111011111111111111111000101101111111111111011111111111111111111111101101111101111111111101111111111101110110111111101111111101011111111111111111011110111111011111111111111111111111101111101111011111111101111111111011110111111111111111101111111111011111111111111111111110101111111111111111110111111111111111111111011111111111101111111111011111111111101111111111111101111111111011111111110111111111111001111111111111111111111011111101110111111111111111101011111001111111111111111111111111111111111111111111111111111111111111011111111101101111111111111111111111111111111101110011111111011111111111111111111111110111011111111111110111101111110111110111111101101111111111111111111100111111111111011111111111111111110111111111111111111111111111100101111111111111101111111111011101101111011110111111111111111111111111111111111111111011111110111111011111111011111110111111111111111111111111111111111011110111111111111111111111111111111101111111111111011111111111011111111111111111111111110111110101110111011111101111111111111111111111111111111111110111111111101001111111111111111101111111110111011110111111111111101110111111011101111111111111111111011111111100111111111111111011111111111111111110110101001111111111111111011011011111111111111111111111011111101111111111110011111110111101111111111111111110111111111111110111111111101111111111111011101111111111110011101111111111110111111111111111101111111101111110111111101111101111011111111111111011111110111111111101111111111111011111111101111111111001111111111111111111111111111111111111011111111111111111011111110111111101110111111110101111111111111111111111111111111111111011111111011111111111111111111111111111111111111111111101011111111111111111111111111011111111011111110111111111101111110101111111110111111111110110110001111110111001111011111111111111111111011011111111101111110111011101111111111110111111101110111111111011111111111001111111111111111111010011111110111110111111111101111111111111111111111111011111010111110111111001111111111101111111111011111111111111111111111111011111111111111110111110111111111101011101111111111011111011111111110111111111111001101111111111111111111111111111111111111111111111111111110111111111110011111111111101111111111111111111111111111111111101111111111111111111111110010111111111111111111111110111111111011111111110111011111111110110111111111111011111111101111111111111111111111011011111111111111111111111111111111011111111011111111111111101111010111111111011111111110111111111110111111110011011111111111101101111111111111111110011111101101111111111101111111111111111111111111101111111111111111110110110011111111111110101110110111111111111111111110111101111111111111110111110110110111111111111111110111111101111111111111111111111111111111111111111110111111110111011111110111111111111111111101111111111111111111101111111110111111111111111001111111111110111111111111111111111101111111011111111111110111111011111111111111111111111110111101110111111111101111111111111111110101111111011101111101001101111111100111111101011111111111111111111111111111111111111111111111111111110111111101110111111100010101111111101111011110110111111111111111101110111111011111111111110111111111111111110111111111111101111111001011111111111111111111011111111111111111111111101111101101110111110111111111111111101111111111111111111011111111111111111110111111111111001111111111111111111111111111110010111111011110111111111011111111111111111111111101111011011111010111111111111111011100011111111111111011111111111111111111111111110111110011111101011111111101111111010111111111101111111111110011101111111101011111111011111111101111110011111101111111111111011111100111111101110111111011011110111111111111111111111111001111111011111101111111111111101111111111111101101111111111111111110111101111111101111111010111111111111111111111111111111111111111111111111111010111111111111111111111111011011011111111010111011111111111111011110111111111111111111111011101111111111101101111111111011111111111011111111101111110110111111111111111111111111111111101111011111011111111111110011111011111111111101111111111011111111110110111111111111111111111111111111111111010111111111111111111011111110111111011111111111111011111111111011111111111111111111111111111111111111111111111111111111111111111111111111011111111101011111011111111110111101111111110111101111111100111111111111111111111111111111111100111111111011111111010111100111110111111011111111011111111111111111111111111111111111101101111111111111011111101111111111111011110111101111111111101111111111111111111111111111110111111111111111111111111111110111111111101111111111111111110111111111110111010111110011111101111111100111111111101011111111110111111111111111111111111111111110111111111111111111111110111111111111111111011011111111111001110110111111101110111111111111111101111110011101111111100111101111101111011011111111101111111111111111101101111111111110110110111110111111111111111111111111111111111111001111111011111111111111110011111111110011111111011011111111111111111111111111010110111111111111101111101111111011111111110011111111111111100111111111111111111111111110111111111111101111111110111111111110111111111111111111111110011111111111101011110111111111111111110111111011101111110111111110110111111111111111111111100111111111101111111110111101011101111111111111101100111111110011111111101111110111111111111101111111111111111011111011111000111101110111111111110111111111101111111111111111010011111111111111111111111111111101110111111111111011111111101100101111111110111101111111111110111111111101111111111111111101111111111101111111110111111111101111101111111111111110101111111111100111110111111110111111111111111111111111111110111111111011111111111101111111111111111111111111111111111111111110111111111110111111111111110111110111111110111110110010111101111110001111111111011111110111111111111111111111111110111011110111111111110111111111001101111111111111111111111111111111111111111110011111111110101111110111001111111110111110111111110101111111111111111111111111110111111111111111011111111111011011111011111011011111111111111111101010101111110111111111111000010101110111101110101111111111111111111111111111111111111011111011111111111111111011111111111111111111111111111111111101111111111011111111110111111111111111111111111011111111111110111111111110111011101111111111110101111111111111101110111111111111101111111110111111111101111111111111111111100111111111111111111111111011111110111111111111111101111111111111111111110110011111110111111111111111111111111111111000111111111101111111111101011111111111111111111011110111111011101111101011111111111111111111011111111111111111111111111011111011101111111111111111111111111111111110011111111101001111101111011111111111111011111011111111110111111110101111111011111001101101011111111111110111111111101111111011111111111111101111111111101111111111101101101111111111111110111111011111111101111111111110111111111110111111111101111111111111111111110101111111111111111111011010111111111111111011011111111111111111111111111101011111101111101110111110111111111111111011111011101111111111111110101111111111111111111111011111111111101110111111111101011111111111111111101111111111111111111111011111101110111111011111110101111100011110111111111111111111111111111111111011111111011101101111111101111111111101010101110111111111111111111111111011111111111111101110101011111011111111111010111111111111111111111111110111111111111101111111011111111111111111111111111111111111111011101111111111111111111111111111111101111111111111111111111111111011111011111111110111110111111011111111110110111011111111111111111111111111111110111011111111111111111111111111111111111011110111111110111001111110111100111111111111101111111111111111101111110111011101101101111111011111111111111111111111111110111111001111111111011011111111011111111110111111110111111111111110111111111011111111111111111111111111111011111111111011011111111111111111110111111101111101111111101111111111001110111111111111111111111111111110011111111111111111111111111111111011111111111111111111111111111111011111111111101100110111111111111110111111111111111111110111111111111111111111101111111011111111111111111111101101101111111111111111111101111111011110111111101011111111111111111111111101011111110111111111011111111111110101110111111101110111111111111111101011111111110011111111111111111111111001111011111001110111111111110011111111111101110100110111111011111110110111101101111110111111111111111011111111111111111111111111101011111111111111011111111111111111111110111010111110111111111111111101110110110111111111101111111001111111111111111111111111111111111111111111111111011110111111110111011111111111111011110110111001111011111110101111111011111111110111011111111111110110111101111101110111111111110100111011111110111111111111111111110111111011111111111111101111110111111111111111111111110110101011011110111111111111111111011111011111011111111011111111111111111111111111110111110111111110010110101111111111101111111111111111111011111111111111111111111111110111101111111111110111111011111111111111011111111100111111111111111111111111111111111111111111111111111110111101111010111111101001111111110101111111011111111101111111111111111110111110111111111111011001111111111111111011001111111111101111111111101011111111111011111111110111011111111111111111110111011111100111111111101111101111111111111110111101111111111111111111110111111111011111101111111111111111111111101011111011111111111111111111111111110111111111111111100111110111111011111111111111111111111111011011110111111101111111100111111111111111111101111111111111110101111111011110010110111111111111111111111111100111101111111111111011111101101101011111111111011111110111111111111111011111110111011111101111100111111111111011101111110111100011111111111111111101111111111111100111111111101111111111111111111111110111110111101111111111111111111111111111111111111111111011111111110110101111111111100111111111111111111111111110011101111111111111011111111111101111011101111101111111111111111111111111111111111111111111101111111111111110111101110111111111111111111111111110111001111111011111111111110111111111111110111111111111111111011111111111011111110111111111101101111111101101111111111101111111111101111111110111111111111111111011111111010011111101111111111111111111111101111111111111111111111011101111111111111111101111111111111110111001111111111110111111111111111111111111111111111011111111111111111111111111101111111111111111111111111111111011111111110111110111111111111111111111111011111111111110111110010111111011111111111011111111101110011111111111101111111011111111111111111111111111111111111111111111111111101111111111111111111011101111111111111111111101111101111111111111111111101111111111111111111111111111110111111001111111111111111011111111111001110111110111101101111111111111101011111111111011111111111111111111110110111111111111111111111111111111011111111011111111111111011111111111111110111101111111111111111111111011110111011111101111111111111111111111111111111101001111111110101001111111001111111111111111111111111111111111111111111101111111111111111111111111111111111111111111011111111111111111110011111110111111110111111111100111111111011111111111111111111111111101111111111011111111111011001111110011111110111111101100111111111111111111111101111111111111101110111111111011111111111001111111111110111111111111111110110111111110111110101111110111111110011111111100111110111111111111111111111111111111011111111111111110110110001111111111111111111111111111111101111010111111111111111011111111101111111111111111111111101111101101111111011011111011111111111111111111110111111111111111111111111111111111111111111111111110101111111111111111111111011111111111101001111110111111111101111111110111110011111111111110110111111111111110111111111101010111110111111111111111111111101111110111111111111111111100111111111111111111111110111111111111011111110111011111111111111101011111111111111111111111011110100111101111110111111111111111111111111111111111110111111011111111101111111111111111111111101111111111111111111101101111111111111111111111111111011111111111111111111111111111111111101111110100111101110111111111111101011111111111111011111101110111111111111111111110111111111111111111111111110111111111110111110111111111111011101111111111111111111110011111111110111110011111111111111110101111111111111111101111111110011111111111111111111111111111111111110111111111111110111111111111111111111110101111101111111111101011110111101101111111111011111111011101111111111111111111101011111111111010110111111111111111111111101111101111111111111111111111111111111111111111111111111110111101011111111111100101111111110101111111111111111001111101111011111111111111111111111101111111111111000101101110111111111100111101111111111111111111111111111111111111111111111111111111011111111111011111111111111111111111110001111111111101111011111111111111110111111111111111111111111110111111101111111111011111111111101111111111101111111111111111110111011111111011111011111101011111010111111111111111111111110111111111111111101111111111111011111110111111111111111111111111111111111111110111111111111111111111111111111111111100111100111011111111111111111011111111101111111011111111101111111111101111111111111111111111111101111100111011111111111111111011111011111111111111111111111111110111111111111111101111111111111101011110011111111110101111111111111011111111111111101110111111111111111111011111111111101111111111010111111011111111011111110111111011111101111111111111101111111111101111111111111111100111110111111110110111111011111111110101111111111111111111111001101111011111110011111111111111111111111111111111111101111111111111011111111111111111110110011111111010101111111111111111101111011111111010111011111111111111111101111011111111111111110111101011111111111111111111111111011111111111111100011111111111111111111111111011111111111111111111111111011111111111111111111101111111111101001111111111111111111111011111111111111111001101101101111111111011110111110111111111111111111111111111111111011111111011111111111111111111111111111011111111111111111100110111111111111111111011111111111111111111111111111111111111111010111111111111111011111110111100111111111111111111111111111111111111011111001111101110111111111011111101111111111111111111111111111111111111111111111111111110111111111111111011011100111110011111111111111111010101101111111111111111101111111101101110111111111111111110110111111111111111111111111111111101111111111101111111011011111111111101111110111111111111111111111111111011011111101101111111111111101100011111111110111111111111111111111011110111111111111111101111111011111111111111111111111111111011011111111111111111111111110111110111011111111110111111111110111111101111011111110011111111111011110111011111111111111111111101111101111111111101111111111111101111111111011111011111111110111111011110111111101111111111111111111111111111111111111011111111111111111101111011111111111101111111111111011111111111011111111111111111111111010110111111111111111111111101111111111111111111111111110100011111111111111111111111111111011111111111110111111011111111111111111011111110110111111111101111111111111111111111010111101111110011011111111111101111101110111110111010111011111111111101111111111110100111111110111111111111111111111111101111111111111111111111111111111111111111111111011111111110101111101110111110101111011111011111111111110111011111111111111111110111111111111111011111111111111111111111111111011111011111111111101111101111111111111011111111111111111101111111111111111111011111111111111111111111111110111101110111110110111111110111111111110111111111111111110111111100111111111110111111111111111111111111111111111011011111110110110111111011011111111111111001111111110101110111111110011011111111110111111111111111111111110111111111111111111011111111011111110011011111111111111111101111110111111101111111111111110111111111111111111111111111100111111111111111111111011111111011111111111111111011111111111111111111011111111111111111011111111101111111111111111111111111111111111110111111111111111111111111111111111111011111111111011111111111111111111100101010110111111011111111111111111111011110111111111100111111011111111001111111011011111010111111111111110111110011111011011111111111111111110111110111011111111011110111110011111101111101111111111111111010011111111111011101110101111111101101111111110100111111111111111111111111111111111111111111110101101111110111111111111111111111110111111111111111111111111111111111111111111111110111110111111111111111110111111101011111111111011011111111101111111111111111001011111111111111111111111111111111111111111111111111111111111111111111111011111111111111110111011111111111111111111111111011011111011111111111110111111111010111111111110011111111110111011111111101111011111111111111110111111111111010111011111111111111101111111111111111111111111111111111111111111111111111110111011111111111111110111101111111011111111111111111111111111111111111111001111111111111111110111111101111111111111011111111111111111011101111111111010111110111111111110111011111110111111111011111110111101011111110111111101001101111111111111011111011111111111111111111111101011111111110111111111110111001111011110001111111001101010011111111011111111111110101111111111111101111111111110111111011111111111111111111111011111111111011111111111011101111111111111110011111111111111111011111100110111110111110111101111111111111111111111011111111111101111111111111111111111111011111011111111111111111111111011011111111111110111111111111111111111111111111111111111111111110111111111110111111111101011111101111111111110011011111111111111111111111111111110111111111011111111101111111111110111011111101111111111111111111110111111111111011111111110111100111111110111011111111111011111010111011111111111111111011101111111011111110111110111111111111111011111111111111100110111111111111111011010111111111111111111101011111111011111111111011011111111111111110111111110111101111111111111110110111101111101111111111111111111111111110111111010111111101111011011011111111111111111111111111111101111111111111111111111111110111110111110111111111111111111111111111110011111110110111010111111111111101111111111111111111111111111111110111111111111111111111111111111111111011111111111111111111111111111111111111111110111011111111111111111111101011111111101111101111110111110001111101111111111111111101111110111111111110101111111011111111110111111111101111111111011111010111011111111110111111111111110111111111111111111011111111111111011011111111111111111111111110111110111111111111111011111111111111001111110111111101111111101101111111111011111111111100011111111111110111101001111101011111111111101101111111111111111111011111011111111110011111111111111111111111111111111111111111111111111011111011111111111100111101111111111111111110110111111111110111111111111101111111111101111110111110111111111011111110101111110111011111111110111111111111111111111111111011101111101111111111111111111111111111111111111111111111111111111010111111111111011111111111111111110111111111001111111111111111111111111111111111111111111111111111101110111111111110111111111011111111111111001111111111110011111110111111111111011110111111111110111111111111011111111111111111111111111111111111111111111111111011111101010111101111111111111111110111111111111010111111011110111111111111111111111101111111111111111111111101111111111010111111111111111111111111110111011111111111111111111111101111111111111110111111111111110010111111111111111110110111011111111011111011111111111110111111111111111111101111111111111111111111101111111111111101111110111111110111111111101111101111111011111101111111111110111101010111111111111000111111111111111111111111111100101111111111011111111111111111011110011111111011111111111111111011001101110111111111111111111111111111011111011011111111111111111111111111111101011011111111011111110111111101111111011111111110111111111111111111111111111111111111111111111111110111111111101111101111101101111111011011111110111111111101010111110111111100111111101101111111111111111111110111111101111111101111110111111101111111011111111111111110111111110111111111111111111101111111101111111111111111111101111111111011111110111010101111111111111111111111111110111111111111111111111101111110111111111111111011101111111111111111111111011111011011111111101010110101111111011111111101111111011110111100111111110111111101001101111110111111111011001110111111011111101111111111111101011111110111111111110111111111011111101111110111111111111011111011111111111111111111011111111111111111111111111111111111111111111111011111111011111111111111111011111111111111011111101111101111111110111111111101111111111111111111111111010011001111000101111111111111011110111111111111111111111101011111111111111011111111111111111111111111011111111111110111101111111111111111111111111111111101111101111111111111011111111111100111111111111111101111111111010111110011111111111110111111111111101111010111011011111111011110111111101111111111111111111111111100011111111111001111111111111110111111101111111111111101111101110111111110111111111111110111110101111111111011111101111111111011111111111111011110111101001111101111011111111111111111111110111111111011111111111111011111111111111111111011111111111110101111111111111100111110101111101111011111011101111111111111111101111111110111111111011110111111111110111011111111111010111111111110111111111111111111011111111111111111110111111111111011101111111011101101111011011111111011111111111011111110111111111111111111111010111111111111111101111111111110111101111111011111111111110111111111111101111111111111111100111101111111111111101011111111111111111111111111111111011111110111111111111111111111111111111111111111111111111110111111101111111111111111111111111110111111011111111111111111111111111111111111111110101111110101111111111111111111111011111111111111111111111111111111111111101111110111111111011111111111011111111111101110101111011011111111111111111111111111101111111101111111111001111111111111111111111111101111111101101111111101111101110111011001111111111111111111111111111011101011111111111101111111110111111111110111111101010111111111111101101111111111010110111011111111111111111111011110111101111111111111011111111111111101111011111111010111111111111011111111111011111111111111111011111111111111111111110101111111111111111110110111011111101111111111111111111111111111110111111111111111111101111111111101111101111011111111111111011111111110111101101111001111100111011111111011111001111111011111110111111111111111111111111111111111110111101101111111111111111111111111111111111111111101111111111111111111111111111011101101111111111011111111111111100111111110111111111011011111101111111111111111011111101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111100111111101111101111111111111111011111111111001111111101111111111111101111011111111111111111010111111111111111101111101111011111111111111111110011111111011111111111111111101111111111111111110011111101111111111111111111111111110111111111101111110111111011111111111111111111111011111101111110111111111111111111111111111111101111111111111111011111111111111111111111111111111110111111111111111111111111111101101111111110110111110111110101111011111111111111111111111011110111111111101101111111111011111110111111010011111111111111111111111111111110101111101111111111111111111011111101111111111111101111111111111101111111101110111111101110111111111111101110111100101111111111110110111101111111010111111111110111101111111011111111111111111111111111111111111111111111111110111111111111111111111111011111110110110111111111111111010011101111110111111110111110111111111111111101111110111011111111111111111111111010101110111111110110111111111111111111111111110111111111101101110111111110111111111011111111010111110111111111111111111111111111111101110101111111110011111111111111111101111111111101111111111011111101111011101111111101111111111011111110111111111111101111111111111111001111101111111111111111111111111101111101110111111111111111111111111111101111111111111111110011111111111111011011111111111111111100111110111111110111111111111111111111111110101111111111011111111011011111011111111011110111111111111111111111111111111111111111101111111111011101111111111111101111101111111111111111111111111111110011111111011011111111111111111111110111111111111111111111011111110111011111111100111111111011101111101111111111111111111110111111101111111101110110011111111111111111111111111111011111111011111111011111111111011001111111111111111110110111001111111110111111111111111111111111111111111111111111111011111111111111111111111111111110111111111111111101111111010011101111111111111111111111111011110111111110001111111111101111110111111111110110111101111111101111111101111110111111111111011111111111101111111101111111111111111111011111111111111111111011111111011111111111111011101111111011111110111111111111111111011110111111101111111111111111110111011111110111111111111111111111111111111111111111111111011110011111110010111111101101110111110101111111111111111111111111101111110111111001111101111111111111011111011110111111111111111101111111100111111111111111011011111111111111111111101111111111111111111111111111100111111111111111101111111011111101011111111110111111101111111110011111111111111111111111111101010111111111111111111111011011111111111111111101011111111111011111111110111111100111111111101011111111111111111111111101110111111110111111011110111111011111111111111100111111111001111111111110110011111111100110111111101111111101110110111111101111101011110111111111111111111111011111111111111011111111111111011101111111111111111111111111111111111110111111111111010011111110110111111111111111111010111111110011101111101111111001101111111111111111101111111111111011101101111111111101111111110111110111111111110111111011101111111111011111111011111111011111111101111111111111111010111111111111111111111111111011111111001111111110011111111111111111111101111111111111111100111011111110111111111111111110111111111111101111110111111111110111111111111111111111111111111111111111111111111111110110110111111011111111111111111111111111111101001111111111111111111101111111111111111111111111111111111111111111111111111111011111111101111111111111111111111111001111110110111111111111111111111111111111111111111111111111111111110111111111111111111011111110110111111111111111011101111110111111011111111101101111111111111111111101101111111111111110111111110101111111111001111110111111011111111111111111110011111111111111111101011111111111111111111101111111111110111111111101111101111111010101111111111111111111111000111111111111110111110011111111111111111110111111111111111111111111111111111111011111111111110111111111111111111111101111111111111111111101101110011111011111111110101111111111111111100111011111111111111111111111111101111101100111111111101111011011111111111111111111111011111110111111101111101111111111101011111111111111110011111111110111010111111111101111111111110111011111111101111111110111111111101111111111110111111111111110111110111111111111101111111111011111111111111011111111111110111111111111111101111111111011101011101111111111111111111111111111111111101111101110111111110111111110111101111111111111111111101111111011110011111111111111111111111111011111111111011101111111111101111111111011111011111111111110111111111111111111110111111111011111111111111111110111111111111111110111110101111101111111011111111111111101111110111111111111111010011111111111111011111111111111111111111111111011111111111010111111111111011111111110011101111001111110101111111111111011111111101100111111111111111111011111111111011111111111111111111111111111111111101111111111111101011111111111111111111111111101111111011111110111111111111101101111111111110111111101111111111111111111110111111111011110111111111111111111011110111111111101111111111111101111111111111111111111111111111111111111111111011111111111101110111111111111011111111111110111110111101011111111101111110111111111111111111111111111011111111111111111111110110111111111111111111101111111111111111011111111101111111111110111110011101100111101110011111111011111111111111111110111111111111111101110110011101111011111001111111111111111111101101101111111111101111111111110111111011011111111011111011111101100110111111011000111111111111111111111011111111111111011111111111011101110111110111101111110111111111110111111111111011111111111111111101101111111111111100011111101111111111110111111111111111111111111111101111111110111111111111111111111111111101111111011111111111111011110111111011011111111110011111111101111111111111111101111111111111111111111111011111111111111101110111111111111111111111111101111110011111111111111110111111111111111111110111111111111111111101111011100111101111111111111111101111011111101110111111111101111111011111110111110110111111111111101111011101111101110111110111111111101111111011010111111111111011111111111011111111111111111001110111111111111111111111111111111111111111111111111010110111110011111111100111111101101110111111111010111111111111111011110011111111111111111111111111111011111101011110010111111111111111111111111111111111111111111111111110011111111111111111111110111111111111010111111111111111111111111011101111111111001111111111111111111111101111011111111111111111111111111111101111111111111111111101111111111111111111111111110111111111111111111111111111111111111111111011011110111101111111110111101111111111111111111111111111101111111111111111111101111111111101111111111101111011111110111111111111111111101111111111111111011111111111110111111111111110111111111111111111111101111111111111111111111101110010111111111111111111111111111101111111111111111111111111111101110111111011111111111111111111101111111110111111101111111101110111111111111111111011111111110111111111111111111011111111101111111111111111111111111111111011110101111111111010110111111111111111111111111111111111011111111111011101111111011111111111111001011111111111111111111111110111111011011101101011001111111111011011111111011111111111111101111111111111111111111110111111111011011101101111111111111111111111111111101110110111111111111111111111111111010111111111111101110111011111101101111110011111101111111110111111111110111111111111111111111111111110100111101111111101111111111110111111111010101110111111111101111111111111101011111111011111101111111101101111111111111111111111111111111101111111111111111111111111101111101111100110111111011011111110111011111001010111111111111111111101111001111111111111111010101011110111111111011001111111110111111111111111111111111111111110111111111111111111111111111111111111111101101111011111111111111111111111111110111111011101111111111110111111111111111111111111111111011100101111100111111111111111111111011110111111111111111111111101111111111111111111111111111111111111111110110111111100111110111111111101010111110111111011111011110111111111111110111111111111111111111110111111110111101111111111111111101111111111111011111110110111111111111111111110101111101101111111111010011111111111110111111101011111111111111111111101111101111111111111111111111111111111111110111111111111111111111111111110111111111011111111111111011011111111111111111111111100111111111111110101111111111110111111111111111111111111110111110011111111110101111111001101011111110111111111011111101111111111110110111111101111110011111011111111111110111111101111111011101111111111101111110101111111111111111110011111111111000111111111111111111111111101111111111011111111011111011111010111111111011111011111011111111111010111111111111111111111111111111101111111110011011111111110101111111011111101111111111111111111111111111111011111111111110111111111101111111111111110010011110111011111111111101111111111111111111111011100111111111111111111111111111111101011111111111111111110110101111111111101111111111011110111111110111111110011111011111110111110111111111111111111011111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111011110111111111111111111111110111111111111111111110111111101111111011011111111111011111111111111111111111111111101111111111111111111111111011111011111111101110111111111111111111111111111111111111111111011111111111111111111111101011111111111011011111111111011111111101111110111111111111111110111111110111111111111111111111111111111111111111111111111110111111111011111111100111110110111111011111111111111111111111110110110111110110111111111111111001111101111111111111111101110011111011111111111100111111111001111110111011111011111111011111101111110101111111111111111111111111111111111110111111110011111111111111111111111101111101111111111100111111110111111111101111111111110101111111111111111111111111111111111111110111110111111111011111111111111111111111111101111111111111111101111111011011101111111111111111111101011111111111011001111111101111110111011111111111111111011101111101111111111111111111111101111101110111101111110111110011111110111111111101100011111111111101111010111111111111001111111111111111011110111111101111111101101111111101111111111111111111111111111011011011111111111111011111011111111111101111111100110111111101011111111101111111111110111101101111111111111101111101111110111111111111111111111111111111111111101111101111110111110111111111111111111111110001111111100110111111111111111100111101111111001011111111111111111111101111111011111111111111111111111111111111000111111111101111111111111111010110111111111111001111111110111101111011011111111111011101111010111111011111111111111111111111111111101011111111111101111111111111111111111111011111111110111111111000110110111111110111111110111111111110101101111111111111110011111111111110111011111011101101111111111111011111010111111111111111111111111111111111111111111110110111111111111111111111111111110111111111011111111111111101101111110111101111111111111110111110110011110111111111111101111111011111101111111111111111111111011101101111110111111111011011111111111111111111111111111011111111111110011011111111111111111101111111001011111111110111111111111111101011101101111110001111111111111111111111101111110111111111111111110111111111111111111111111110111111011111111011011111101111111111111111111111101111111111111101011001110110111111111111111111111111111111110111011111111111111111101110111111011001111110111101011111111101111111111111111111111111111111011111111110111101111111011111111111111011111111111111111110011111111111111111111111001101111111111111111110111110111110111111111111101111111111111110110111101111111111111110111111111111111111111110011111101110101011011111111111111111110111111111111011111110111111101111111111111111111111111111111011111111011111111111111111111011111111111011111111111111111111111111111111111111111011111111111101111111110111111101111111111110111111111111111101111111111101111111111101111111110111011111111111111101101111111111111110110111111111011110010111111101111110010111111011010111111111111111111111111011111110111110111010111110111111111111011111111111111111111111101011111111111111111111111111011111101111111111111111111111111010111111110111011111111111111111111111111111101111111011101111111111111111011111111011111011111110101111101011011111111011111111110111111111111111111111111111111111111011111111110111111011111111111111101111111111011111111111111111111111111111111111111111111011111111111101111101110111110011101111101001111111111011111111101011111111111111111111111111111111111111111111111101111110111101111111111101011111110111111111001111111111111011111111111111111111101111111101111111111111110111111101111111111111111111111111111111111111111111111101100111111111111111110111111111110111111001111111111111101101111111111111011101111101111111111110111111111111111101101100111111111111101111111100111111111111111101011111101101111111101111110101011111111111111111011111111111111111110101111111111011111111111111001111111101111111111111111110111011111111101111111110111010111111111111111111110111111001111111111111111111111111010111111111111110110111111111110111111111111111111111111011111111111101111111110111110011111111111111111011111111111111111110111111111011111011111010111110111111111111111101011111111111111111111111111111111111111111101111111111110111101111111101110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111001111111101111111111111111111111111111111111011111111111111111111111111111111101111111111111110011111110010011101101111111111111111111101111111111111111111111111111111110111111111011111111111101111111111101111111101111111101111111111001111011110110111111111111111111111111111111111010111111110111111111111111010111111111110101111011111110101111111111111001111111011111011001011111111111111110111111101111111001111101111111111111110111111011111111011111101111011111111111111111111011111011111111111111010111111111111111110111111111111111011111111111111111011111111111111110111111111111111011111111111101100010111111111100101111100111111110111110011111111111111111111111011011101111111101111011111111111111111111011111111011111111011111111111011111011111101001111111111101111111011111111111011111111111111011101111111111111011111111111111111111111111111111111010111111111110101111111101111101111111111110111011111101111111101110111101111111111111111111111111111111111101111111111011011010111110111111111101111111111111111111111111111111111111111110111111111111011110111111101111111111111111111011111111110101111111111111111111111011111111111111111110111110011111111111111111111111110111111110111110101110111111111100111111100010101111111111011011101101111111100111111111011111111111111111111111111111111111111111110111111111111111111111111100111001111111101111101100111001111110110111111111111111111111110011111111111111111111011111111101111111011111111111111111111111010011111111111111110111001111011111111110101111111011111101111110111111111111111111011011111110101011111111111111111110111101111111111111110111101111111111111111111111111111111111111111011101111111111111111110011101111111011111111111111110111011101101111101111010111111111111111111001111111111111111111111111111111111111111101111011111101111111111111111111110110111101011111011111011101111111110011111111111111110101111111110111011111111111111111111110111111101011111111111111101111111111111111111111111111111110111111111011001111111111111111110111111111111111110011110111111111111111111101011111111100111011111111011001111111110111111111011111101111011111111110111111111110111111011111111111111111110111110111111101111111111111111111110111101111101111110111111111010111111111011111101101111111111111001111011111111111111111111111101111111111011110111111100111111111111110111111110011110010111111111011111111110110101111111111111111111111110111111111111101001111111110010111111111111111111101011110111111101111011111111111111111111111111111101111111111011111101110111111101111111101111111111111111011111111011011111101110111111111111110111010101101111111111111111111111111111111111111101111111111101111011111111111111111111101101111110011111111111111110111111111111111111111111101111001111111110111101111111010111111101111111111111011111111101111111111011110111001111111111111111100011111111110101111111111101111111111011011111101111111111111111111101111111111111110111111111111111111111111111111111111111111111111111110110111111101011010111101111011111111111111011111111111111111111111110111111111100011101111111111111111011111111111111111011111111111011111111110111111010011111101111111111111111111111111111111111111111011111111101111101111111111111111011111111111111111111111111110101101111111111111111111111110110111111111111111111111100111101111111011111011111111111111111111110111111101111111111111111111111111101111111111111011111101111110111011111111011011111110111111111111111011111111110110111111101110111111111110111011101111111111111111111110111111111111111111111111111111111101111111111110111111111111111011111111111110111111111101111011101101111111111111111111111111111111111111110111001001111111111111110111111111111111111111111111111101100111111111111111111111111111111111111111111101111111101011111111111111101111110111111011111111111011111100111101111110111111110111110111111111111111111111111111011111111011111011111111111100101111111111111111111111110111110011011111111011111111111111111111111111111101111111111111110111111111111111111111111111111111111111111111111111111111111101111111011111111111111011111111111111110111111111110111111101111111111111111101111111111111100110111111111111111111111111111111111011011111110111111111111111111111110111010111111111111111111111011101111111111111111111111111111111111111111011111111111111111111110111011111111110111110111110101111111111011111111111111111111111111111111111111111101111111111111111111111111111111111110111111111110111111111111111111111111011111111111111111011111111111111111111111111111111111101111011111111101110111111111111111111111111111111111110111111111111111011111111110111011011111110111110111011111001111111111111010010100111011111011111111111111111101111011111111111111111111110111111011011011111111100101111011101011011111111111111111110001101011111111111111111111111101111110110111111111101011111110111111110110111111111111110111111111111111111111111111110110101111101111111111111111111111111111110111011101111011111111111011111110101111101011001111111111111111111111110110110111111111111111111111111111111111110111111111111011110111110111111111111111111011111111110111111101111111111111111111111111111111101011111110111111111111101111111111101111111011111111111111111111111111111111111110111011111111101101011111111111111010110111111111111111111111101111111111111111111111101111110110011011111111111111110111111111111101011111111111111110011111111101111101111111011011111111011011111111111111011111111111111110111111111011111110111111111111111111111111111111011111111011111111111010111111111111111100111011111111111110111111111110111111111111111010111111111111111111011111111111101111111111101111111111111111100111111111110101011111111100110111111111110111111111111111111101111111111111111111111110111011111011111011110110110101111111101111101110111111111111111111111011111111111111111111101111111111111111111101001111111011001111111110111111111111111111101111111001111111111001111111111111011111101111111111111111111111111111111011110011111101101110110111111111111101011101011011111111111111111111010111110111111111111111111111110111111111111111110111101110111111111111111011111110111111111111110111111111111111110111111111111111110111111011111110011111111111111111111111101101111111111100101111111111110111111111111011011111101111111111110111110111111111111101111011111111111111101100111111111111111111111111101111111111111111111111111111111011111111111111111111111011101111111111111111011111111111111110111111111011111111011111111111011101110111111011111111011111101111110111111110111111110001010111111111111101111101111111110011111111111111111111111101111111010111111110111111111111011111011111111011111111111101111111111111111111111111111111111101011101111111111111010111111011110101111111111111010111011111111111111100111111111111101111111111101111111111110111111111110111111111111111110101110111101101111111111111111101011111110111111111111111111111101110111111001111111111111011010011111111111111111011111111101111111111111111001101111101011111111111111111011111111111111111111111001110111111111111111011101111111111111111111111111101111111111101111111111111111110111111111110111111111111111111111111111111111110101111111011111111111100111111111111111111110111110110111010111110101111111101111111111101011111111111111111111111111111111011111111011111111111111101010111111111111101011011010111111111101111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111110111001011100111101011111111111111101111111111111011011101110111111111111111111111101111111111111111111111101111111111111111011110111111101111111111111111111110111111110111110111111111111010101111111101011111100111111111111111011101111111011110011111111110111111111011111111111101111111111111111110110111011111111111111111111111101101111101111111111111011111111111111111111011101111111111111111111011111111110111101111011011111101110111111111111111111111111101111101111111111111111111111111110110111111111011111111111111111011111111111011110111110111111111111111001111111111111111111111111111101111111111111111101011111111011111111111111111011111111111111111101111110111111101100110111110111111111110111001111111111111111101111011111111111111111111111111111111111100111111110101111101111111111111110011111111111111111111111110110111110111111111111101011111011111101111101111111111111101111111111111101111111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111011001111111111111111111111011111110111011111111111111111111111011111111111111111111111111111011111111001101111111101111110111111111111111111010111111111111111101111111111011111011111111111111111111111111111111111111110110111111111101111111011111110011111111111111111111111111111111110011111101111111110111111101111011111111111111111110101111110111111111110111111111111111101111111111111010110111111111111111011111111111111111111111111010111111111111111111111111110100111111111011111111111110111011011111011111111111111100101111111111111111011111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111010111111111111111111111111111111111111011011111101101111111111011101011111110111110111110110111111111111111111110111111110111101111111110111110111111111111111111111111111111111111111111111111110111111011111111111111111111111111101110111111110111111111111111111011011001111111111111111110111111011101111011111111111111111111111111111111011111111110011111111111111111111111111011011111111111111111101110111111101111011111110111111111101111100011111111111111111110111111111111111111111110000110111111111111111011111111111111110111011111110110111111111111111111111111101111011111011111111111111010011111111111101111111110101111011011111111111111111111011111111101111111111111111111101111111111111111111110011111111111111111111111110111111111111101011111111111011111111110110101111111001111111111011110111011111111111011111011101110111001011011101111111110111111111111111111111111111001111111110101111111110111111011111111111111111111111001111111100011011111111111001111111101111111110111100111110111101011111101111111111111111011110111111111111110111111111111111111101111111111111011110111011111101111011111111110101011110111111111011111110111111111111111111011111111111101111111111111111111101111111111111111111111111011111111111111111111111111111110111111111011111101111111111111111111111101111111110011111110111101101111010111101111111111111011111011101111110111111111111111100111111111110111011110111011111111111111111111111110111111110111111011110111111011111111111111111111111111111111111110111111101111111111111111111111111111111111110111111011111011011011111101111111111111111111111111111110111111011110110110111111110111101011111111111111111111111011111111111100011111010111101111111111111101110111111111111111101111111110111111111111111111111111111111110111110010111101011111111011111111111100111011111111111011111111111111111111111111011101111111111111101111111111111011111111111111111111111111111111111111111101111111111111101011110111111110111111111011111111111111111111101111111111111100101111111111111111111111011111111111111111111111111111111111101111111111111111110111111111111110111001111101111111111111101111111100011111111111111111111111111110111110111010111111111111111111111111111111111111111111111110101010111110111111111111111111111110111111110111111111011011111110111101111111101111111110111111111111011111111111010111111011111011111111110110111111111111011111111111011111001111111101111111111011111111111111011111110100111111100111111101111011111111110111011111111101111111101111111111111111111111111011111111111111111111111111111111110111111111111111111011111011111111011111111110111010111111101111111111111111111011111111111011111101110111111111111111110110111001111101111111111111011111101111111111111111111111111111111101111111111101111111111111111111111111111111111111111111111110111111111111110111111110111111111110111001111111011011110111111111111101101110111111111111111111110111011111111111110111110111111111111111011110111111111111101110111111011111001111111111111111111011111110010111111110111111111010111110111101111111111111111111111111111011111111111111101111111110111101111111111110111111111111111111110110111111111101101100111111111111111111101111111111111111011111101111111111001111011111111101110111110111111110111111111111111111111111111111111010110111111110101111111111111111111111111111111111111011111111111111011111111111100111011100111111111111111111111110111111111111111111111010111111111111111111110111101111111111111111111101011111111011111111111111011111111111111111111111111111111111111111111101011101101111111101001111111110111111111110111111101011111111111111111111111111111111111110110111111111111111111111011111111011101011111111111111111111110111111111111111011101111111111111111011100111111111110111101111111111111111111101111111011011011111111111111111111111101111111111111101111111111111111101111010111111111011110111111111111111111111111001011111111011111111101011111111011111100111101111111111111111111111111111111111111111111111011111111011111111111011111111111011111101111101111111111111101111111111100011111111111111111011111110111111110110111111111111111111111011111111111111111111011111111111111111110111111111111111111110111111110111111011111110111111111011111010111111100111111111111011111111111001111111110111111111111111101101111111011111110111101111110110111111111110001011111101011111111111111111111111111111101111101111111111111111001111111001111111111111111111111111111111011111011110111011111111101111111111011011111110111111111110111111101111010111110111111111110111111011111111111111111111110101011110111101111011111011111111011110111111111111101111111011111111011111111111011111111011111111111110111111111101011110111001111111101111111111111111101111111111111111111010011111110111110011111111110111111111111111111111111011111111111111111111111110111111111111101111111111111111111111011111011111111111101111111111010111111011110111111111111101110111111101101111111010011111111111111011111111111111111111110111110111101011111101111111111111001110111111111111111111111111111101111111001110111111111110111101111111111111011001111111011111111110111111111111111111111100100111111110111111111101111011111111101111111101110111111110111111111111111111111111111111111101111111111110111111111101111101111110110110111101111011111101111111101111111011111111011011111111111111111111111111111011111111111111011111111110111111111111110111111111111111111110111111110011111111111111011111111111111011110111101111111111111011111111101111110101100111010111111111110111111011110111111111111111111111101110111111110111111111111111111111111110111111100111111011111111111011111111111111111111111111111111111110011111111111111011111011111111110111111011111101111011101110011111011111011111111111101111111111111111101111111111110111111111101111011111111111011111111010111111110111111111111111111011001111111100100111111111111111111110111111111111111111011110101111111111111111111111111111111110111111111110111111111111111111111101111111110111111111111101111111111111111111111110111110111111111111111111111111111111111111111111111111111011101111110011111101101111111100101111111111100110111111111001111101111111111111111111001110101111111111110111111111110111111111111111101110110111111111110111011100111110111101111111111111111111110111111111111110111111110111111111100111110111111111111111111011111011111111111111100111001111001111111111111111101111111111001110111111111110101111111111111111111111111010111111101111111111101111101111111111111111110111111111111111111111111111110111111101111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111011111111111111111111101111111011111111111111111111101111111111110111111111110111111111111110111111101111111111111111111111010111111111111111111111111101110011111111001110111111111101111111111111111101111111111010111101111101111011111111011110111111111111111111111101111101111110010111111101111110111111111110111111111011111011111111011111101111101011111111111111111011111111111101011011110111111101111011111111111011111111111110111111111111111111111111111011111101111111011111011111111111110111111111111111101101011111111111100111011011101111110111110110001111111111111110011110111111111101100111111111111001111111111111111111110111110111111111111111111111110110011111111111111111101111111111111001101111111111111111111011110110111111111111111110110101111111111101111111101110111111011011111111110110111111111001110001111110111111110111111101111111111111111111110111111101111110111111111111111111111111111111111111111011111011111111111101011111111111111111111111111111111111111111111111111101111111111111101111011111110111011111111110011111111111111111010111110110110111111111101111111111111111101111111111010111111111011101111111111111111111110111111111111101111110011111111111011111101111111111111111110111110111101111101111111111011111111111111110111111111111111110110111111111110111111011111011111111111110111111111111011111111111111111111111111111111111111101111111101111111111111111111111111111011111011110111111101111111111110111111110111110101111100111111111111101111111111111111111111110111011111111011111111111101111111110111111001110111111011110111111111111111111111111111111011111011101111101101111111011110111111111101011110101111111111111111110111111111111011111111111101110101111111110111111010111111111011111011011111111111111111111111111111011110111111111111111111101111111111111111111101100111101110111111111111110101110111010111011111111111111111101111111000111110111111111111111011111110111111111101111111111111011111111011111111111111111111111011111011111111111111011011111111101111111111111111101111111111111100101111111011111111111111111111111111011111111111111111110111111111111111110110111111011111111011011101111111111111111111101111110100111110111110011111111111110111100111100111111011111111101111101111110101111111110111101111111111110011111111111110111111101111111111111110111111111110111111111111111111111111111111011001111011011111111111111110111110111111111011111111011111011111111110111111111111011111011111111111111111111111111111111111111111011011101111111111011111111111111111111011111111110111111011111111111111111111111111111111110111111101111111111111101111111111111110111111111110011111101110111101111111111111111111111111111101111011111111111110101111111110111111111111111111111111111111111111111011111010110110111111111111011111111011111110111101111101101101111111111011111111111111111111100111111101111111111101111011111111101110111111110111101111111011010111110011111111111111111111111111111111111111111110101111111111111111101111111111110111111111111110011111110011111111111111111110111111111111111111111011111111111111101101111101111111111111111111111110111111111011101111011011111111101111111101111011111111111111110101011111111111110111101111111111110100111111111111111101111111111011101001111111111111111111111111111110111111111111111111110111111011111111111111111111111111111111111110111111011111101110111111111111111111110101111111111111101010111011101111111101011101111111111111111111110011111011111111111111111111111111110111111110111111111111111111011111111101111111111111011101011101101111111100111111110111111010110110011111111111111111011111111111111111111011111111111111111111111100111110111111111111111011111111111111111111110111111111101101111111111111111111110101111111111011111111101111111111111111101111111110111111100111011111111111111111111111111101101111111110111111101111111101100110101111111110111111111111111011111111110001111111111110111111101110111011111111111110111111111011111111111111111111111101111110110010111111111111111011111110111110110111110111111111111111111110111111111111111110111111100111111100111111111111111111111110011111110001111111111111010111110111111111110110111110101111110101111011111111100111111101111111111111111111111111111111011101110111111110011111101111111111011111111101111111111111101111111111111111111111111111111111001111111111111111011111111111111111011111101010111111111111111111111110111111111101111011011111111111111111011101101111111110111111111111110111111111100101111111111011111111011011111111111001111111111111111111011111111111011111111111111101111111111111111111111111111111111111101111111111111111111111001111011111111110111111111111111011111111111111111111111111111111101111111111111111110111111111111110111111011111111111111111111111111111111111111111011111111110111111111111101011111111110101111011111111111111111011111111111111101111111111110111110111111111111111111111111111111011111111111111111111101111011111111111111101111111111110110110111101111111111011111111111111111111111101111101111111111011110111101111101111111111101111110111111011111101111111110111111011111111010101111111111111110111111100111111011111111111111111110111111111111111111011011111110010111111111111111111111110011111111111011101111110111111111111111111111111111111111111111111111111110111111111111111111111101111111111111111111111111111111111001111011110001111110111111111111111111111111011111011111111101011111111101111101111111111111111111111011111111011111111111111111111111111111011111111111101111111111111111111111111111111111111110111011011110111111110111111111101111101110111011111111101111111110111111111111110111111111110111111111111111111111111110111111111111111111111110111111110111111111111111111100010111011111110110111101111111111111110101111111111111101111111111111111110111111011111111111011110111111111111101111110111111111100011111111111111111111111111111101111101111111110011111111111111111111101111111011011111111111111111111111111111111111111111101101111111111011111111111111111101111111011111111111111111101111101111111111111111101111111111011111111111111111101011111101111111111111111111111110111111111111111111111111011111111111011111111101111111111111111110111111110111111111101011111101011111111111111111111101111111011111111101111110110111111011111111111111111110111111111111111101111101111111101111011111101111111110111011111111111111111011111101111111110111111111111110111111101111111101111111111011011101110111111011111011101101111111011111111111110111110111111111111111111111101110011111111111111111111100111111111111111111111111111110111111111111011111011111111010011111111111101110111111111111111111110110111101111111111011111111111111111111111111111010101111111111101111111111111111110111111110001111111111111111111111011101111111100111011111111111110111111111111111111111111101011111111111111111111110111111111111111111101111111010111111111111111111111111011111111111111111111111111111111111110111111111110111111111110111111111111110011111111111111111111111011001111111111111010111111111011111111111111111111011111110101111111111111011011111101111111111101111111111111111111111111111100111101111111111111111011011111110111111111110111111111111101111111011101111111110111110111111101110111111111111011011111111100111110111111011111111111111111111111011111111101100011011111111111111111011111101111111111111111111111111111111111111111101101111110111111111101111101111111111111110111111111111110111110111011111111111111111111111010111111101111111111111111111011111111101110111111111111101111111111110111111101111111111111011111011110010111111111011111111101111111111110110011111111111111111111111111111111111111111011111111011111111111111111111111111011111010111111100111101111010110111101110111111111111101111011111111100111110111111111101111011111111011111111111111111111111111101111110110111011111111111111111111111110111111111110111111101110111011111011111011111111111111111111111110111111011111111110111111111111111111001111111111110111110110111111011110111111111111111111111110111101111110110111110111111111110111111011111111111110111101111110101111001111111111111111111111101111111111011111111111111111111011111111111111111110011110111101111111101110111110011110111110111101111110111111111011111110111111111111111101101111111111101111011111111111111111011111111101111111111111010111111111111111111111111111110110011101101111111111110111111111011111111111110101111111111111111011111111111111111111111111111111111111100111111111101111011111111111101101001111111111101111111101111011111111111111101111111111011111111111011111111001111101011110111111111111111111111111111111110111011111100111111111111111111111111110011111110111111111101011111111111111111111111111111101111111111111111101111111111011111111111110110111110111111111111111111111111111101111111111111111011111011111111111111111110111111110111111100111111111111111111111111111101111011111111111110011101111111111111111111111111111111111011111111111111111111101111111111111110110111111111111111111111101111101111111111111011111111111111011111111111110101111101110101111111111100111101111111111111011111111011111111111111101111111111111111111111111101111111111111111111111111011111111111111110011111111111111111111111011101111011111111111111111011111111011111111101111111111110111111111101111111110111011111111111111111111111101111111111111111111011111111011111111111010111111111111111111110111101111101111111111111111111111111110011111111011011111111111111111111111111111111111110111101111111111011111111011111111111111001111011101101101111011110111101111111111011110111111111111111001111111111111111111111111111101111101110111111111101101111111111111111111011110101111111110101111001111111111110111111111111101101111111110011011110011111110111101111110101111011111111111111111110111110111111111111011111111111111111110111111111110111111111111111111101111111111111111111111111101010110111111111011110011111111111111011111101111111111011011111111011011111111101111111101101111111111111111011111111111101111111111111111101111111111111111011011111111011101101111111111101101111111111111111111111111010111011111111111111111111111111011111111011111110111111111111111101111001111111111101010111011111111111111111111111111111111111111111110111111111111101111111101100111111111111111111111111110111111111111111011111111111101111111111101110111111111111100111111111111111111111111111111111110111111111111111110111111111111111111111111011111111111110110111111011111111111101110111111111111111111001111111111010111111111111100101111011111111111011111111111111011111111111111111001111111111111111111110111111111110111110111100111111111111111111111000111111111111111110111111111111111111110111111111101111111111111110011011111111111111111111111111111110111111011101101111001111111111111111111111111010111111111110101111111111110110111111111111111111111101111111111111101101111111111111111111111110101111111111111111110111111111111111111111111111111011111111111111011110111101101111110111111111111111111111111101111111110111111111111110110111111111011111111111111111011111111111111101111111111011111111111111111111111111111110110010111110110011111001101110111111011111100011111111101011111111111111111111111011010011100111011111111111101110111111111111010111111111110111111111111111111111111110101111111111111111111111111110111011011111111111111111101111111111111100111111111111111111111111111110111111111111101111101111011111111111011111111111111111111111110111111011101101011111111111111111101110111111111111111111111111111110111001001011111111101111111111001101111110111111111110111111110110111011111111111011111011111111111111111101111111111111111111110111011111111011110110111111111111111111111110111111101111111111111111111111111111111101111111111111101111110110111111111110011111111011111101011111111011111111111111111101111111110111101111011111111111111101111111111110111111111111111111111111110111101111111101111111111110111110101111111110101111110111111111011111111111111011111111011111101111111111111111111111111111111111111110010111111111111011111111111111111111110111111111111111101111011111111111011111111101111111111111011111111100101111111111111111111101111111111111111111111111111111110111111100101110111010110111111111111111110111111101111111110111110111111111010111111111011111111111111111111111101111101111111111111110111111111110111111111101111111111111111111111111111111111111111111111111111011111011111101111111011111111111011111110111011111010111111111100111111111111111101101110111111111101101111111111101111111111111111111111111111111110111111111011111111111111111111011111101111111111111110111111111111111101101111111001111101111111011111110111111111011111101111101111111111111111111111111011111101101111111111111111110111011111111111111111111110111111111111001111111101111111111001111110111111111110111111111111011111111111111111011111111111110111111111111111111111111111111111111111011111111111111111111111111111111111111111101001111111111111111111111100111101111011011101111111011010111111111110111111111100101111111101111111111110111111111111111111111111111101111011111011101111110111110111111011111111101111111110110111111110110111111101011111111111101111111011111101010111111111111111111111111111111111101111111111111111111111111111011101111111111111110111111111111111011111111111110111111111111110111101111110111001111111111111111111111100010111101111111111101111111011111101101111111100111111111111101111011011111111110101011111101011111111111111111110111111111111110111110111001111111111111111111011111111111111011111111111111101111111111111111111111011110111111111111101110111110111111111111101101100111110111111111111111111111111110111111111111111111011011111111111111111101111111111111011111111111111111111111110101111111111001111011111111111111111111111111111111111101111111110111111101111111111110111111111110111111111111111011111111111111111100111111111011111110111111011111101111111111111111101111111110111011111111111101111111111110111111111111101111111011111111011110111111111111111111101111111111111111111101101110111111110101111111011111111011111011111111111111111011111111111111111111111111111101111111111111011111011111111101111111111111111111111111110011111111111111111111110110111111111111111011111111111111111111111111101011110111111111111111111111110001111010111111111111111111111111111111111011111110111111111111111111011111111111111111110111111111111111111111111011111111111111111111111111110110101101111111111111111111111101111101111111111111011111111011111111111011111111111110101111111111111111011111011011111011111110011111111111111111111101111111101101111101111111101111011011111111110111111001110111111011101101111111111011110111101110111110111111011111101101110111111111111110111111111111111011111111111111110111101011011111101111111111111111111111010111111111111111111111110111111111111111101111111111111111111111101111101101111111111111111111111111111111111111110111111111111111111111111111110111111111011111111111110111011111100111111111111101111111111111111111111111111101110111111110111111111011101111111111111111111111111011111111110111111111011111111111111111111111110111111111111111111111111011111111111111010111111111110111011111011111111011111101111010100111011011111011111111101111111001111011111011111111111111111111111111111111111111101111111110111101111111110110111111110111111111111111111111110111111111111111110111111111111110011110111111111111111111001011111111111111011111110111101111111111110111100111111111111111111011111010111011110111111111111111111011111110101111111110111111111111111011111110111110111111111111111111111111111111111101111111111111111110111111111111101111111111100111110110111111111111111111011111111111111110111111111101110111111111111111111111111101111111101111111101011111111111101110111111101111111111110111111111111111111111111111111111111111111111111111011011111101011111111110110111111101111111111011111111111111110111111111111001111111111111111111111111111011011100111110011011111111111101111111111111111111101110111101011111111011111111111111111110111111111111101111111110111111111111111011111111111111111110111111111111111111111111111111111011110111111011110111101111101111111111111111011101111111111111111111111111110111111111111011111111110110011110111111111111111111111111110011110111011111110110111110111111011111111111111111111111111001101111111101111111111111111000111111111111110111111111111101111111111111111111111111110110111111111111110111110010101111111101111111111111111111111111111111110111111111111111110111111111111110111111111111111111111111011111111111111111111111101011111111111111011001111111110111110111111111110111111111111111110111111111100011111111111111011011111111111101111111111111111111111111111111111111111111111111111011111111111111111001111111111111110111111101111111111111111111111111111111111111111111111111111011101111111111111101011111111111111101101111111111111111111110111101111111111111011101111111110011111111111101110111111110101111101111111111011011111101101111111111111111111111001011111111000111111101111111111111111111101111111111111111111101111111111010111110111111111111111111101111011110011111111111100111111111111011111111111111111111111011111111111111111111111111111111111111110110000111011111101111111111111101111011111111111111101111111101101111011111111111111111111111111111111111111111111111110111111111111101101111111111111111111111111111111111111111111111111111011111111111110111111111111111101111111011111111011111111111111111111111101100111011111111111110110101010101101111111111101111011111111111111110111110111101110111111111111111111111111110111111111011111111111111111111111111111101101111111111111111111111111101111011111111110111111101111111111111110101111111111111111110111111111111111111111111111111111101111111110110110111111111101111111011111110111111111111101111101111110111110111111111111111000111111101110111111101111111110011111111111111111111110110111111111111101111101011110111111111111111110101101111111111101110111111001111011011111111111110111111111111101111101111111110111111101101111011111111111111111111111111111100111110111111101111111111111111111111101110111111110111011111111111111111111101111110111111101111111111111110111111111111111111101111111111110111111111111111111101110111110110111111110111111111111111110110110111111111111100101111111100111111101010111110111110111011001111111101111111111110101111110111111111111111011111111111110111111110011111111111111111111111111011011111111111111110111101111111110111111111110111111111111111111111101111110111110101111111011111111111111111111111111011011111111110111111011111111111101111111110111111111110111111111111111111111111110111111101111111111111111111111111111111011111111111110111111111011111111111111111101111111111111111111111111111110111111111111111111111111101111111110111111101111111111111110111101111111111111110111110101111111111111111110111111111110101111111110111100111111111111111111110111111111101111111111111111111111011111111110111111111011111111111111011111111111011111111111111111011111111101011111111111111111110111111000111011111111111111111001111111111111111111110101101011111111111111111111101111111111111111011111110111111111111011111111101110111111111111111111111111110111010111111110101111111111011111111111111111101111111101011101101111111111111111011111111111111111101111111111111111101111111101101111111111111111111010111111101111011111110111111111111111011110011111111110111101111111111111111111111111111111111110111111111111111110111111111111111111111111111111111110111111111111111111111111111101111110111111010101101111111101111111011111111111111111111100111101111101110111110111111110111101111111111001110111111111111110111111111111111111111110111111111111111111111011111110111101110111111111111111111111111111111101101111111111100111111111111111111111011111111001111111111110110111111111010110011111111111111111111111111111111011011111111111001111111111111110111111011111111111111111111111110111111111111111111011111111111111101111111111111110101101111111111101111111111111001111111111100011011111111101111111111111111011011111111111111111101111001111111111111011111110111111111000111111111111111111111111111111111111111111111111111110111110111011111111111111110111111111111111111011101111110111111110111101111111111110011011111111111111101111011111110111111010101111110111111111111111110111110011111111111111111111111111011101111111111111011111111011111111111111111110111111101111111111110111100111111111111011111111111110111011111111111111011111111111101111010110111111111101111111111111111111111111111111111111111111110111111111111111011110101111111111111111111111010111111111011111101111111111111111111111111111011111111011111011111111111111111101111111111110111111111001111111111101111111011111101111011111111111111011111111111111110111111111011110101111101110111111111111100111111111111111111111011111110111111110111111111111111111111111101111111111111111011111101011111111111111111111101010111111111111110111110111111101111111111111010111011111111111110111111111101111101111111111100110111111111011111111111111111111111111101111111111111111111010111111111111111111111111111101111111111110011111111111111101101101111111111111111111111111011111111111111111101111101111111111110110111111111111101111111111111011111111111111111111111101100111101111011101111110111011111111110110011111111101110111111111110111111111111111011111111101111111111111111111111101111101111111111111111111111101111111101111111101111011111111111111111111111110111111111111101111110111111111111111011111111111111111011101111111111110111111111111111111101111111111111111111111110111111111111111111111111110111111111111111011110111110111111111111111111111111111111111110111111111111111111111110111111111011111111111111001110111111111110111111111111111111001111111111101111101111111011111111111110111111111111111011111111110101111101111111011111111111110101100111011111101101111111111111111111110111111110111111111101001101111111111011111111111011111110111111111111111111111111111111111111111111111111111111111111111111111111111110111101111111111111111010111111011110111011111100111111111111111111011111111101111111111111111111111111111111110111111111111110111111111111011111111111110111111111111101111111111111111111111111111111111111011011111111111111111111111111101111111111111111111111111111111110111111111111110111111111111101110111111111111011111111111011111001110110111111111110111111111001110111111110111011111111100111100011111111111111111111111111111111111011101111111111001111111111111111111111111111111111111111111111111111111111111111111110111111011111111111011111111011111011111111111111111111111011011110101101011111110111111111111111011110101110111111110011111111111111111111111111001111111111111110110111111111110111111111101111101010111111011111111111101111111111011011111111111111111111111110011111111111111111111100111111111110111010111111111111111111111111111111111111111111111111101111111111111111011111111111111111111111110111011101111011111111111111110011111111111111111111111111111110111111111110111111111110111111111011111111111111111111011111111111111101111111111111100101111111111111111111111111111111111111110011111111111111111111111111011111111111011110111111111110111111111111111101111111101101111111100111111111111111111111110011111111111111111111111111110111111111101111111111111111111111111111111111111111101111111111111111110111110111101111011111011011111111111111111110101111111111111111111011111111111111111101110101001110111111111110111111111101011111111011111111111111111111111010101111111111111111111111111111011111111111111111111111110111111111111111111111110011111111110111101111111111111111111111101100111011111111111111111111111111111111111110111111111111110111101111111111110111111110111010101111111111110111101111111111110111111111111111111011111111111111110110111111111011111101111111101110111111111011011110111111011111111111111110111111111111111111111011111111111111111111111111101011000111111111111111111011111110110110111101111111011001111111111110111101110111110111111011111111111110110111011101111111111111111111111111111111111111111111011111111011111111111111111111111111111110111111111101111111101101100111010111111111111111111111111111111101111111111101111111111111111110111101111011110111101111111111111111111111101111111111111011111111111111101111111011111111111011111011111111111101111111111101111111111111111110111111111100011111111110111111111111100111111111110011111111111010111111111011110101111110111111010100011111111111111111101101111111011111111111111111110111111111111101111111101011111101111111111111111011111011111101111101111111111111111110111111111111111111111111111111111111101111111111111011011111111111111111111111000111111111111101111111111111111101111111111111111111101001111111111111010111011111111111101111111111101011111111111111111111111111111111111111111011101111110110111111111010111111111111111011111111111111111111111111111111111111101001110111111111111111111111111111110101111111111111011111111001111110000111111111111111011111001110111011111111111110111111111111101101111111111111111110110111111101101111111111111111111111101111111110101011111111111111111111111111111111110111111101101111111101111011111111011111111111101011111111110111111111111111101111100111111111111111111111101111011101010011101111111111101111111111111111111111111111011111111111111111111111111110101111111111111111101011110111111000101111111111011111101111111011111111111111111111101111111111111011011111011110111111111111011101111111111101110111111111111111111011110111110101001111111011111101111111110111111111111111101101101111111111101111111011111110010101111111111111111111111111111111111111111111111111111111111111111111011111110110110111111111111111111111110111111110110111111111101111111111111111111110111111111111111111111111010011111111111101111111110110111110111111111111111111111111101111101111111111111111111010111111111111111111110111110111111111111011110110111111110111011101001111011111111111011111011111111111111111001110011111101111011111111111111110111111110111011111101101111111111111111111010111111111111111111111011111101111111111111110011111111011011011101111111111111111111111111111111111111111111111111111111111111111111110111111111110111101111111110011111111011111111111111011101111111111111111111111111111111111111111011111111010111111111011111111101111111111111111111111101111111111101111101011111111111011111111111101111111111111111010111111111111111111101111111111101111101101111111101111111011111111111111101001111111111101111111111111101111011111111110101111111111111111111011111111110111111111111110101111111111011111111111111111101111111011110111110111011111111111110101111111111111111111111111110111111001111111111111111110001111111111111111111101111110111111111110111111111111011111111111111111111111111111111101011111111111011111111111011111111111111111100101111111111111101110111110111111111111111111111011111110011001111111111110111111111111111111111111111110111111111111011111111111111111111111110111111111111111111111111111111111111111011110101111111111111111111111111010011111111111111001111110111011111111111111111111111111011111111111111111111111111111111111100111111111010111111101101110111110111111111111111111111111111110111111111111111111111111111111111111111111111111111101101111111101111111101111011111100011111111111111111111110101011111111111111111010111111101111101111111111111111111010101111111111111011001111010111111111110011111111111011110110111111111011111111001110111001110011110111100111111111111111101111111111111101111111111111101111110101111011111011011111111111111111111111011111111111110111101111011111111011111111111111111111011111111110111111010101101111111111010111111111111111110111101011101111111111101111111111110111111101111110111011111111110111111011111111110111111001111111101111111111011011111111111111111111101111110011111111101111011111111111111110111111111111111111110111111111110111111111011101000111111111110110111110111111111111111111111111111111111111111110111111111100111111111101111111111111101001111111100101111111110101111011111111111111110111111111111111111111111011111111101111100111111111011111111111111111111011111011111111011111111111111111111111111111111111111011111101101110111111111111110111111111111001111111111111111110111001101111111111111101111111111100111101111111111011111111110111111111111011011111111111111111111110111111111111111111111110111111101011111011011111111011111101111111111111101011111111111011111011111111011011101101111111111111111111111111101101111111111110110111101111111111111111111111111111111111111111111111101101111111111111111111111111111111100111111011111111110101111111111101111110111101111111111111111111101101111111111111111110110011111111111111111110111111111111111111011111111101111111111111111111111111011111111111101111111111101111111110101111111111111111111111111111111111111111101111111101111111111111111011011111111101111101111111111111111001111011111101111111101111111110111101111111110111110111111111111111111111111111010111111111111111111111100011111011111111110111111001111111101111011101111110111111111111101101111111110111111111011111111101111111011111111111111111111111111111111111111110111111111111110110111111011111111111101111101111111111101110110110101101111111111011111111010111111111110111111111111111111011111011111011111110111111011111011111111111001111011111111111111110111011111110111110111111111111011111011111111111111111111111111111111001011111010101111111111111111111111011111110111111111111011110111111111111111111111111111011111101101111111111111111011111111111111111110010111111111011111111110111111011011111111111111011101011111111111110111011101110111110111111111111111111111111111111010101111111111111101111111011111011001111111111011101110111111111111101110011111111111111110011111111111111111111111111111110011111011111111111111111111111111111111110111111111111111111111111111111111111111111111011110111111111111111110111111111111111110111111111111111111111111011111101111011111101111110110111111101101111111101111011111110111111111001111111111111111111111111101111111011101111111111111110110011111111101111111111111011111111111111011111111111111000111111111101111111111111011111111111111111101111111111110111111111110111111111111011111110111111111111111111110111111101110111111111111111111111111111111101010111111111111111111111001111111111101111101111001011101011011111110111011111101110111111111111111111101111111111111111111110111111111111111011111111111111111111111011111011111111111111111101111111111111111111111110111110111111101111111011111111111111111111111111011111111111100111111111111111101101111101111111111111101111111111111111111111111110110111111110111011111101101111111101110111111111111110110111111111111111011101111110111111101111111111111111111111111111111111111111111111111111111111111111111111100111111111111111111101111111111111111111111111111011101111111111111110111101111111111101010111111100111111111111010111111110111101111111111110111111111101111111101111011111111001111111111111111111101110111001111111111111111111111110111011111111111111111111101101111110110011111011111111111111111111111111110111101101101101111111110100101111110111111111111011111111111111111101111111111111111110111011111111111111101111111111111111111111101111111111111101111111111110011111111110111111011111111111111111111111111111111111101111111111111111111010110111110111110111111111111111111111111011111111111111111111101111111111111111111111011111111111111111111111111101111111010111111011111111111111111111111111111100111111111111111110111111111111111001101001001101111110111110101111010111111111111110101111011111111101111111011111110111111111101110101101101111001111111111110111111111011111111111111011111111111111110111111101111110101111111111111111011111111111111010111111111111111110111011011111111111101101001111011111111110011111111100111111111111011011111111111111111110101111011111111111111111111111111111101111101111111101111111111111111110111111111111101111111111111111111111011111111111111110111111111111110111111111111011111101110111111111111111111111111101111111111101111101111111101111111111111111111111111110111111111111111111010011111111110111111110111011111011110110111111111110111111111111111111111011111101111111111111111011111111111111111111111111101111111111001111111111110111111111111111101111110111011111111111111111111111101101110111111111111011010111110011111111011111111011111111110110111101111110111111111101110111110111111111111111111111101111111101111111111011111111001111110111111101111111111111111111100111101111111111111011111111110011011111111111111111111111111111111111101111101111111111011111011111111111110111111111111111111111111111111110111101111111111111111111111111111111111111111111111111111111110110111111111111111011111101111111010111111111111011010111111110111111111111111111111111111111111011111111111111111111111011111111111111111100111100111111111111111111111110111011111111111111111111111110111110011111111111111111111111111011101111111111111111101101111111110110111111111111110111111011111101111111111111110110111110111111111111011111111111111111111111110101101110111011111111111111111111111111111111110101111111011111111010101111111111011101111101111111111111010011111011111110111110011111110111111111111111111111111111111111111110111111101110111111101111110111111111111101111001111111111111111101111110111111111111011011101111110111111111111111111111011110111101111111111111111011111111110111111111111111111111011111111110111011111111110111111111101111111111111111111111111011111111101111111111111111111111111111101111011111111111111011111111111110111111111111111011111111111111111111111111111101111111111111001111111111111111111111110111111011111111111010111111111111111111111111111111111111111111111011111111111111111111111111111010101111111111111111010011111111111111111111110011111101111111111111101111111111111111111111111111111111111111111111111111111110101111101111111111011110111111111111011111110101011111111111101110111111111011111111111111111111111111111101111011110111011111111111011111101111001111111011111111011101111111111111111110110111111111111111111110111111111111111111111110111111110101111111111101111111111011111111111111111110001111101111111011111111111111111111111110111101111111110110111111111111111111111111111111111011111101011111111101110011011111111101001111111111111100111110111111110111111011111111111111111111111111110101111111111111111111111111110010111111111111111110111111111111111111111110111111111111111110110110111110111111110111111110111111111111111111111111111111111111111111111111111111111100111111111111111110111011111101111111101111111111111011111011111111111100001111111110111111111111111111111111111110111111011111111111111111111111111111110111111011111111111111111111111111111111010111111101101111111111111111111111111111111111111111111111111111110111111111101111111101111111111110111111110111011111111111100111111111111111110111111101010011110111111111111111111111111111111100111111111111111110111011111111011111101110111111111111101111111111011111101111111111111011011111111110111111111011111110111110111111110110111011111111001101111111101111111011111111011111111110111111111111111111111011111111111111111111111101111111111101111111110111110111011011110111111110111111111111111111011111110111111111111111111110101111111111111111111111111111011111111111111011111011111111111111111111111111111111001101101111111110111110110111111110111111111111111111111111101111111111011111111111110111111111111111111111111111111111111111111111101111011011111110110101111111111101101111111101111111011111111111110111111101111111011111111111111111101111111111111111111111111111111111110111111111111011111011111111110111011111111011011011111011101101110111111111111111111111111011111111111011110110111111111110111101111111111111111111111111111111101111111111111111111111110101100101111111111111111111111111010111111111110111101110111111111110101111111111111111011111111111111111011111111111111011111011111101111111111111111101111111111111110111111111111111111011111011111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111110110111111111111111110011111111101111111111111010111111111111111111111011101111101111111111111111111111110111100111111111000111111010101110111111111111111111011111111101111111111111111111101111111111111101111111111111111101011111111111011111111111111111111110101111111101111110101111111111110111111110111111111111111111111111011110111111000111111111111111111101101110111111011111111110101110111110011111111111110101111111110111111111111111111111111111111101111111111110011110011001111011110111111111101111101111011011111101111111111101111111111101111110111110101101111111101111111010111111011111111111101111111111111111111011111111111011111111111111111111111110111111111111111111111011111111011111111111011111111111110111111111111111111111011111011111011110111110111111111111111111101111111111111111111111011111111111111111111111111111111111111111111111111111101100110111111111011111111111111111110111111101110111011111111111111011111111111110111111111111111111111111111111111111111110111111111111111111111101011011111011111111111111111111111111111111111111111111111111110111111111111111111111111111111111110110111011111111111111111111101111111101111111111011001011111101111111111111110110111111111111101111111100111101011111111111111001111111111111111101110111111111111100111110101111110111111111111111110111111111111111111101111111011111111111110111111101111010110111011111111111111111111111111111111111101111111111111111111111111011111111111111111111111111111111011111011111111111101111111111111111111111111010111111111111111111011111111111111111111111110111111111001111111111111111111111111111110111111111011111111111111111111111100111111111111111100111111111111111111111111111111111111010110001111011111111011111111101111101111110101111111011101111110111111111111011111111111111110111101111111001111111111111101111111111111101011111111110111110110111111110111110111111111111111111111011110101110111111101111111011011111111111011111111111111011101111111111011111111011111111111110011011011111101110111111111001111111101111111111111011101111111111011111110101111101111111101111111111111111111111111111011011011110111111110101111011111111111111101101110111111111111111110111111011111111110111110111111111111111111111111111101011111111111111111111111011001111101111111111111101111111111111111110111110111111011111111101110001111101111111111111111110111111110111111101010110111011011111111111111111111111110111111111111111111111111011111111110111011111011111111101101111111111111110111110111101111011111111011111111111111101111111110111101101111111110111110111111111111111111111101111111111011111111111111111111111001111110111111111111111101111110111111001111101111111011111111011111111111111111111111111111111101111111011111011011111111111110111111111111111111101111111111111111011101111111111011111111111111011101110111111111111111011101111111011101111111111110111101111111011110111101110111010111110111111111111111111111110101111011111011011111110111101001011100111111111111111101111110111111111111111111110111011110111011101011111111111111111111111111111111111111111111111110111111111101111111111111110111111111111111111111110101111111110011111111111111111111011111111111100001111111101110111111110111110111111110010111011111110111101111011111111100111111111101111111111111111011111111101111111110111111111011111111111111011111111111111110111111111111111111111101111111111111111001011111110111111111011111111111011111111111111110111111111010110111110111111111110111111111111101111111110101111111111111111111111111111111111111111111111111111111011111111111101111101111111111001111110111111101111011111101111111111111111111011111111111100111111111111111111111111010111011010111111011111110011011101111111111101111111110111111011111110111011011101110111111111111111111111111111011111111111111111111111101110111111111110111111111111110111101011111111111111111111111111100111101111111101111111111111111111111111111111110111111111111111101111111111111111111111111111111111111111011101110111111111111110111111111111011011111011101110111111101111111111011111111101111111111111111111011111101111110100011111101111111111111101011011111111111110111111101100111111111011111111111111111011111111011111111011011111111111111110011111111111111111111111111111110111111111111111110111111111111011110111111111010111111111111111111111001111111110111011111111111111110101111111111001111111111110111111101110110111111111111100111111111111111111111111111110111110111111111101111111111001101111111111111111111111111111111111111111111101111111100111110101101110111111111111111111111110111111111111110101111101111111111111111111111111111111111111111110111111001111111111111111010111101110111111111111111111011111011111111111101001111111111111111101111011111111111111111111111111111111101101011111111101111111111101111111111111111111111111101111111011101111111111111110111111001111111110111111111111111111100111111111111011110111111111111110111111101111011111111111110010111111101111011111111111011111111111111111111011011111111111111101111101111111111111111110110101111111111111101111111111111111111111111111111101111111111111111111111111111111111111110111011111111111111111111111011111111101111111111110111110111111111111111111010111111011101111011111111111101111111111111111111111011111111111111111111111100111111111111111111111101111011111111111111111111111110111011111101111111111111111111100111111111011111111111111111111111111111011111011111111111111111101111111111111110111111111111111111101111110110111111111100100101111110111110111101101011101111111111011111111111011111111101111111111111111111110001111010111111101111111111111111111111111111111111111111110011111111111111001111111011111111111111111111111111011111111011000111111111111011111111111101101111011111111111111111110111111111111111111111011101111110111101111111100111111111110111111111111010111111111111111111111111111110011110111111111011110111111111111110101111110111111111110111111111111111110110111110111111111101111111111111111111111111111111111111011111110011111001111111111111111111110011111111111111111111111111111110111111111111111111111101110111111111101111111101111111111111111101111011111111111111101111111111111111111101111111100111111111111111111111111111101101101110101111110111111110111111111111111110111111101111111100110111111111100101111111111111111111111111111111111111101111111111110111111111111111111111111111111111011111111111110111010111111111111110111011111111011111110011111111011111111111110111010011111111110111111111111110011011111101111110111111111111101111101110111011111111111110111111110111110111111111010111011111111101011110111011111111111110111111111111111111111011101110101111111111111111111100111111111101111111111111110111000111111111111111111111111111101111111111110111111101111111101111111111011111111111111001111111111101110111111111100011101011011111111111111111111111111110111001011111111110011110111110111111111111111111011101111110111011101111111011111011111111111111111111110111111111111111101111111111111111101111110111001111111110111111111111111111111111111111111111110111111111101101111111111011111011010111111111111111111111111111111111101111111110111111111111111101111001111111111001111110111111111111011111111111111111111111111110111111101111111111111111111111111111111111111011011101101011111111111111011111111111011101111111111111101111111111111101111011111111111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111101111011101111110111111101111010111111011111011111111111111111111111111111111111110101111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111110110111111111011111111110101111101111111111111111101111111111111111111101110110101111111111111111011100111011111111111111111111111111111111111111111111111111111111111111111111111111111111001011111011111111111011111011011111101111110111111111111111011111111110111111011011111111111111111111011111111111111001101111111111111111111111111111101111011111011111111111111111110111111011101011111111111110111011011101110111111111111111111111111111111111111111101111111111111110111101010111110011111111011011111101111111111101110111111111111011111111011111110101011111111111101111111101111111111111111111111111111111111111111111011111111001111111111111111111111111011111111111111110111111111110111010111111111111111110111111111111111111011110111111111111111111011111101111110111001111011111110111011111111111111111111111111111111111011111110110111111011111111011111111111011111111111101111101111111111111111111111111111111111011111111111001011111111111111111110111111111111111111111111101111111011111111111111111111101111111111111111111011011101111111111011111101011111111111111111111111101111011111111111111111111111111111111111111111111111111110000111111111011111111110111111111111011111111111111111111111111111111111110111111111111111111111111111111111111101110111111011111111111111111111111111101110111100111111010111111111110010111111011111111111111111111111111111111111111111111111111111111111111111010111111110111111111111111111111111111111111111101111111111110111111111111110111111111101111111110111111111111111110111111111111111111101111111111001111111110101111111111111111110101111111011111111111011111111011111111111011111111111111111111111101111111101111111101111111111111111111111111111111111111111101110111111111110111111111111111111111111101011011011111111111111001101011111111111111111100101111011111111111111111111111110011111110111111110111111111111101111111101111111111111011111110111111111111111111111111011111111111111111111111111101110101111111111011011101101111111111111111111101111111111111011011111101011111111111111110111101111111111111111111111110111111111111101011111111011011111111111111100111101111111111101111111111111111111111111011111111111011111111111111111110111111111101111111110111111111111111011111111111111111110111111111111111110111111111111111111111100111111111111111011111111111111111111111111111111111111111011111111111111111011111011111011111001011101111110110111101111101111111111111111001111111111111111111111011111101011111110111111111101111011111111111111111111111111111111111101111111111111111111111111010111011110111111111111101111101011111110101110111111111111111101111011111011111111111111111111111111110111111010111111111110111111111111101101111111111110100111111111111011111111111111111111111111111101101110111111111111111111111111101111101110111111111010011111110111111111001111111111111111111100111111111111111111111111111111111111111111111111100110111111011000110111010111111111110101111011111101111011110111111111111111111111001111111111111111111011011011111111111111111111111101111111111011111011111111111011110111111111110111101111111111101111110110111111111111111111111111111111111111011111111111110111111101111111111110111111111111100111011011111111111101111000111111111111111010111111101011111111011111111111111111111111111111111111111111110111111111111111111111111111111111101111111111111111011111111101111111101111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111011111011111111111111111111111101111111111111101011111111111111111111111111111111011111111111111011111111101111111011111001111111111111110011110111111111111111111111111111111111111110111111111111111101111111001111111101111111111111110111111111111111111111111111111111111111111101111101111111011110111111110111011111111110101111111111111011111101111111111111111111111101111110111111110101111111111001111111111111111111111101110111111111101111011011100111111110011111111101111111111111111100111111111111111101111110111111111101111111111111111111111111110111111110111111011111111111011111111111111111110111111110111111111111011111111111111011011101111111101111111111111111111111111111111111111111111111111111111111111100111111111111101111101111111111111111101111111110111111111111111101100111011111111110111111111101111111111111111111010011011111111011011111110111011111111110011111111011101111111111101111011111111111111101110111111111111111101111011111111111111011101111011110111111110111111111100110111111011111111111111111111111111101101110111111101011111111111111111111101111110111111111111111111111111111111111111111111111011111111111111111111111111111111110111111111110001111111111111111011111111111111111111111110111111111111111111011111111110011111111101111111111111111111101111011111111001111101011001111111111011111001111011111101111110111111111111111111111111110111111111011110111111101011111110111111111011101111101111111110111111111101111111111111111111111101111111111111111111101111111111111111111111111111101111111111101111011111011100101111110111100011111110110111111111001111011111111111111111111101111111011111111111110111111101111111111011110011111111111111111011111111111110111110111101111111011111111111101111111111111010111111110111111111110110111111110111111111001111111011111111111111110111011111011110100111111111110111111101111111111111111111111111111111111111111111110111011100111111111111111111111110111111111111111111111101111101111110101110111011111111111101101111111010111110111111111111111111001111011111111111111111111111111111111011111101111111101111111101111111111111101101111111111110111111110111111110111111111111011110111111111111111111111110111011001111111101111111111111111111111111111101111111110111111111111111110111111011111111111111111100111111111111111111111110101110111111111111111111101110111111100011111110111111011111111111101111111110111110111011111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111011110111111111111111111111101111110101111001101110111111111111111111111111101011111111111111111111101111111111111111101111111111111111111011111111111111111111110011001111111111111111111110110011111111110111100101111101111111111111111111111111110111111111111111101111111111111111111111111110111111110111111111111111101111011011111111111101011111111111011011111111111111001111011011111111111011111111011100111001110111111111011011111111101111111111111110111111111111111111101110111111110111111111111111111010111101111111111110110111111111101101101111111011111101111111110111111101100111111111111111101011111110111111111101111111111111111111111101011111111011111101111111111111111101111111111111111110111111111111111101110111011111011111111011110111111111110111111101111111111111111111111111111111111111111101111111111011111111111110111111111111110101111101101111110111110111011111111111111100111111111111111111111110111111111111111011111111111111101011111111010111111110101111111111111111111111111111111011101111111011111111111111111110111111111101111111110111111111110011111111111110111101111101010011011111111110111111111111111101111111111111111011101111111111101011111011111111111101111111110011111111111111111110111101111111111111111011111111111111111111111110011111111111111110111111111111111111111111111111111111111110111111111111111111111111111111111111111111111101111111111111110011011011111111111110010111101111111110101111111111011010110111111011111101111111111101111111101111111111111111111111111111111011110101110101111111111111111111111111111011111001111011110111111110111111111111111111011111100111011011111110101111111111111111111111111111101111111101111111111101111111111111101111111111111010111111010110111111111111111111101111111110111101111011111111111110011111101111111011011111001111111111111111111111111111111111101001111110111111011011111110111111111111111111111111011111101111111101111111110111101111111111111111110111111101111111111111110111111111011111111111111111101111111111101111111011111111111111101111111111010111111111111111101111111111111001111111111101111110111110111111111111111101111111101010111111011110011111111101111111111101111111110111111110111110110111111111011111111110111111111111111111111111111011111111110111111111001111110111111111111111111111111111011111111110111110111011101011110111111111011101111111101111111111011111111111111101111111111111110111111111111111111011101110011111111011111111111111111011110110101111111111111111011111111111111111010011111100111111111111011101111111101110111111101111111111111011111011111111111111101101011001101111110111111110111111100111111111111111011110111111101111111100111101111101111111111111011111111111111011111111110111111111111111111101111101111111111111111011111111011111011111111011011111111111110111011111111111111111111111111111111111111111111011111111111111111111111111111111111111111101111111111111111111110111111001111111111110011100111111101111101111111110111111111111111111101111111110101011111111101111111111111101111111111111111111111111110111001110101111111110111111111101111111111101111111111111101111111111111111111110111111111111110111111010111111111111111100111111111111111111111111111011111011111111111110101111011111101011111111110111111111111110111011111111110111111101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101101111111011111110111111111101110111111001111111111111111111011011001111111111111111111111111011011101101011101111111111011101111111111111111101111101111111111111110111111111011111111111100111111111101111111111010110111111010111111111111101101111111111101111111101111101111111101111111101101111011111111110101111111111111111111111111111110011111111111111110111101111101111110111011111111111011111111111111111111111111111111111111111101011111101111000111111110101111111101111101111101111111111111111110111001111011111110001111111111101011111111011111111111101111111111110111110111111111111111011111111110101111111111111011111111101011111111111111111111111111111111001111111111011110110011110111011111111111111011111111111111111011111111111111111111111111111111110111101101001011111111111111111110111111111111111101111111100111111111111110111111111101111111011011111111111111111111111110011101111011011111111111111111111111111111001110110111111111111111111111110111111111111101111111111111111111101101111111110101111101111111101111111111111111111110111101111111101111111111111111111111110101111111111111111111111101001111111101111111110111011101111111111100111111011111111110111101101111111111111111111111101111111111111110011011111111101111111110111111111111111111111111111111011111101111110011111111011110111111111111111111111111111111011111111101011111111111111111111111110111111111111111111111001111111111111011111110111111010011111111111111111110111111111111011111111111110111110111111111111111111111011111111111111110111101111111111111011011111111101111111111111111011111111111111111111111111111111111101111111111111111110111111111111111111111001111111111111111110111111110111111111101101111101111111111111111111111111110110111111111110111011011111101111111111101111111011111110101110111111111011111101111111000011111111111111011111101111111111111111101111111011111111111110101111111111111111111111111011111111111111111111111111001111111111101101111110111110111111111110111011111111110111111111111111111111111111111111111111111011111111111110111111111111111111111110111111111111011111111111111111011111111111111011111110111111111111111101111111111111111011111101001111111110111111111111011111011111111111111110111111111111101110111011111111110111110111111111111011110111111101111111101101111011111111111111111111111111111111111111111111111111110101111111101001111111111111111111111111110110111111111111111111111111111111111111111111111110011111111111111101101111100111111101111111111111111111111101111111111101111001101110111111111111110111111111111110111111101011111111111111111111111111111101111001111111111111111101111111111111111111101111111111101111111011111111110101111111111111111011111111111111111111011111101111111100111110111111011110011111111010111101101110111111111111111010111111111111111111110111110111111111111111111101100111111101110101001111111111111111111011101111101011111111110111111111110111111111111111101001111111111111111111111111111111111111101010111011111011110110110111111111101011111101101110111111011111111011111111011101111111111111100110111101111011111111111111101110111011111100110111111011111111101111111111111111111111011111110111111111111111110010111111011111110101111011111111111111111101111111111110111111111111111111111011111111111111111111111111111111111111110111111111110011111111111101111111111111111111111111111111101111101111111111101111111111111111111111111110111111111111101101101111111111111111011111111111011110101111111111111110101111111111101101111111111111111111111110111111111101101111111111111111011101111111111110111111111111101111111111101111111111111011111111111011111111011011111111111111111011110111111111111111111111110101111101111111111111111111111011111101111111111011101111101111100111111111111111111101011010101111011111111111111111111101111111111111101111111111111111111111111111111111111111110111111111111111111011111110111111110111110111111111111111111110011111111011101110111111110101111110111111111111111111111011111111111011111111110111111111101111011101110111111111011110111011111110110011111111111111011111101111111111010111010111110111111111111111101111111111111111011111011111000111111111111111111111011111100111011101111111111111010111111111111110111111111011110111101111011111111111111001111111101111111111110110111111101111011101111111111110111111111111111111111111010111110110111011111110111111110111111111111011111101111111111111111111111111111011111011111111111011111101101111111110111011011111110111111111111111111111111111111011111111111110111111110111111111111111111111111111111111101111111101111111111111010111110111111111111111111011111110111110101111111111111111111101111101111111111111101011110111111111110101111101111111111111111111011111111111111111111111111101111111111110111011111100011111111111101101111101111111101111110111111111110111111111111001111111111111101111111111011111111111111111011101111111111101111110111111111111011111111110111111110110111111111111111110011111111111111111111111111111011111101111001110011111110110111111111111111011111011110111111111111101111101111101111111101111111111111111111111111111111111111011100111111111011111111111111111111111110111011111111010111111100111111111111101100111111111111001111110111110111110111111111111101111111111111110110111111111011011111111111111111101101111111110100110101111111111111111111111111111111111111111101011111110111111111111111111111111111001100111111110111111010111111111110101110011111111111111111011111111111111011111111111111111110110111111111111111111111111111011111110111111110111111111110110111110111110111111110111001111111111111111111111111111010110111111111110110110111111111111111111111111111111111111111110110111110111111011110111011111110111111111111111111111110111111111111110111111111111110101111111111111111111011111111111111111101111111111110110110101011011111011111111110111111110101111001011111110111111111111111111111111111111101111111001111111011110101110111011111101111001111111111111110111110111111101111011111111111111111111111011101111111111111101101111111111111011101111101100111111111011111111111111111100110111101111111111111111111101111110111111111110101111111111111111111101111111111111111111111111111100111111111111111111111111111111111101111111101111111111101010101111111101111111111101111100111111111110101001111111110111111111111110110101111011111101111110111011111111111111111111111111111111111111111111111111111111111111111111001111111111111011111110111111011011111111111111110111111111111111111111111111111111010111111111111111111111111111111111111111111111111111110111111111111111111100101111111110111111101111111111011101111111010111111111111111111111110000111110111111010110111111111111111111111011111111101111111111111111111111111111010111110111111111111011011111110111111111111111101111111111101101111011111011101111111111011111111110111111111011111111111111111101001101111111111111111111110111110111111111111111101110111111111101111100111011111111101111011111111111111011111111111111111110111101011111011011111111111111111110111111111111111111111111111110111111111111011011111111011111110101111111111111111111111111111111111011110111110111111111111111111101111111111111111111111101111111111111111011011101111011110111111110101001101111111111111111111111111011010101111100011011101111111111111101111011111111111111111111111011101111111011111111111111111111111111111101010110111111010111011110111111110111110111111111111111101111111111110001110111101111111111111101111110111111111111111111111111111111111011111111111011111101110111111111111111111111111111111111111111111111111111111101111111011101111111111111111110111111110111111101111111111111111111111111011110111111111111011111111111010111111111110111101111001111111111111111101111101111111111111111110111111111111110111111110111111111111111111111111111110110110111011011111011110111111111111111111111101111110111111011111110111101111011111111111110111101111011101111111111111010110111110111111110111110111111111110111110111111011011111111111111111011111111111111100111011111111101011111111011111111111111111111111111101110101110111111111111111111011011111111111011111111111111011011111111111111101111011011111111001111111111111110111111101111111111110101111100111101111111111111111101111001111111111111111111111111011111111001111111111101110011111110111111111110111101111111111111111011101111111101111011110111111111111111111111011111111111111111111011111111110111111111011011100111110111101111011111111111110111111111111011110011101111111111110111111101111111111111111111111111011110111111111011111111111111110111101101110111111111111110010111111110111111111101111011111111011111111111011111111111101101111111011111011111111111110101111101111111110111111111111111111111111111111111111110111111111111111111111110101111110111101111101111110110001101111111111111111101111111101111111111111111111101101111110111111111111111111101011111111111110101111111111111111111111111110111111010111011110111111101111101111111111111111111111111101101101111111111111011111111101110111111111111111110111011110111111111111111101111111111110111111011111111111111111111011111111111111111111111111101111111101111111101111111110101111111011011111111101111111111111111111011111111111111100111111111011111111111111111011111111101111111111111111111110111111111111011111111001111111111111101111100111111110111111011111110111110111111011110111110111101111111111010111111111111111111111111111111111111111111111111111111111111011111111111111111111100111101111111111011111011111111111111111111111111111101110111111110110111111111111111100111111101011111011111111111111011011111111111111111111111111111101111111111111111111111011111111110110111111101011111011111111111111111001111110110111111111101110111111110111111111111010111110111111111111111111101111111111011111101101111111111110111111111111111111111111111111111111111111111110111011111111111111111111110111111110011111111111110101111111111111111111111111111111001111111110111011111101111111110111111011111110111111111101101111111111111110111111011111111111111110111111111111111111101111111111111111111111111111011111111010111111111111111111011111111111111111011111111111011111111111111111110101111111111111111110111111111111111111110111111110111111101111111111111111111111110111100111111111111011111111101111111111111111111110111111111101110111111101101111111111111111111111111111111111011111111111110111011111111111111111111111010111111110101110111111101011111111110111111111111111111110111111111111111111111111111111111111110101101111110111111111110001111011111111110110111111111101110111111111101111111111111111111111111111111111111101111110111111111111111111111101011111111111111011111111111111011111111111111111111111110110011111111111111101111111111111111110010111111101110110111111111011111111111111110111111110111111111111111111111111011111011111110111111111111111011111011101111111001111111011011111111111111111111111110111111101111110111111111111110111111111111111111011111111111111111111111111111111111011111011111110111111111111111111111111111111111111111111100111110111011111111111111010111111111101111111101111111111111101011111101111111011110011111111110110011111110111111111111111111011111111111111111111101111111111111111111111111110111011101111111111111101111111111011111111111111011110111111111110111101110011111111011111111011111111110111111111111101011001111111001111111110111111111111011101111111111111111011111111111111111111111111111011111111111111111111111111111111111111111111111110000111111111111111111111111011110111111111111110101111011111011111111111111111110111111010111111110111111111111111111111111111111111111011111111111111111111111111111101111111111111011111111111001111111111111111111010111111111011111111111101011111111101111111011111101101001111111110111111101111111111111101101111111110110111111111111111111101111111111111111011111111011111111111111111110010111111111011001101011010111111111111111111111111111111111011111011111111101011001111111111111011111111111111111111111111111110110101101110111111111111110111111110111001111111111111111111111111111111110111111111111110111011111111111111111110110111011101111111111111111111111111101111101101111111111111111111111111011011111110111111111111111111111111111111101001001111111011111111101111111111101110111111101010111011111111111111111101101111111111011111111111111111111111111110011111111101111111111101111111111111111111111010101110111111111111111110111111111111110101111111111011111111111111101111111111111110110111111110111010111101101111111101111111110111101110111111111111111111111111111111111111111111111111111111011111111111111101101111110111111111111111111111111111111111101111110111111111111111111111111111111111101111110111110111110111111111111101111101111111111111111111101111111111111011001111111111010111111101111111110011011111101111111111111111111011111111111111111110111111111111101111111111111111111111111111111111111111111111111111101101111011011111101110111111011111111111111110111111111111111111011010111111111110111111111011010111111111111111111111111111111111110111111111111111111110111010111101111111111011111111110111111110111000111110111111101111111111111111111111110111111111111011111111111111111101111111111111111101111011111111111111101101111111111111111111111111110111111111001111111111111111111000111111111111111001111111111111110111010100111110111101111101011111111111011111101111111111111110111111101111111111111111111111111111111110111111111111101011011111101111111111111111011111111111111011111111110111101111111101111011011111111111111111110111111111111111010011111101111111011111111111111111111101111111110111111111110111111111111111010111111111111111111101110111101111111011111111101111111111111111111011101111111111011111111111111111011111111011111111111111111011111111110111111100011111111001111111111111111111111111111111011111111110101111111111110111111111101111111111111111111111011101111111111111101111101111101111111011111111111011110111111110111011111011111111110101111011111111110111111111111111111111111111111101110111111111111111101111101101011111111111111011111111101111111111111101111110111111011111111111111111111111111111111110111101111111111111111111111110111111111111111111011110111111111111110111010111101111111111111110111011110111111111111010111101101111111101101111111101111110111011111111111111111111011111111111111001111111111111011111111111111011011111111111111101111111111111111101011111111111111011111111111111111111111111101111111111111111101110111111111110011111111111111111111101111111111111111111111110110111111011101111011111111110111111111100111111111101101111111101111111111101111111111110111011111111110111111111111111111111111111111111111111111111111110011110111111110111111111111111111111101110110111111111111011111111111111110111011111110111011110111111010111111111111111111111111101011011110111111111111111111001010110101111111011111111111111011101111111111111111101101111110111111101111101110111111111111111011111101111111111111011110111110111111111111111111111111111110101111111111111110111111111111111111111111111110111111111111101111101111111000101111111111111111111110111111100111101110111111111111111111111011111110110111110111111111111111111111111111111111111111111111110111111111111111010111111111111111111111111100111111111101011110110111111111111111111011110101110011111110111001111111111111101111111111111111111111111111111111111101111111110011010111111111111011111111101011111110011101111111111111111111111111110011111011111111111110111111111011101111111011111011010001111111101110111111110111111111111111111100111111111111011111111111111111111111111111110111111111111101111111111101011101100111110111111111111111111111111111111111111111110101101111111111111111101111111111101111101111011110111011111110011011111101111111101111111111110111011111111111111111111011101111010110111111111111111111111111111111111011111011111111111111111110011111111111111101111111111111111111110111111110111111111111111111111011011111101110111111111111111110111111101101111111111111111101111110111111010111111011111110011111111111111111111011111111101111111110011110111111110101111111111111111001111111111101101111111111111110111111111111111111111110011111111011011111111111111111111111111111111111111111110010111111111101111101101111111111111111111111101111111101111111010111111111111111110111111110111110111111111111111110111111111100111111111111111111111101111111111111111111111011111111000101101111111111111111111111111111111111111111111110111100111111101111111111111111111111111111111111111110111111111111111011111110111011111011111111111111100111111111111110101111111011111110111111111110111111111110110111111110111111111111111011111111111111111111010111101110111111110111111111111111111111110111110111111111110111111111111111111111111111111111111110111111111110101101111111111111100111111011111111011111111011111111111101111110011111111111001111111111111111111111011111111110001111111111111111011111111010111111110101101111101011111111111111111111101111111111111111110111111111111011111111111111111111001111110111111111111111111111111111111111111111111111111111111111011111011110111111111011101111111111111111111111111010111111111111110111111111111111111111101111111101111111110111111111111110100100111110111111111101111111110111111111111111111111111111011111111111111111111111111101111111011110011011111111011111110111111101111111110111011110111111111111101111101111101111110101111101111111111110111111011111101111111110111111011110110011111111111111011100111101111111101111111111011111111111111011111110110111111111111111110111111111111111111110111111111011111111111111110111100111011101111111110111100110111111111011111111111101011111101100111011101111101111111111101111111111110011111111011111111111111111111111111111111011111101110111111111111101011111111110011111111111011111111111111111011111111100111111111111111111111111111111111101110111110111111111111111111111111111110111111110111101111110111111111111111111101110101011111111111111011110110011111111111010111111111111111111111111110111111011111111111111110101110111111111111111111110111111111011101111111111111101110111111111011111111110110111111111111111111111101111111011111111111111111111111011111111111110011101110111011111111111111110110111111111111111111001111111111111111111111011101101111111111111011111011101111111011111111111111111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111111011111111111101101111111111011111111101111111111111111111100111100110111111011111111011111111111111111111110111100111101111111111101111111111111111111111111011110111111111111110111111101111111111111111111111111111011111011111101111111111111111111111011011111111111110111111111111111111111111111111111110111001111111111110111111111111111111111111110011111110111111111111111011111111101111111111011111111111111111111111111101011111111111101111111111111111101100111111111101111111111111111111111010111110100111011111110111011111100111111111111111111110011110101111111111111111110111011111111011111111101111111111111111111101111111011111011011111111111111101111101011111011111111111110111101111111111101101101101111111101111111111101111110111111111110111111110111111011111111111011111111111111111111101111111111111111110111111111111111110111111111111111111111111111101111111101111111110111111111111111101111010111111111011111111111111111111111111111111011111101111011111110111111111111111111111110111111111111111111011111111111111111111111111111111101111101111111101111111101111111011111110111111110111111110111111111111111111111111110111111111111010111111111111111111111110111111111111111111111111111111101111111111111111111011111111111111011110010111111101111111111111101111111111111111110111111100111101111101111110111001111111111111111111101111111111111111111111111111111111110011111111101111111110111111111111111111111111111111111111111111111011111011111111111011111111111111110110111111111111111111111111011111111111110111110011011111111111101111101111111101111111110111111111010011011111111110111011111111111111111111111111111011111101111110111111111111111111111111101111111111100111111111111111111101111111101111011111111111111111010111111111111111101111111110111111111111111111111111101111111111111101111110011111111111010111111111111111111111111111111111111011111011111111111111111101111111111111111111111111111110101111111010100111111111111111101001111111111111111101110111111101111111111111011111101111111111111111111111111111110101011111111111111011011111111011111010111111111111111111111111111011111111111111111110111111111111111111111110111111111101011101111101101111111011111111110110101011110111111111101111001110111111111011111111111111111111111111111110101111111111111111000101111111110111011110111111111110111111111111111111010011111101111111111110111111111111110111111111111111111011101101111111111111111101111111011111111111111111011111011110111111111111111111111011111111111111111111111111111111111111110110111111111111101111100111111110111111111111111111011011111111111111111001011111111110011111111110111111001111111101111111111001111011110111111111111111111111011111111111111110111111011111111111111111111111111111111111111111111101101111111011101010111110111111111111111011110111110111101111111111011111111111111111111100111111101111101111101011011111111110111111111111110111101111111111011111111111101111111111111111111111111011111111101011111111101111111111101111111111111111111111111111110110101111111111111111111110101111110100111111011111111111111111011111111111111111111111101111111111111111010101111111111011110111111010110111111011111111111101111101111110101111111111111011111111111111111111111111111111111111111101011111010111111110011111111110111110111110101101111110111111111111111011111110111111011011101111101111110101011111111111111110111111111111011111101111111101111111111111111101111111001111101111111111111111111111111111111111111111111011111111111111111111111111111111111111011110110111111100111110111111111111111111110111111111111111101101111111101111111111110011111111111111001111011111110111111110111111111110111111111011111111111111101111111111111111111110111111111111110111111111111111111111111110111111111111111011111111110011101111111111111101011111111100111111111011111110111110111111101111111111111011111111111011111011111111111111111111101111111111111111101111111111111111111011101111111110111111110111111111111111001111111111111111111111111111111111111111111011110111111111111111011111111111111111111010111111101011101111111111111111111011111111111111110101111111111010111111110111111111111111111111111110101011111111111111111111011111111111110111111111111111100111111111111111111111111111111011111111111011111111111111111110111111111011111111111110111000101111111111111111111001111111111110111111111011111111111111111111111111011111101111110011010111111111111111111110111111011111111111111110111111111110111111110111111111111111111111111111011111111110111111101111101101101111111111101111111111111111111111111111111111111111011111011110011111110111111111111110111111111011111111111111111111111111111111111111111111111111111111111011111111111111010011111111101111111111111100011111111111110111111101111111111111111111111111101111111111011111111111111111111111111101111111111111111111101111111111111111011111101111111111111111111011111111111101011111011110111111111011111111111111111111111111111111110011111111111100111111111111111111111110111111111111111111111110011111111111111111111011101111111011111111111111111111111111011111011111111101111101111111111111111111111111111111111111111011111111111111110111111111101111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111011111111111111110111101111111111111111110111111101001111110101111111111111101111111111110011111111111111111111111111101111011111111111111111111111011111111111111111111111111111101011111110111111111111111111111111111111111110111111111111111111111111111111110011111111101011111111101111111011101111111111111111110111111011110111111111011111111111111111111111111111011111111111111111111111111111111111101111111111111111111111111111101111111111101111101111111101111111111111111110011111011111011111111111111101111111101011111111111111000111111111111111011111111111111110111010111111001111101110111111110111111011111111111110111111111101111111111010111111111111111101111011111011110111111111101011110110111111111101111111110111111111101111110111111011111111011111111111111101111111110111111111110110111101011111110111111111101111110011111110111111111111111111111111110111111111111111111111111111111111111111110111111111111101111111111111111111011111111111111111111111111011111111111111101111110111111111111111110111111100110111111111111111100101111101111111111111111111111111111011101111111110111111110111111111110111101111111111111111111111011111101111111111110111111111101001110111111011111111111101101111111001111111111111111111111111111111111110111111010111111101111100111111110110111111111111111111111111111111111111111111111111111111110111111101110111111111111101110101111001111111111111111111111111111110101111111111101111111111011111111111111111111111110111111111111101111111111111110110101111001111011111111111111111100111111111111111111111111011111111111011101111111111110111101111101111011101111111111111111011111110111111111111111101111111110111111111101111100111111101011111111111111111111111110110111111111101111111011111111111011101011111111101111110111111111111111011011111111011111111111111111111111101111011111111010101111111111111011111111111110110101111101111111111111110101111111111111111111111111111111111111011111111011111111111111111111111111111111111101111111111111011111111111111111111101111101111011111111111111001111101111101111111111111111111111101111111111101011111111111111111111111101111101111111111011101001011111111111111111111111111111110010111110110111111111101111111111111111011101111111111111111111111111111111111111111111111111101111111011111111111111111101111111111111111111111110111111111011110111011011111111111111111111111111110111111011111111111101111011111111111111111101111111110111110111111111111111111111111110111101011111111111011111111111111111111101111101111101111111111111101110111111111011001111111111110111111001111101111111110111111111111011011111111111111101111111111111111101111111110111111111111111110101101111111111110011101110111111111101111111101101101101111111111111111111011111111011111111111110111111011111111111111011111101011111011111111111111111111111111011111111110111111110111111111101101101111111111101110110111110111111011111111111111110111111111111111111111111110111111111111111111111100011111111111111111110111111111111111111110111110110011111111111100111111111111111111111011111111011111011111111111111111111111101111111111111111100111110111111101111111111111101111011111111111111111111111111111111111111111111111111111110000111111111111111101111111111111111101111111111111111111111111111101111111111111101111111111111111111111111111101111010110111011111101111111111111111111110111101101111111111111110111111111010111110111111111001111111111111110111001111111111111111111111111111101111110111111111111111111110101111111111101111101101111111011101101011111111111111111110111111111111110110111111111111111101110110110011011001111111111111111011111111111111110111111111111111111011101111101110110111111110111111111111111111111111011111111001111111011111111111011101110111111011110111111111111101111111111111110011111110111011111111111111111111111011111010101010101111111111111111111111111111111111111111111111111111011111111111111111111111111111111111011111111111111101111111111111111111001111111110111111111111111111111111101111111110111110111011111110111111111111111011111111111111111011111111111111111111111111011111111101111111111110111111110111110111111110101111111111111111111111110111111111101111111111111111111111111111011100111111110001111111111111111111111111111011111111111111111110111111110101111111111111111011111111101011111111101111111111111111111111111111111011110111111111111111111111000111101111011111101110111111111110101110111110111111111111111011111111111111111111111110111111111111111010111111110111011111111110110110111011111111011111111110101111111111111111001111111011111110111111111111101111111111110111110101111111111111111111111110111110011110110111011111111111111111111011111111111111111111111111111111111111111111111111111111111111111111011011111111011111110111111111011101111011011111111111111111111101111111111101110101111111001111111110111111111111111111111111111111110011111011111110111011111111111111111111111111111111111111111111101111111111111111111111011111111111011111110111011110111111111111101111111111111111111111111011110110111100011101101111011111101111111111111111111100111011111111111111111111111111111111111111110111111011101111111101111110111101111001111111110110110111111011111111111111111111111101111111111111111101111111111111111011111011111100111111110110111111111111111110111111111101110101111111111101110111111111111111111111101111101111110110111011111111111111101111101011111111111110101111111111111111110111111111011111100111111111111110101111011111111111111110111100111111111111111111111110111111111010111011111111111111111011111111111111111111111111111111111010111111111111111100111111110111111111111111010111111111111111101111111111011101111111111101111111110111111101111110111111011101111111111111111110111110111111111111101101011111111101111111110111111111111110111111110111111111111010011110111111111110111111111111111111001111111111111110111011111111111111111111111011011111111101110111101111111011101111111101111111111111011111011111111111111001101101110111111111111111111111111111101111111111111111111111111111111101101111111111111111111110111111111010111111111111111111111010010111110111011110111111111111101111111011111111111111111111111111111111111011111111111111111111111111111101111111101111111111010111100111111111101111111111011111110110111111111110111111011110111011111011111111111001111111111110100111111011111111111111111111111110111111111110111111111111111111110100011111111110111111110101111111110111111111111110111111111110111111110111111111111111111110010101111111111111111111111111111101111111111111111111111110111111111111111111111101111011111111111111111111111111111111111111111101111111111111111110111111111111111111011111111111011111101011111111111111111110111011111101111111111111001101111111111111111111111111111101111111111111111111101111110111111111111111111111111101101111111011101111111111111111101111111111111111110111001111110111111111101111111111111111111111111111111101111111111111111110111111111110101111011111111111111111110111111111111101111111111111111111011111111111111111111111111111111111101111001111101111111111101111111111111111111110111111111110111111111111011101111111111111111111111011111101011111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111011111110111111111111011111011111111111111111110101111110111111110111110111110110111111111111101011111110111111111111111111111111111111101111101001111111111111111111111111111111111111111111111011111011111111111111110110111111111011101111111011111111110111111111110111011101111111111110111101110111111111111111101111111111011110011111111111111111101111111111111111111111111111111010011111111110111111111001011110111111111110111111111111111111111111111111011111111111101111111111111111111111110011111111011111111111011111111111111111111110111110011101111111010011111101111101110111111111101111111111011111111111101111111111111111111111111110111111111011101101111110111110111011111101111111101111101111111111111101101101111111111111111101111101111111111111101110001111110111100111111101111111111111011110111111111111110111111111111111011111111111111111111111111111111101111111111111110111111111111111001111011111111111111110101111111101111011110010111111111101101111111111101111111111111111011111111111111111111111111111101111101111101111110011111111111110111111111111111110111111111111111111111011110111111111111011111011011110100111111111111111111110101111111111111111111111111110110111001111011101111011110111011111111111111011111111111111111001111111111111111111111110111111101011011110111011111111111111111111110101110111011111111111111111111101111111111111110111111111001111111110111111111111111111111111111111111111011001111111111111111111111111111111111111101111111111111111011110011111111111111110111111011111101011111111111111111111111111011111111111111111111111101111111111111011111001111111111011111000001111111110110111111111110110111111101111111111110011111111111101111111111111111111111111110110111111111111111011111111111101011111101111111111111111011111111111110101011111111011111111111101011110111111111111111111111001001111111111111110111111111111111011111111111111111111111110111111110111111111111111111111111110111111111111111111011111101111111111101111101111011111101111111111011111101111111111111111111111110111111101111110111111111111111111111111110101111101011110111111011111010111101101111111111111111011010111111101111111111110111110111011111010111111111011111111110001111111111111111111111111101111110101011111111111111111111111101111111111111111110111111111111111110111111101111011110111111110111011111111111111111111111111111111111110111011111101111111111111111111111110110111111111111111111110111111111111111011011011111111111001011110111110111111111111111111111101111111111111111111111111101110111111011111111111110111011111110110111011111111111111111111101111111111111111111111111111011111111110111101111111111111111111111111111111101111111111111111111101111101111111101111101111111111111111111111111111111111111011111011011110110111101111111111111111111101111111011111101101011101111111111111111100111100011111111111111111111111111111111111111011111110111111111111110111101111101111111111111111111111111011111111111011111111111111011111111111101011111111111111101111100111111111010111111111101100111111111111101111111111111111111111011110111111111111111111111011011111111110111111111111111110101101111111111111110111111111011111111111111111101111111110111111111111111111111111111011011111111100111111111111011101110011111111111110111111111111111110110101111111111111111111111111111101101111111111111101101111110111111111111001111110111111101111111101111111111111101111111011111111111111111111111111011111111111111101101111111001111101111111100110111111111110111111111111111111111111101101011110111110111101111110111111111010111111111111111111101111111111101101110111111111111111111111111111011111111111011111111111101111111011111111010111011111111101111111001111111101111111111111111111011111100011111111111111111111111111111101111111111111111011111111111101110111111111111111111111011111101111111111111101111110111111011111101111111110111101111110101111101111111111111111111111111111011101111111101011110111111111110111111111111111110111111111111111110101101111111111111111111111111111111011111111111110111111111110111111111111111111111111111111111111110111011111111011111111111111110111111101101111111111111111111111111111011111111101111111111111110111110111111111111111111111100111011111101110011101111111111111111101011111111111111101111111111111111111111111111111111111001111111111011111111101101111110111111110111110111101111111011111111110111111111111011111111111111111111111111011111111111111111111111110111111111111111111111101111111111111111111111111011111101101111111111111111111111111111111110110011111111110111111011011111011111011110100111111101111111111111111111111011111111111111111111111111111111111111111111111111111110101110111011111011111111111111111110111111111111110111000111011111111101111111111111111111111111111111111111111111111100111111111111111111111111110111101111100111110111111111011111111011011111111111110111001011001111111011111110111101111110110011011111111111101001110100111011111111111111101101111101011101111010111111111111111111111111111111111101111111111111111111011111110110111111111111111111111111111111111111111111101101111111111101101011011111111111111111111111101111111111111101101111110111111110111111111111111111111111111111111111011011111111011111111101111111110110111111111111111111111011111111111110110011111111111111111111111110111111111111111111111111101111111111011111111111111111111111111011111111111111111111111111101111111111111111111111111110111111111111011101001111111111111111111111111101011111111111111111111101111111111111111111111111011011111111011111101111111110111110111111111111101111111111111111110100101111101111111111100111010111110111111011011111111111110111111111111110111101111111111111111011111111111111111111111111110111110111111111111111101011111011011111010111101111111111111111111111111011111111110111111111111111111101111100111001111111111111111111111111010111111111101111011111111111111011111111111111111111111011111111111101111110011111111111111101011101111011111111101111111111111111101111101111111111111111100111111111001111101010111011111111011101110111111111010111111111111111111111011111111111111111011111111111111111111111110111111111010111111011011111111111111111011111111011111111111101110011111111101110111111111111111111111111111111111111111111111011111110011111111111110111111111101110111111111011101111011111000011111111111111111011111111111111011101010111111111111111111111111111011111110111111111111101111111101101111111111111111110111101111111101111111111111111101111111001111111101111111111111111101101111101101111011111011110111111111111111111111101011011110011110111101111111001111111111011111111011101011111111111111111111111110001011011011111011111100111111111110111111111111111111111111111111111011111111111111110110111111110111111111111111011111011101101111111111111111110111111110101101111111111111111111111111111101111101111111111111111111111111111101111111111111011111111111111010111111110111111111111101111101101110111111111110101011011110111111111110111111111111010111110111111111111111111111001111111110111110111110111111111011101111111101111111011111111111111111111111110101011111111011111111100111111111111101111111110100111111111110111011011111111111110111111111111011110111011010111111110101111111111000111111111101111111011111111111000110010111101111111101111111111111011111111111111111111111100111111111111111111111111111101111111111111111111111111101111111011011111110111111111111101111011111111111111111111111111111101111111111111111111001111111101111111110111111111011111111111111111111110111011011111111111111111111110111111111111011111110111111111100111111111111111111111111111111111111111110111111111111111111111011111111101011011111111101111111011001101111110111111111111111111111111111101111110111011111111111100111111111111111111111011111111101111111111111011111111110111111111111111111111111111111011111111111111111101111111111111111111111111111010011111111010111111111111111111110110111101111111111011111111111111110111111110111111111111011110111111011111101111111111111111111111111111111111111111111111111011111101110111011111111101110111111111011111111100111101111101011111111111111110111111111111111111101010100111111111111111111111111011111011111011111111111111111110111011111111111110011111111111111111111101111111111111111111101111110111111111111111111111110011111111011111111101111011111110111111110110111011011101011011111111111111011101111111111111011110111111111110111111111011011111111111111111111111111111111111111111111111111111110111110111111111011111111111101110111111111111011111001011010111111111111111111111111111001100101111111110111111111111111111110110111111111011110110111111110111111111111101111111111111011111111111111111111111111111111101111111111101111111111101011111111111111111110111111111111111111111111111111110111111101111010111101111111110111111111111111110111111111111111111001111111110111011111111111111111110111011111111111111111111111111111111111111111101111111111111111101111110111111111011111111111110011111111110111110111111111101111111101111111011111111011111101111111111111101011111110011011111111110011111111011110111111111111111011111111111111101111111111011111111111111111111111111111111111111111101111111111111111101111111111111111111111111110101111111111111111111111111111111111111111110110011111111111111110111111111111111111010111111111110111011111111011111111111101111101001111111111111011111110110101011011111111111111111111111111111111111011111111011111101111111111111111111111111011110111110111111001111111111111111111111111111101110111111111111110111111111101111111111111111101111110111110010111111111110111110111011111111111111110111110111111111111111110111111111111000111111111111110110111111111111111011111111110101111101111111111111111110111110111111111110111111111111111110111011111110111111110111011111111111111011111101111101111110011111111111111111111111111101111111111111111101111111110111111111111111111111111111110111110111101111111111111111111111111111111010111111111111111111111101111111111011001111111111111111101111111111011111111111111111111101011101111111111111111111011111101111111111111111101111111111111100111111001101110110111111111111101111111110111101101011111010111110111111011111110111101011111111111111101111111111111111111101011111111011111101110111011111111001110111111111101111111011111101111111111011101111111111011111111101111111111101111101011111111111111111001111011110111110101101111111001111111011011111111111111111101111101111111110111110111111110111111101111111111111111111111101101111100101111111111101111011111111111111111101111111111111110111101111111101111111111111111101101011101110111111101111001101111111111111111101101111111111111111111011101111110110011111110110101111111111111111111101111011110111111111111111101011111110111101110111010111101111110111111111111111111111011111111110011111101110111111111111111010111101111110111111101111111111111111011111101111111101111111111011111111101101101111111111111111111111011101111111111110110111011111111111110111100111110111111111111111111111111111110111011111111101111111111101111111111111111111111111111111101111111111101110101111111111111111111111111111010111111111110011110111111110011111111111111101011111111111111111111111111110111111111111111111111011111111110111111111110111111111111111100111111111111111101110111111111110111111111111011111111101111111111111111111110111111111111111110111111110111011111011111111111111111111011111111111100101111011111111111111111111111111111101111001111001011110101001111101111111011111111111101111011111111111011111111111100111111110010111111011110011111111111110011111101111111111111111111101111111111111101111110110111111111111101111111111111111111111111111111111111111110111111111111111101110101110111111111111111111111111111111111111111111111101111111111111111111111111111111111011111111111111111111111111001101111101111111111111111100111101111111111111111111111101111111111111111101111111101111111101101111110111111111111101101111111111111111111111111111111101111111011111101111111110111111111111101011110011111111101110111111011111110100111111011111111111110101101111111101111111111111111001111111111111101111111111111110111101111111111111111111111101111111110101111110110111101111111110110111111111111110111111011110111011111111111110011111111111101111111111010111111110111101110111111111111111111111111110101111111111111111110101111111111010111111111111111101101110111011111111111111100111111111111111111111111111101111110111111111111111111111111111111111111111111111111111111111111101111111111111111111101011111110110011111111111111111101111111111111111111101011111111100111111111001111110111111111111111101111111110111111111101111111111011111011111111111111111111111111111111111111011111111110111110011111111110111111111101111111111111111111111011101111101111010110111111111111111111111111111111111011111111111111110111111111111011110111111111111111011111101010111011111111111111111111111111110110111111101111111111111111111111111111111111111111111111101111111111111111111101111111101111111111111111111111111111101111111111111110111011101111111101111111111111111111101111111111001110110111110111111111110111111111111111111011111110011011111111111111111111111111110101111001111111001111101111111111111111111111111111111111101111100111111111111111111110111111111111110111110111110111111111111111110111111111111111111111111111111111111111111111111111111111111110111111111111111101110011111111111110111111111100111110111111101111111111110111111101111101111110111111111011111111111111111111011111111111111111111110111011010111111111111100111111111111111011111011001011111111111101111111111111111111111111110111111111111111111111111111111111111101111111111110110111111101111101111011111101111111011110011111111110110111111111111111111111111111111111111111110111011111111111011110011111101111111111110111110111111110111111111111111011100110111101111101111111110110111111111111111111111111111111011111111111011011110111110011111111111111111111111111111101111111110110011111111111111011101111101111011110011111111111101101101111011111111111111011101111111111111111111110111101111111111111011111111111111111111111111111011101111111111101011111111111111001111111111110111110111111111111111111111101111101111110101111111111110111111111111101111011111111110111111110111110110111011111111111111111111111111111111111111111111111111111111101111011111110101111111111111111111010111111110101111011111111101111111111111111111101111111111111110101111101111100111101111111111111110011110110111111111111110111111101111111101110111011111111111111011111111110111110111111101111111111111101011111001110111111110110110111111111101111111101111111111011111111010111111111111111111111110111111110111111111111111010111111111111111111111111111111111011111011101111011011110111111101111111111111110111111111111111011111111110111011111011111110111111111111111111111111111011111111111111111010111111111111001111111111111111111111111111111011011111111111001111111110111111110111011111111011111101100111111101111111111011011111111111110111111111111111110111111111111111101111111111111111111111011101101111101011011111111011111111111111011110011111110101111111111111111111111101101111111111111110111111111111111101111001111110111111111111011111111111111110111111111111111111111011111111111110111111111111000111111111111111110111011111111111011111111001101111011111110111111111111111111111111110101111111111111101011111111101111111111111101111110111111111101111011111011111111111111111111111110111111111111111111110111111011111111111111010101111101111111111101111111111011111110011101111111111111111111111111111111111101111111111111111101010100111010111111100111110111111101111111111011111111111111111111111111111111111111111001111111111111111111110101110111111111111111111101111111101111110111111111111111111110011110011111110111110011111111011111111001111111111111111111001111110111011111111111101111111111111111111111111110011011101111111111111111111111111111111111111111100100011111111111111011011111111110100111111111111111111111111111111111111111111111011011111111111111111111111110111111111111111110111111111011110111101111011111101111110111111111111111101111111111011111111111011111111011010110111101111111111011111110101011011111011011111111111111101111110111111110010111111111111111111101111101111111111111111111111111111111011111111111011111111111111111111110111101110111111110111111111111111101111111011111111111110111111111111110011111111111111111111111111000111111011011111110111110111111011010111111111111111111111111111111111101111111101111111111111101111111111111111111111110111111111110111111110111111111011111110111111111111111111111110101111011111101111011111101011111110111111111111001111111111101111111011101111111110111011111110111111111110111011101111101011111110111111111111111111111111111111111111111111111110111111011101111011111111111111111111111110111011111111111111111101111111011111101111101111111111111111111111111111111111011001101011011111111111111111111111111111101111111111111111111110111111111011111111111101111011111111111111100111111111111011111111111111111111111110111111110111111111111111111110111101111111111111111111111100111111111111111010111110110111101111111111111111111111100111111111101101111111101111100110111110101111111111111111111111101111111111111111111110111001111111111111111111111111110111111011101101111111111101111111111111111111111111101111101110111110111100111011011111001111111111110110101111111111101111111111111111111110111111011111111111111111111111111111011011101111111111111101111011110101011111111111111101110111011111111111111111111111111111110111111111110111111111111101111111110100111111011110111111111111111111111111111111111111111111111111111111111111111111111111111111010111111111111111011111111111111011111111100001111111001111011111111011111111111101111111111111111110111111111111110110111011111111111101110111111111011111111111111111111111111111111111110111101111111111111111110111111101111111111111101111111110111111101111111111111111011011111111111111111111111011111111101111111111111111111111111111111111111111101111111111101111111111011101111111111111111111111011111111101111111101111111111111111110111111111111111111111111111011101110111111110111111111111111111111111111010110011111111111111111111111111110111111111101111110111101111111111110011011110111111111111011111111111111100111111111101110111111111111111111111111111101111111110111111111111111111111101011111111111111011111111111111111111111111111101111010110111111111111111111101111111111111111111010111111111101101011101111111111111111011111111011101111111111111111111011111110111111111111111011111111111111111111011111100111111111111111111111111111110110111011111111100111111101111110111111111111101111111111111101111111111111100111111010101111111111111111111111010111011111110011101011111111101111111111110111111111111111111011111101111001111111101111011111111101110111110111111111111111111111101111101111111111111010011111101011111111101111111011111111110101111111111111001111111110111111011001111111111111111111111111111110111111111110111111111011111111111111111101111100111011111111011101111111101110111111111111111111111011110111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111101101111111111111110111110111111111111111111111111011111111111111111101111111111111101111111111111111111111111111011111111111111111111101101111111111111111111100111111111111111011111110111111101101111111111011101111111111110011111111110111111101111110111111111111111111101111111111101011111111111111101110011111111111111101111111111111111101111111111111111001111111111111111111111111111111111011111111111111111001011111111111111111111111110111101111111110111111111111111110111101111111111111111111111111011101111111111111111111011110011111111111110111111111111111011111111111111111111011111011111101111111111111111111111111111111111111101111111111101111111110111111111111011111111111011111111111110111111110001111111011111110110111111111111111111011111111111011111111111110111101111111111111111111111111101111111111111111111111111111010011111111111111110111111011111111111111111111110111111111011111101111111111111011101111111111111111111111111110111001110111111111101111111101111111111111111111111111111111111111110111111101111111111111111111111111111111101111111101110110111101111111111111111111111111110111111111111111111111111111011111111011111111111111111100111111111111111111110101101111111111111101111111111111111111111111110101110110111111111110111111111111111111111111111111111111111101111111111111111110111111111111011111011111110111111111111111011111101110110111111111110111111111011111111111111101111111111111111111111111110110101101101111111111111111110111110111111111111111111000111111111101111011111101111110100111110111111111111111110111111111111111111011111110111111111111111111111111111101111111111111111110011111111111011111111111111111011111111101111111111110011101111111011101011111111101011110111111011111111111111111111111111111111111111111111111111111111111111111111111111101101111101111111111111111111111110111111001111110111110111100111111111111111111101111111111110111111101101111111111111111111111111111011111111011111011111111111111111111111111011111111111110111111111101111111111111111111111001111101111111111111111111111110111111111011111111111110111111111111101011111111111101111111111011111011110111111111111111011111111111111111110110011111110011111111111111111111111111111111111111111111101111111111111111011101111111111111111111111111111111111101111111111110111111111111111111111111111111111101111111111111111111100111111111110111011011111111111111110111101111011011111111111111111101111101111111111111111111111111111011111111111111101101111111111111111111011110110111111111111111111111111101110101111101111110111111111111111111111111101111111110110111111110101111111110111111111111111111111110111111111101011010111111111101111111111111101011011011101111111111101111101111111111111111111111111111111111111111111111110011111111111111111111111111111111101111101111011101111111011110011111111111111011111111111111111111111110111111011011111111111111111101111101101111111111101111111111110101110110111111111111111011111111111111101110111011111111111111111011111111111111111111111111111011111111111101111111101101111111101011111110111011111111111111111111111011101111111111111111110111110111111111111111111111111111111110010111111101111111111101111011111110111111110111111111011110101111111111111111111111111111101110111101110111111111111111111111111111111111111101111111111111111111110111111111011111101111011111100111110111110101110111111111111111110111111110111111110111111111111111010010111010111010101101111111111111111111011111111101111011111111111111111111111111111110111111101010111111111111111111111111111111110111111111111101111111111111111111110111111111110111111111111101011111011110111111111101111110111111111111111111111111011111111111111010110111111110111111111111111111111111101111100111111111101110111111111111111011111111111101111110101111111011111111111110111111111111111101111111111111111111111111110110111111111111111011111111101111111111001111011011111111110111111111111111111110111111111111100111111111011111110111101101111111111111111111111111110111011111101110111111111011111010111101011101101111111111111111111010011101111111111101110101111111111111111101111111101111111111111111011111111111110011111111110111111111111111111110111111111111111110111111111111111111111111111111111111111111111111111111111111111101111111101011011111101011111111111111011111111111101011110110110111111101110111111111111011111111100111111111111111111111111111111111111101101101011111111111101111111111001111011111111111111111111111011111111011111011111110111111111010101111110111110001110111011111011111111111111111111011111111011101110111111111111111100111111111111111111111111111111111111111101111111111111111111111111111111111111111111111101111111111011111010111111111111011111111111111111111101111011111111101110111111111111111111011110110111111101011111111111101111111111111010111111111111111110111110111110111111111111111111101111111111111011011101111101101111111111111110111111111110111111111101111110111011111101111110111111111111111111111001111111111111111111011111011111111101111111011111111111101111111111101101101111101111101111110111111101111111110111111111111111011111111011111111111101101111111111111011111110111111111101110111101111111111111101111111111110101111111111101111111111111111111111111011101111111111111111111011111111111111111101101110101111111111111111111111011111111111111011111111111111111111111111111111111111111111111111110111001011111111111111011111111111111110111111011101110110111011111111101011110111111101111111111111111111111111111111111111110101111111101111111111010111111111111110111111111111011111110111110011011101111111111111101111111111111101111111111111111111110100111111011111011111111111010110110111111011011111111111111111110111111111111111101111011110111111111111111111111111111111111101110101111111111111111111111111011111111111111111111111111111110111111111111101110111111111111111101101111111111111111111111111011111111101011101101011111111111111111111111111111101111110101111101111111111111111111111111011111111111111111111111111111110111111011111111111111111101111111001110111111101111011111111111101101101111100110111111111111110111011111010111111101011011111111111111110111110111110111111111111111111110111111111111011111111111010110111101111010111110111111111111111111011111111111110111011111111111111111111111101010111011111111111111111111110111011111111111110111111111111111111101111101111110111111111111111111111011111111111111111111111111111111111111111011111111101111111111111011111111111011111111111111111111111111101111111111111111011111011111111111101111101111111111111111011111111111111111111111110111111111111111011111111111111111111111101111110111011111111111111111011111110111101111111111111111111111111111011111111111111011111111111101111011111011111110101011111111101111111111111111111111111111110111111111110111111111111110011111111111111011011111111111111001111111111011111111011111111111111111111111111111110111111111110111111001111111111111111101111111111111111100111111110011111111101101111111101111011111111111110111111110111101111111010101111011111011111011111110111111111111111111111111111110111111111110111111111111111111111111111110101101101111111111111111111111111110111111111111111011110111111111111111111111111111111111111111111101111111111101111110111111111111111011111111111111111111111111111111111101111111011111111011111101111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111011111111111111111111010111011111111100111111101111101011110111011111011111111111110111111111111111110111111101111101011111111011111111111110111111111101111011111111101111011111011101111111111011111111111110111001101111111111111111111111111111111111110111111110111011111011110111111111100111111111111010111111111101111011111111011111011101111101011111111011111101111111111111101111111111111111111101111111111110111111111111000011111110111111111111110111111111111011111111111111011011111111011111111101011111101111111111111111011111111111011110111111111111101011111110111111011001111011111110100111011111111111111111111111111111111111111111101111111011110111111101111111111111111111101111111111111110101011111111111111111001101111111000110111011111111110111111101111110111111011101110111111101111111100111111111111111111011101111111110111111111111111011111111111111111111111111100111110010111111111111111111111111111111111111111111111111001111111011011100111101111110111111111110111011111111111111111111111111111111111110111101111111111111111011011111111111111111111111111111111111110111111111111110011111111011111111111111111111101111101111111111111110111111111110111111111111111101110101110011111101111111101111111111111111011111111111101111101011111111111111111111101011111111101111111011111111111011111111111111111111111111111111001011111010111111111111011111111011111111111111111111111111111111101111111111101111111111111111111111111111011011111111011111110111111111111111110111111111111110111111111111111111111111111111111101111111110011111111011111111111111111111111011111011111011110001111111111111111011111111111111111101011111111011111111101111011111111111111111111111011111111111111111111111100111111111110111111111111110111111111111111111111111111111111111111111101011111111110101111111111111011111101111111111110111111111111111111111101111111111111111111111111110111101111111111111111111100101011111111011111111111111100110111011111111111110111101111111111111111111011110111011111011101111111101010111111111111110111111111111010111011101111111110111111011111111111111111111111111111110110111111101111111111110110111111111111111111111111111111101111111111111101111111111011111111111111111111111111101111111111101111111111010111111011111111111111111111111111111111111110111011111110111110111111111101111111111111111110011111111010111111111101110111111111111111111111111111111111111110101111011111111111111111111111111011111111110111111111111110111111010111101111111111111111111101111101111111111111111111101111110111111111101110111101111011111011111111011111111011111011101101111111111011111111111111110011111011111111011111100100111111111111111111111111111011011111111111111111101111101110111111111111111011101011011011111111110111101110111111101111111111101111111111111111111111101110111111111111111011111111111101111111111111111110111111111111110111011111111111111111111010111111111111111111111111111111111111111111111111111111111111111110111101101111111101111111101111111111101111111011111111111111111111011111011111011011111111111111011111111110111110011011111111101111101111111111111010111111110111111101111110111111111111100101111111111111111111111111111011111011111110111111111111111111111101111111111111110111111111111101111111011111111111101111110111011111111111111111111001111011110111111011111111111111111111111111111111110101111111111111111100111111111111111111111111111111111010111111111110111011111111101111111011111111111111101111111111111111111111001111111111101101110111111111111101111111111111011111111111111111111111011001111111011111011111111111111011001111111111111101111111111111111111111011111111111111111111111111111111111111111111111111110111111111111111111111111101101100111011111111111101111111111011111101111111111111111111111101010110111101111011111111111111111101111111111111111100111111111011111111011001011011111111111111111111111111110111111111111111111111111111111111111111111111011111110111111111111111101111111101110111111011110010110111111111101111011110111111111111111111011110111110111111111111111011110111111110111111111101110111111111101111110111111110111111111101111111111111011011111100111111111111111111111111111111111101011111011111111101111111111111111111111101111111111010111101111111001101111110111111111111111111101011111111111111111111110111110111111111111011011110111111111111111111111011111111111111111111111011111101101111101111011111111110100111111111111110011110110111111111111111111111100111111110101011111111011111111111101111101111111111101111111111111111101111111111111111111111110111111111111110111111111111111001101111111111011111011001111110111111110111111111111111111111111111111111111111110111111111111111111011111011111111111111011111111110101011111001111011111111011101111111111111111110111111111111101101110111111111111111111111111111111111001111111111110110111101011111111111111110011011111111111111111111111101110101011111111111111011111011111101111111111111111110011111111111101111111111111111111101111101011101101010111111111111101111101111111110111110111111111111111111111111111101111101110111111111111111111010111111110101111111111111011111111111111011101101111111111101011111111100011111111111010011011101111101111111111111111110011101111011111011111110011101111110011111111111111011110111011111111111111111111111111111111110111111101111111111101011111111111111111111111111111101111101111111111111111111111111100111100111111111111111011111111111111111111111111111101111101111111110111111111011111111111111111111111011111011101111111101111111011111111111110111110011101111111111111111011111111111011110111111111011111101111111111011111111111111111111111111111101111111110111111111111100111101101111111111111111111111001111110111111110111101111111101111111111011111111001111111111101111011111111110011111111011110111111111111101111101111111111101011111011110010111111111110111101111011111011111111111111110111111111110111111110111111111111111111111111111111111011111111111111111110101111111100111111101011010111111110111111011110111111111111101111111111111111111110111111111111011111110111101110101111111111111111101111101111101111111111111011111111011111011111111011101111111111111111110111111110111111111111111111111111111110001111111011001111111110111111111111111111101111111110111011111111111111110111011111111111111111111111111111111111111111010111101111011101111111001111001111010111111111111101111111111111111111111111111111111101111111111111111101111110111111111111111111011111111111101111110111110011111110111011111111111111111111101111111111111111111111111111111111111111111111111111111111101111111101111111111111111111111111111111101111101111011111111110111111001101111110110100111011111111101110111111111110111111110111011001110111111111111111001011111111111111111111110011111111111101111110111111111111111111111111111111111111111101111110100111111111111011111111111110111011111101111111111111011111101111111100111111011111000011111111111111111111111111111111011111111111111111111111111111111110111111111111111111110101111111110111101111111111111111111111101101011111111111111111111101111111111101110100101111111111011111101101111111101111001111111110011111111111111111111111011110111111111111111110111101111111111111111111111111111101111011111111011111111111111111111111111110111111111111111111111111111111111111111111111111101111111101111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111101111111111111101111101111111100111101111111111111111111111111111111111110111111111111111110111111111111111111110001111111111111111111111111010111111101111101111111111110111111101111101111111111001111111111111110111111111111111101111111111111111111111111111111111110111111011111111111111111111110011010101111111110101111011111011101010111011111011101111101111111111011111111111111111101111110011111111111111111101111111110101111111111110111111111111010110111101111111111111111111111011111111110111111111111111111111111011111111111111111011111111111011111111111111111111111110101111111110110111110111111111101111011111111111110111111101011111101111111111111111111011111111111111111111111111111111111111111111111111111101111111111111111101111010011111011111111111100111111111011111111111111111010111111111111111011111111110110111011110111111111110111111111101011101110111111111111111111111111101101111101101111111011101111100111111111111111111111111111111111111111111001010111101111111111111111111101111111100101100111110111110111111111111111111111111110111111111111111010111111111111111111111111111110111110111111111111101111111111111111111111111110011111111111111111011111111110111111111111101111111111111111011111101111111111111111111101111110101101111111111111111111111111011111111111111111111101111111011111111111111111011111111111111111111111111011011011111111110110111111111111111111111111111111111111111110111101101111011101110111111111111111111011111111101111111111111111111111111111111111111101111011110111101111111010111111111011101111111111101110111111111111111011111111111111111111101111111111011111111111111111111111111111111011111111111111111111101111011111111111011101101011101111111111110111111111111111111111111110111111011100101110101111111111111111111111111111111111101010111101111111111111111111111111111111110111111111110101101111111111111111110111111110101111111101111111111111011111111111111111111011111111111011110101111110011111101111111111110111111011111111111111111111110111110111011111101111111011111101101111111110101111101111111101011111111111111011111111101111111111110111001111101010011111111101101111111111111111111111111111111101111111111011110111111101111111111110011111011111111111101111111111111111111111111111101110111111110111111111011101111111111111111111101111111110111111111110111101111111111111111111111111111011111111111011111010111111111111111111111111110111111111011111111111111111111101111010111101101111111111111011011011101111110101111111101110111101110111111011111111111111111111011111111111111111111111111111111111111111111001111111111111111111111111111111110101101101111111111111010111111101111111111101111111100111111111101111111110111111111111111111111111111101111111110111011111110110110111111101111111111101111111110111111111101110111111011111111011111111111111110110111111111011110111111111111101111110011110111111111111111011111111011111111111101111111111011110110111111111110101111111101111111110111110111111110111001110111011111101111111111011111111111101111111111111111011111111111111101111101111111111111111111101111111111111111011011111110111111011111111111111111111111111111101111111111111011111111101110101111110111111111111111111101111110011111111111111110101111111111111111111111101111111111101110011111101111111100111111111111110111111111110111101111011101111111111011101011111110111111111111111111111111111111111111111101111011101111111111011110111111110110111110111111111001111111111111111111011011111111111110101111111111111111111111111101110111010111101111111111111111111111110011111111111111111011111010111011101011111111111111111111101101111111111111111110111111111111111011111111111110111011111111111110111111111111111111111101111111111111111111111111111111101101101110111110111110111111110111111111110101111111110111111111111111111111111011011111011111111111101111111111111111111111111011110111111111111111011111111111111111111111111111111111101111111110111111011011111111111110111011011111111111111111111011111111111111110111101111111111101111110111111111111111111111111111011111111011111111101111111111111111110111111111101111110111111111111111001111111110110011111111111110111110111111111111111111110111001111110111111011111111111111111101111111111111101111111111110111110100111111011111111110111011111110111111111111101011111111111111011111111111101111111111111111111111111111111111011111011111111101111111111111111111111111111111011111110111111110111111111111011111111111111111111111111111111101111111111111111111111111111111111111111111111111101011111111111111101111101111011111111111111111111011111111111111101111111111101111011111110011111111001111111111111111111101111111110111111011111111111111111111111111111111111111111111110111110111110111111111111010111111101111111111111111111110111111111111111111111101111111010111111110111111111111111011111111001111111111111111111111011111110011011111111111111111111111111111111111111111111111111111111111111111111111101111111111011101111011111111111011110111111111111111001011111111111111111111111111101111111111111011111111111111011111011111110011100011111111111111111111001111111111110111111111111111111111111111111111111111111111111111110110111111111110111111111111111111111111101110011101111111001111111111110001111111111111111111111111111111110111110101111111110111111101111111010011111000011011111111110111111111111111101101011111111111111111101111111110111111111111101111110101111011101111111101111111111111111111111111111111111101111111111101111111011001111111111111111111110011111111101111111111111111111111111111110111101111011011101111111111111111111111111111111011111101011111111111011110011011111110101111111111111111111110111101111111011111111001111111111111111101111011111111110111111011011111111101111111101111111111100011110111111110101111111111111111111110111111101011110101111111111111111101101111111111111011111111111111101110111111101001111111111111111011111111111111111100111111111111111110111111011111111111111111001111110111111111111111111111111111111111111111110011111101111111111111111111111111111111111110111111111111111111101111111111111110011111111111101111111111111111111111101111111011111111101110110110110111100110001101111110111010111101111111111111111111011011111110101101111011110111110111101111111111111111111010111110111111100111111111111101111111111111110111111111111101111111111110111111111111111111110111111111111110111101111111111111111111111110111111111111111111111111111011111111111101111111111111111111111100111011011101111111111111011111101101111111101111111111011111110110011110111111011111111111011101111111111111011111111110111011110111111111111111111111110111110111011111111101101111111111111111111111111111111111111010111111111101111111111111111101111111111111111010111111111110110111111111111111101111111101111111111110110111111111111100111111111001111111101111111111001011111111101111111101111111110111011110011111111111111111110111111011111111111111111111111011111101111110111111111110101111011111110111111111111111111111111011111111111111111111111111111111111011111110111111111111111111101111010110111111111111111111110111111111100111100111111111111111101111101101101111111110111111111111111111111111111111010111111111111111111110111111011101111111101110111110111011111111110111111111101111111101111001111110111111111111111111100111111111111111111111110110111011111111101111111111111111111111111110011111111111111111011111111111111111111011111111111111101111111111111111111111001111111111011111111111111111101111111111111111111111111111111111111111111111111111111010111111111110111111111011111110111111111111111111001111110110111111111110111111111111111011111111111111111111111111111111111111111011110111110111111011111111011111111111111111110111111111111011111111111111111101111011101111111110111111011111111111011111111111101111111111111111110111111101110101111111010111111111111011111111111101111111111111111110111111111111111111011100111011101111111111111111111110111111011111111111111111011011111111111111101111111111111111111111111111110111011011111011111111111111111111111111111111111111111111011111111111011111100111001111111111111111111111010110111111110111111111011111011111011111111111111110001111111111111111101111111011111111101011111111111111110111111111111111111111111100110110111011110101111111111110111111111111111111111111111111100111111101111111111111111101111101111110111111111011111111111111101100101111111111111111111111011111110110111111111111111011111111111011111111111111111111111110111011101011111111110111110111111111111101011111111101111111110111111111111111111111111111111111111110111111110111011111111111011111110111111101111111111110111111111111011111110111111111111101101111111101110111111011111111111101101110111111111100111111111101111111111110111101111111111101111111111111111111111010110111111111011111111011111111111111111111101111111111111111111111111111111111111111101001111011111111111110111111111111111011111101111111111111111011111111111111011111100111111111011111111111111111111011111111111111111101011111111011101111111111101111111110111111111111111111101111111111111101100111111111011011111111111111111111010101111111000111111011011111111111111111111111101111111111101100110111111101111111111111101111111111101111111100011111111111011111111110110111111111111001111111111111111111110101111111111111110111101111111111111111110111101110110110111111111110111110001111111011111111101111101111110111111111111111111111111110111111111111111111101111111100111110111111110111111111111111111111110111111110111111111111011110101101111011111111101101111101111111111101111110111111111111111111111110011111111101111111011011111111101011111111111011111110111111101111011111111010111110111101111111111111111101111011111101011111111111111011111101111111011111111111111111111101111110111111011111111111111110011111110111111111111111111111111111111111111111101101111111111111111111111111101011111111111111111111011111011111111111110111111111111111111111111111111001111111101110111111111111100111011111111011111111111011010111111111111111111110111111110111100011101111111111111111111111011110111111011111111111101111111101111111111101111110111111111111111101111111111111111110111111110110110001111001111111111111011111111111111111011111111111101011111001111111111111111110111111111111101110011111111110110110111111111111111110010111111101111111111101111111111111111111111111011111110110110111111111011111111011111101111111111111111101111111111111111101110100111111011111111111111011100111111101111111011111111111101111010111111111111111011111011011011111111111111101111111010111111110111111111111111101111111111111111111111111111111111111111111111010111111111111111111111111111111111111111111111111110111011111111101110111101101101110101111111111011111110111011111111111111111111111001111111111111110110101010111111111110111111111111110110111111111111101111111111111011111101111101110111111111111110110111111110010101111101110111110111111111111111111111111111111111011111111111111111111011011111110111111101111111111110011101010111111111111111111111001111011111111111110101111111011111111111110111111011011011111111111111101111101111101111111111111111111111111111010111110111111111111111111111101111111111111111111101111111011100111111111111010111111111111011111111110111110111111111010011111101110111111111011111101111111011101111111111111011111111011111110111101111111111111110111111111111111111111111111111010111111111111111111111111111111111101111111111111111111111101111111111111111111111111111111111111111111111111111111111111011111111111010011101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111011111111111110011111101011111111110111101111111111111111111111011111111111101111111111111100111111011111101111111111111111011111111011111010111101111111111111111011011101111111100111111111101111010111111111111111111110111111111100111111111011111111111111111110111111111111111011011111011111111111010111111111111111111111011101101111111111111111110110111110111111111011111111111111111111111111111110111111111111111101111111111111111101111110111111111111111111111101111111111111111011111111011111111111111111111111111111111011111111111111111111111011011111110111111111111111111011111111111111011111110111111111011011101111111111111111111111111111101111111111111111111111111111111111111011111111110010111111011111111011111111111111111101111111010011111111111111111101110111101111111111111111111111111111111111111111110111110111111110111111111010110101111111111111111111111111111111111111111111110111011111111111111111101111111111111111101111111111111110111111111101110111011101111111111111111111111111111101011111111011111111111101111111101110111111111111111111110111011111111101111111111111111111111011111101101011111111111111111111111111011111111111111101111111011111110111111111111111110111111111110111111011011111111011111111111111111111111111111111111111111111111111110111111111111111111111111101111110111111111111111111111111111011111111011111111111011111111111111111111101111111101111101111111111111110111101111110111111111111111111111111111101111111111111111111111111111111111111111111111011011111110111101111111111111101101111111011111111111111111110111110101101111111101111011101111111111111110111111111011111111011111101111111101111111111111111011111111111101111111111110111101111111100111001101011111001111111111110111111111011111111110010111111111111111111110111111011111111101111111101111111111110110111011101111111101111111101111111111111111111111011111101111111111111110111010110111111111111111111011111111111111111111111111111111111111111011111111001111111111111110111110111111111111111111111111111111111111111111111111101111111111111111111101111101111111111111111111110111111111111111111111110111101111111111011101111011101111111111001101111101111111111110111111111011111011111110111111111111111111111101111011110111101111111111111101111111111111110111111011111111111111111111111011011111111111011111110111110111111111111111111011101111111111101110111101111111111111111111110101111101111111100111111111111101111111111111111111111111101111011111111111111011111111111111111111111111111111001111111111111111111111111111111111111111111101011111111111111111110111111101111111011101011111111111111110111111111111111111111011101110111111111111111111101111111111111111101111010111110111110101110111111111111111111111111011110100111111111111111111111111111110111111101111011111111111111111111111111101110111111101111001111011111111101111110111111110111111111111111110111111111111111111111011110011100110101101011111111111111111111110111111111101111101111111111111111011111101101110111111111111111111111111111111111111111111111111111111111110111111110111111111111110111111101101011110111111011010111111110111111111111111111101111111111111101111111111111011101111111011011111101111111111111111111111111111111111111111111111101111111111111111111111111110111111111111111111011111111101111111111011110111111101001110111111111111111111111001111111100011111111111111101111011101101111101111111111111111101111111110111111111011111111111111111111111111011111011111011111111111011100011111111011111111111111111111111111101101101111111111111111111111111011110111111111110111011011111111111111111101011111111111010111111111110110111011111111111111111110111111111111101111111111110111011011111111111111111111111111111111111111111111111111110111111111111111111111101111111111101111111010111111111111111110111111111001111010111111011010111111111111111011111111011111101111111111111111111011111111111111111111111110111111111111110111111111110111110111111110100111110101111111111011111101111111011101110111111111111111010110111111111011101111111111110111101111111111111111111111101111111011101111111101110111111111101111111111110111111111111111111111111111101101111110100111100111111111111111111111111111111110111111111011111111011111101101101111111111111111111111111111111111111111011111111111111111111110111111111111111111111110111111011111111111111011111101110111111011101110101111111111110111100111111111111111011111111111111111011111100111111111111011111111111111101111111011111111011110101111111011111111011111111101111101111111111111110111110111011111111011111111111111111111111111111111111111111111101111111101111010111111101111111010111111111111111111101111111101111111111111101011111111101111111111101111111111111011110111111110111111111111111110111101111111101111111111111111101111101101111111111101011111111111111111010111111111111111111111011111111011111111101111011111111110111110111111111111111111011111111101110101111111111111111011111111111011111111111111111111001111111111111111111111101101111111111100111011110111111111111111111111111111110111111111111111111111111111111110111111011110111111111111111101111111110111111111111101110110111111111111111111111011111111111111111111111111100111111111111111011111110111111111011111101111111011011111110110111111110111111111111111101110111101111111011001111011111111001111110111101011111111110111011111111111111111111111111111111111101111001111111111111111110101111111111111111111111111111111110111111111101111101111111111111111111111111111111111111111110111111111111111111111111111111111111111111110111001011011011111111111011110111101111111110111111111110111111111110111110110111111111111111011111101011011111111111111011011111111111111111111111111111111110101111111111111111111011101111111111011111111101111011111111111011111011011111111101111110111101111111111111111111111111111111111011111001101101101111111111111111111111111111011010111111111110111111111111111111111111011111111001111110011111111111111111111111111111111111111111111101111111111111111111111111111101111111011111111111001101101111111111111111111111010111111111111111111111101111111111011011011111111111111111111111111111101110111101111111111101111111111111111011101111111101111111111111111111011110111111111111111011101111111111111111111111111011111111111111111111111111111111111111101111110111111111111101111111111111111111111111111111010111011111101101111011111111101110111111101111111111111111111111111111111110111010111111111111111111101111111101011111101111110101111011111101111111110111111111111111111111111111101111111001111110111111110110111111011111111110110111101111111111111111111111111111111111111111110110111111111111111110111111101111111101111111111111111111101111110111111101111110111110111111101101111111111111111111111111111011101110111111001111111111111111111111111111111111111111011110111100001111111011111011110111111111111111111011111111111111111100001111111111101111111111111111101111111111111111111111011111110111111111111111011111111011011111011111111111111111101111111111011101111010111111110101111111111111111111111111011111111111111111111111110111111111111111111101111111111111111111111111111110110101001110111101111111111011011101111111111100001111110111101101111011111111111111111111111111111111111110111111111101111011111101111111111111110111111111011111111111111111111111101111111111111111111111010111111011110110111011111111101111111011111110111111111110111010111111111101111111111011111111111111111111101011110111111111111110111111101101101110111111111110111111111101111110110111111111110111110011010111011101110111110101111111111111111111111111100111111111111111111111111111010111111111111111111111111111111011111111111111111111011111011111101111111111111110111111111011111111111111111001111111101111111111111111111111100111111111111111111111111111111111111111111111011111111110001111101111111111111111111111111111111111111111111111111111111111111111111111111111001111000111111011111111111111011111111110111111111111100111111111111111111110111111111111101101011111111111111101111110111111111111110010101111111111111110111011111111011111111010111111101110111111111111111111111111111111011111111111110111111111111111111111111111111111111111111110101101111110111111011111101111111101111111111111111111111111011111011111111111110111011011110111111010111110101111111111101111111110111111111111111110111011111111111110111110111101101111111111101111110111111111111111111111111111111111111110101111111110111111111111111111111111111111111111111111101110111111011011111111111111111011111011111111111111100111111111111011111101111111111111110110111111111111101011111101111110101111111111111111101111111111101111011111111111101111111111111111111100111111110111111111111110111111111110111111011100111111111111111111111111111101111111110110111111111111111111111111111111111111111011110111111111101111111111111111111111110111111111010111110111111101111110111111111110111111111111111111111111111111011111111011111111111111110111111101111111111111111110111111111011011111011111111101100111111111111011110111111111111101111110111111101011111111111010111110111111111111110111100110111111111111111111101111111111111111111101111101111111111111111011111111111111111111111111111110111111111111011111111111111101111111111111111111111111111111111111110111111011100111100100111111111111101110111111110111011111111111111011111111111111111111111111111101111111111101111111111111111111111111011101110111111111011111111111101110111111111110111111111111101101111011111111111111111101111111111110111101111110101111111111111111111100111111111111111110111111111110111111101111111111111110111111111111111010110111101111011111111111011111010111111111111111111100111111111111110111101111111001111111111111111111101111111111111111111110111111111111111011110111111111111111111010110111111111011111111110111111111101110111101101111111111111111111110111111110110111111111101110101111111111010111110011111111111110111111111010111010111110111110101110101111101001111111101111111011111111111011111111011111111111111111101111111111111111011101111111111111111111011111111111111011111111111010011111111111111111111110011111111110111111111011111111111110111111111111101111111111111111111111111111111101111111011111101111111111111111111110110111011111111111110111111111111111111111111111111101111101111111110111111110111111111110111111111010011011111101111110101111111010111111111111111111111111111111111101111111111111111111011111101111111111011111111011111101111111111111111110111111111111110101111111111111111111101110011110111111111111111111101010111101111111111111111111111111111011001111111111111111111011111111101111011111111111111111111111111001111110101011111011101111111111111110111101111110101111111111111111111111111011111111111111111111101111111101110111111111111011111110111111111111111011111111111111110111111110111111111111010111101111111111110111101111111111111110111111011111101011011111111111111111111011111101111111111111011111111011111111111111111110111111011111111111111111111101111110110111111111110011011011111101111111101111011101111011111111111011111111111111011111101110101110011011110111111111111111111111110011111111111111111110101111111111111111111111111110111111111111011111111010111111111111111111111111111100111101111101111111110110110101111111111111111111011110110111101111111111110111111110111111111111111100011111111101111111111111111011111111111111111111110110111101111111101111111111111111111101111111111111111111111111111111111111111111111101111111111101111111111111101101111011111101011011111111111111011111111111111111101111111111111111111101111110011100111111111111111111111111111111111111111110111101111111111111111111111111111111110111101111111110111110110111111111111111111111111110111111111101111101111110011111110111110111111111011111111101011111111011110111111111011111101101111111111110111111111111111111111011111110111111111111110111111111110111111011011111110111101111111101111111111111111111111111111111111111101111011111111011111111001011111111111111101011111111111110111111011111111111111110111010101111101110111111111101111101111111010110111011111111111111111111111111111111111111101111110111111111111111110111111111101111111101111111111111111111111010111100110011101111110110111001111111110111111101111111011111101011111111111111111011111110111111111111101111111111111110111011110111011111110011111111111111111111101111111000111111111101111111111111101011111111011111111111111111111111111110011111111111111011111110111011111111111111011111111101111111111011111101011111111111111101110111110011011111111111111110011111111110111011111111111111111111111110011110111111111111110110111111110111101011111111111111111111011111111110110011111011111111111110101111111011111111111110111111111111011111111111101111101111111111101111111111110101111111111110110111110111111111101111111001011011111111111111111111100111111111111111111111011110111111111111111101111111111101111110111111111111110111111111110110111111110101011111111111011111111011111111110111101100111111111101110111111111111111111111111110110011111111111011111111111101111111111011111110101111111111111010111011111101010111110111111111111011100111111111111111111111111111111111011111111111101111111011111111110111101111111101011111111111111111111110101110011111111111111111111101011111111101101111111011111101111110001111111111111110111111111111111111111110111111100011111101111111101011011111011111111101111110111111011101111011111111111101111010111111101110111110111011110111111111111111101111111111111111111111111111111111111111111111100111111101111111111111111111111111110111111111111111111101111001110101101111111111111111111111111111101111111111111101111111101001111111111111111111111111110111111111111111111111111101111111111111110010111101110011111011111111111111111101111111111111111111011111111111111111110111100111111111011111110111111000011011111111111111111111101101110111111100011101111101111111111111111111110111111111101111111111011111111111111110111011111111111111111111111111101111111101111011101111101111111111011111111111101101111111111111111011111101001111110111111111111011111111111111111110111110111111111111001111111011011111011111111111111111111111111010110111111111111111111111111111010111110111110011111111111111111011111111111111101111101111101011111111111111011011111111101111101111111101011111111111111111011111011111100101111111110111111111111011111011110111111111111011111111111111111010111111110111111110111111111110011011111101101111011111111111111111111111111111111111111111111111111111111111111011010111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101110110111111111111111111110111111111111001111011111111111111111111100111111111111111111101111111111111111011110111011111111010111111111111111111111101111111111111111111111111111111111111111111111111111111110111111111111110111111011111110110011111111011111111111110111111101111011001111111111111101111111011110010110111111111111111111111111101111011111111110111011011111111111111111110110101111111001011111101111111111111111111111111111111101111111111101111111111011111010000111111111110100111111101001111111101111111111111110101111111111111111111101111111111111111111111111111011011111111111111111111111111111101110111110011111110110110111111111011101111111111111111111111111101101111111111111111111111110111011111111111110111111011011111111101100111111111111111111011111111111011111111101100111111111111111111010111111111111111111111111111111111111110111111101111111001111111111111111111111111111111111111111111111111011111111010111011111111111111111111111011011011111111110111111011111111011011111111111111110100111100111111111111111111110111101111111110111111111101101111110111111110111111111111111101111111111101011110111101101010111111011111011111111111111110011111111111111111111111110111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111011111111101111111111110011110101101101111011111111111011111111111111011111011110111111011111111111111110111111110101111111110111011111111111111110111111111111111101111111111100110111101101111111111110111111111111111111111111111010111111111111111101111101110111111111111011111111111111111111111111101111111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111101111111111111111110111111111111111111111111111111111111101111111111111111110111011110100111111111111111111111111011111111011111111111111111111111111111111111111111101111111110111011111111101111110111111101111111111101111111101111101111111111111111111111111111111111111111111110110111110111111111111110111011111111111111101111111111111111111111011111110110101111111111111110111111111011111110111111111111111111110111110101111111111111111111011111111111111011101111111101111111110101111111111111110111111101111111110111101111111111111111111111111111111101111111101111111111110111111111110111101101111111011111101111110111111111111111111110111111111111111111111111111111111111111111110111111110111111111111101111111111111011111111111111111111111111011111111111110111101111111011111101011111111111010111111101111111101111111111111111010111111111111100111111101111111111101111101011111110011111111111111011111011101111111101101111110111111111111011111011111111111110011111111111111111101111111111011110111111111011011111111111111111111111111111110011111111111111111110011111111111101111110111110110111111110111111101110111111111011100101111111111111111111110111111111111001111111111101111111111111111111111111111111111110111111101011111111011111111111111111111111111111111110111111111011111101001101111111111111111111111111110111111111111111100110110101111111111111111111111011111101110111111111011111111111111111111011111111111111111111101111111111001111111100111111111111111111110111111111111111110001111111111110111011111101111111111111111111011111111011111110111110111111111111111111111110111111011101011111011111111111111111111111111111101111011111111111111001001111111111101011111111101111111111101111111101001111111111111111111111111110111111111111110111111011110101110111111111111001101110111111111111011011111111111111111101111111111111101101011111111111111111111111010111101111111011011110111111111111111111111101110110101101101111111101011110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101101010011111011111111111110011110101111111111111111101000111011110111111111011111111111110011111111111111111111111100111110111111111111111110111111100101111111111111111111011111110111111111111111111111111111111110101110111111111111111110111111111111111011111111111111111111111111111011111111010111110111111111111111111111111111111111111111111101110111111111111111111001111111111110111111111111111111111111110111110111111111011111111111111111111110101111111111111111111111011111011111111111111111111111111111101111011111101101111111111111111111111111111100110111111111111111111111111111111111111101111111111011101111110111111101011111101111111111101111111111111110111110111100111111111111111101111111111111111111110111111110111111100111110111111111111111111111111101101110111111111111111111111111111010111111011111111111111011011111111111111110111110011111111111001111110111111111111111111110111101111111111111111011111111111011111111111111111011111111111111111111111111111111111111111111111111111111111111111111111101111111110111111111111111111110011111111011111111111100111101111111111011111111011111111111111111011110111110111111011111111111111101101111111101111111111111111111011111111111111110110111011111111111111111111111111110111110111010111111111111011101110111111011111111101111111111101111111110111101111111111111111111011110011011111111101011111111111111111111111111111011111101111111101111101111011111111111111011111111111111111101111111110010111111111111111111110111111111001011110111101111110111111111111111111111010101001111111111011101111110111011111011111111111111111111111111101111110111110111111110111101101111111101111111111111111101111111111111111111111111111101111111111111111111101111111101101111111111111110111011111111111110011111110111001111110111110111111111110111111111011110111111111110111111111111111011011011111111111111110111101111111111111111111111111111110111010111111111011001111101011110101111101111111111011111111111101111101111111111111111111111111111111111111111111111111110111111111011111111111011011111111111011111111111111111011011111111111101111111111011111111111111111111011111011111110111111111111111111011110001101111111011111111111110111110111101111111110111101111011111011111111111111111111111111101101101111111101111011101111111011111111111111011111111111111111010111111111111010111101111011110111111011111111111111110111101111111111111111111111111111111111111101101111101111011011111111101111111101111111111111111111011111111111111101111111111111110111111111110111111111111111111111111111111110111011111111101111111001111011111111111111111111111111111111111111111101111111111100111111111011111111111011111111111111111110110111111111110111011111111111111111101111111111111111111110111111111111111111111101111111111011111111111111111011111111111111111011110111110111111111101111111110101111111100111011111111111111111111111111111111111011111111111111101111111111111111111111111110111011111111111111111111101101111110111111111111111111111111111101111111111110011111111111101111011011111110101111011111111111111111111110110111111111111111111111111111111111111111111101111111111101111111111111111111111111111111111111011111111111111111111101111111111111111111111111111111011111111111111101111111111110111111011111111101111110111111111111111111111010100011111111101111111111110111111111111111111111111101111111111111101111101111111111111111111111111111011111111111111111111111111111111111111101101111011111111111111111111111111111111110111101111111111111111110111100111111111111111111111111100111111011111101111011111110111111001111111111110001111111111111111111111100111101111111101111011111110110111111101111111111111111111111001011111111111101111101111111110111000110001111111111111111010111111111111101011111111111111111111111110111111111111111111111111111101111111111111011111011101111111101111111111111101111011111111111111111011111011101101111011111111111111111011111111111111110111111111111111111111011100111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111101111111111111111101101111001111111111111111111110110011111111111110111110111111111111111011111011011101111100111111111111111111111111101111111111111111111111111111111111111111100111111111111111111011111111111110111111111111111111110111111101111101111011010111111111111111110011111111111111111101101111011111111111111101111111111111111111111111111111011110111111111111111111111111011011101010111111111111111111111101111111011110111111111111110110110101111111111111111110111101111111111110111111111111011011110110011111111111100111111111111111011111101110111110111011111110111111111111111111101111111111111111101011011111111111111111111111011111101111111111111011111111110110111111111110111111111011111111111111101111111111111111111111001111111101111111010111111101111111111101111101111101111111111111111111111101111111111111111111111011111111111111111111111111111010111111110110110111110111111111111111111111111011111111100111110111110111111111110111111111111111111111101001111111111111111011111111111001101111111111111111111011110110111111111111111011111001101111111111111111111111101111111001111011111111101011111111111101111111101101110111101111111111111111101011110111111111011111111111111111111110101101001111111111011011101111111110010111111011111011110111111011111111110111111111110111111111111111111111111011110111111111010111111111111111111111111101111111011111111111111111110011110101110111111110111001101111111111111111111111111111111111111111111111110111111111111101001111111110111111111111111011111111111111101011101111111111111111111111011111111111111111111110111111111111111111111011011111110111110111111111101011111011011111111111111111111111111110110111111111111111111110111111101111101111111111011110101110111111111111111110111111111111111111110011001110111111110111001111101011111011111111111111011111111111111111111111111111111111111100111011111111111111111111111111111101110111111111111111111101111111111111011111111111111110111101111111111111100111010101111111111111111111111011111111111111111111111111110101111111111111111111111111111111111111111110101111111110111111011010101111111010111111111111111110111111110111111101111111111111111111111111011101111010111011111111111111011110111111111111111010111011111111101111011111111111111111111111100111111101111111111111111111111111111111111111111110111111111111101101011111101111110110111111110111101111111111111111011111111111111111111111001101111101111011111111111111111111111111111111111111111011111110111111111111011111110111111111111111101111111011111101111011111111111101111011111011111110111111111111111111111110111111010110111111110111111111110111111111111011111111111111011111111101111111111111111111111111111010111111111111111111111111111111101111111110111101101110101111111110101111111001111111111111111011111111111110111111111111111111111110111111111111110111111101111111111111111110111111111111011110101111111111111111111111111111101111111111111110111111111111111111111111110111111111011111111111111111111011111111110111111110111111111111111111101111111111001101101111101111111111111111111111111111111111111111111111111111111111111111111111111110111110111011111111011111111111101111111111111111111110111111111111111011111111111111111111101111111101111110101111111111111111001111110110110101111111101111111111111111111111101111111111111111111110111110111100111101111111111111111110111111111111111111111101111111011111111111111111111111111111111101111111111111011111111111111101101111010111101110111111110111111111111111110111111111111111111011011111101111101111111101101101101111011011110111110111111111110011011111011111111111101111111111011110111111111111111011111111111111111111111111111111101111111111101110111111011111111101111111011111111111111111111111110101111111111111111101111111111011111111110111111111111111111111111111111111011111011111111101111100111111111111111111111111111111011111111111111111111111000111011111011111101101011111111111111111111110111111111111111010111011111111111111111111111111111111111111111111111111111110111111111111110101111111111111111111111111111111111111111111110001111111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111110111111111111111111111011111111111111111111111111101111111111111011100111111111111111111110111110111111111110111111111111111100111111111111111111101111011010110111111111110111111111111111111111101111111111111111011111110111111111111111111111110111111111011111111101111111111111111111111111111111111111111111111111111110111111111111011011101111111111111111111111111101111111110011111111111001111111111111101111111111111100111111111101111111101111111111111111111111111111101111111101111111110111111111111110111111111110011111111101111111111111111111111111111111111111011111111111110101111111011111011110111111111111111111111110111111111011111111101111101111111110011111111111111111110101111110011111101110111111101111001111111111111111111110011111111111111110111111111111101111110111111111011111100111111111111110111111111111101111111111111111111111111111111111111101110011111011111111111101011111111111111111111111111111111110111111111111111111111111111111111111111111111111011111111111111111101101111111111111111111101111111111101111111111111111110111111101111111111011111111111110111111011101111111111110101111111111111111101111111111111111111111111111111111011111111101111111111111111111011111111111111111101111111111111111111111111111111111111111111111011111111111111111111111111101110101111111111111111111111111111111111011111101111111111110111111110111110111111111011011010111111111111111001111111111111110111110011101101101111110111111111101111111111100111111111111111101011111111110111101111100111111111111111110101111111111111111011110111111111111110111101110101111111111111111111111111111111110111111111111110111111111111110111111111111011011111111111101110111101101111111101111111111111111111111011111111011101111111111111111111111111111111011111111111101111111110111111111101111111111101001111011111011110111111111111111111111110111101111011111111111111111111011111011110111001111101011111111101011111111111111111110111111111011111111101111010111111111101111111111110111110111010111100011111111111110111111101111111111111111111111101111101101111111110111011111101110111101111111110111111111010111111101111111010111111111111101111111111111110111011011111111011101111100100011110111111110110011111111111111111111111110011111010111111011110110111111111111111111111111111111111111111110111111111111101110111111110111111111111111011111101110111111111101111110011011111101101111111111111111110111111111111111111111111111111111111111001111111111101111111111110101111110111111110111111111110111111101111111111111111111111110111111111111111111111110110010111111111111111111011111111110111111111111111111111111111011111111011111111111111111111110111111111111110111111011111111010110111111101010111111111111101011111111011111111111111110111111111111111111111111111101111111110111111101111111111111111111111111111110111101111111101111111110101111111110111111101111111101110111011110001111011111111011110111110111110110110110111111111111101111111110111111111111111101111111111111111111101110111111101111101110101111111011111111101110111111111111101101111111101111111011110111111101011111010011111111111111111111111111111111111111111111111101111011111111111110111111011111001111001111111111111111111111111111111011111111111110111111101111011111111011011111111111111111101111111011111111110111111111111111111100111111101111111111111111100111111111111111111111110111111110111111111111111111111111101111111111111111111111111111111011111011111111111111111111111111111110111011111111111011001111111111111111111111111101111111101111111110111111111111101101111101111111111111101111111110111111111111111011101111111110111111111111111111111111111111111010111111110111111011111111111111111111111111111111110110111111111101111111111011111111111111111111111011111111011001111011110110111111111011111111111011111111111111010011011101101110111111101111111111101111111111111101111111111111101111111111111110111111111011111111111101111111111111111111111111111111111111111101111111111111101110111101111111011111110111111101111111111110111111111101011111111111111111111110111011111111111111011111111111011111111111101111011111111111111011111111111111111111010011111111111101111111111110111111111111111111111111101111111011111101111011110011111111111111011111111111100111111111111101111111101011110111011111101111111111111111110111101111010111011111110011111111111101101111111110111111111111111110100111111111111111111111111111101110110111111111111111111111100111111111101111101111011111111011111111111111111111111111011111111111110111110011111111111011011111111111111110111111101111110011111101111101111111111101110110111111111011111111111110111111111111001101111111111111011110110111111111111111111111111111101111111111111100011111111111111011111111111111111110111111101011111111111111011111111110011111111111111111011111111111111111111111111110111111101101111011111111111111011111111111111111111111111111111111111111111011110111110110111101111111110111111111111110110101111111111111111111111111111111111111101111111111111111110111101111001111111111111111111110111111111111011110101111011011011111111111111111111111101111011111011111101011111111111110111110111111111111111111010111111101111111011111111111111111111111111111111111111111111111111111111111111111111101111011101110111111011111111111010011110111111111101111111111111111011111111101011110011110111101101111111111111111111111111111111111111100111101111111111111111111111011111111111111011111111101111111110110111111111111111011111111111111111111111111111111111111111110111110111111111111111111111111101111001111111111111001011111111111111110110111111101111111111111111111111111111111101011011111111111111111101111011111111001111111111110111111111111111111111111111111111111111111111111111111111111111111111100111101111111111111111111101111011111111111111111101111111111111111111100111101111001011111111101111011111111111111111111111111111111010111111110111111111111011111111111101111101011111111101111111111111111111110111111101111111111110111111111100111111011111011011111111011111111111111111111101111011111011111111011101111110111101111111101111111111101111110011110111111111111111111111011110011101110111110111111111111111111011111111101111111111111111111110110111011011111110111111111111111110111111011111001110111111111110101111111111101011111111111111111110101111101001110111110111111001110111101110101111111111111011111110001111111111111110111110011111101111011110011111111111111111110011111110111011111111111111111110111111111101111111111011111111111111111111111111110111111101111011111111111100111111111100111111101111111111111111111110111111111111111111011110111101111111111111111111101111111111111111111111111111111110111111111111010111111110111111111111111111110111111111111001101111101110111110011111011111111101110111111111111101011101110111111110111111111101011111111111011111011111111111110001011101111111111011111111111111111111111111111111111111011111101111111111111011111111111111111111111111111111111011111111101001111111111111111111111111111001110111111111111111111111101111111111111111111101111111111011111111111111011111111111100111111111111111111111101111111111011111111111111111111111111101111111111010011110111101111111111011111111011110111111110111101010111111111001110111111111110111011111111111110111111101011011111101110111111101111111111111110111111111111111111111110111111101111111111111111111111111111111110111111111111111111111101111111111111111111111111111111101111111111111111111111111111111111111110111111111111011111011111111110111110111110111111111111111111101111111111110111111111111111111101111111111111111111111111110000111111111101111111111111111111111111111111111101111111111111111111111101111111111111111111111101111111111111110111011111111111111101111111111111101111111111111110111011111111111111101111011111111111101110111111111111111011111111110111111111111111111111010110111111111111111111111111101111101111111101111111111111111111111110111111111111111111101111111111111111111110111111111110011101111111011111111111111111110111111111111110111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111101111001111111111111111111111111111110111111110111010111001111111111101111111111111111111101111110111111111011011111110111111111111110111111111111100111111011111111111101101111011110011111111111111111111111111111110111111011111111110111111111111111111111011111011111111111001111111111111110111011011111101111111111111111111111111111111011011110111111111111111111111111111111111101111111111110111111111111111110110111111001110111111101011111111001111111111111111111111111111110011111111111111111111111011111111111101111011111111011111010111110111111111011111111111111111111111111001001111111111111110111111111111111111110111111111011111111111111111111111111111110111111111111101011111111111111111011111111111101111011101111111101111111111111111111111111101111111101101111111111111111111111111001111111111111010111110111111111111111111111001111110111110101111111101111111001011111111111111101011111110111111111011110111111110111111111000111111111111111111101011101111111111111111110111101111111111111111111101011111111111111111111111101111111111111111111001111111011111100111111101111111111011110011111111111111111111111111101111111111111011111101011110111111111111111111111110111011111111111001111010101111111110111111111111111111111111111110111111111111111110111111111111111111111111101101111111111111101111110111111101111111111111111111011111111111111111111111111111111101010011111111111101111111101111100101101111011111110111111111111111111111110110111111111111111101111001111111111111101111111111011111110111111111101111111110111110111111111111111111111111111101111111111111111111111111111111111111111101111101110111110111111111101101111111011111111111111111101111111111111111111111101111011111111111111111111111111110100111111111111111111111110111111111101111111111111111111111111111111111110111111111101101011111111110111110111111111111111011011101011111111111111111111111101111111111111110101111110110111101111111111111111111111111111111011101111111111111111111111111101011111111111111111111111111111111101111111111110101111011111111011111110111111111011011111111110111111011101111111111111111111111110101111111011111111111111111110101110111110011111111111111111111111111111111011110111110111111111111111111111011101111111111111111111111111111111111111111010011111111111111111101110111111011111111110111111111111111111111111101111111111111111111111101101101111101111111111111111111111111111111111101111100111101111111110111111101101111111111111111111111111111111111111111111011111111111101011111101111111111111111111110111110111011011111111111011111110111011111111111111111111111011111111111111111110111111111111111111111001111111101111111110111111111111111111111111111010111111111110111111111111111111101111111111110110110111101011111111111111011111111111111111111111111111111110111111111111111111111111111111111011111111011111010111110111110011111111111110110111101111111111111111101111111101111101111111111111111010111011101101110101111111111111101111111101011101111111111111011110111101101111101111111101111101010111111110111111101111111011111111011111111101111111111011110111111111111101111110111111111111111111011111111011111111111111111111111111111110111111111111111111110111101100101111111111101111110111101111111111111111111111111111011111110111110111111111011111111111111111111101111101111111111111111111111111110111111111111111110111110111110111111111111111111111111111111111111111110011111111001111111111111101111101111111111111101001111111111111111111101111111101111111110111111111100111111111011110111110111111111110011111111011001011111011111111111111111110111111111011011101111101111111111111111100110111111111111111111111111111111111111110111111111111110111111111101010111111110110111101111111111010101101111111111111111001111111011111111111111111101011001111110110101111111011111101111101111111101111111111111011111111111111111111101111110011111111110111111010111111111011111111111111111111111111111111111111111111111011111111111101111111111111111111111111111111111111111111111111111111111111111111011111111101111110011111111111011111111111111111111111111110111110101111111111100111010111110111111111111101111111111111011011110101111110111101111111111111111111101111111111111110111111111111100111111111111011111101111111110111111111111111111111111101111111101111101111110101011111111111111111110101111011101111111111111111111111111011110111111111111111101111111111111111110111111111010111111011111111111111111110011111011111101011111111111111111110111111111111111111111111111111011001111111111111111111111111111111111111101111111111011111111111101111110101111111111111111111111111111011110111010111101111101110111001111111111111111111111101011001011011111110111110111111001011111111111110111101111101101111111011111111111111111111111111111111111111111101111011101011111111101111111111110000111111111101111111111111111111111111110110111111111111111111111110111001111111111111111111111111011111111111111111111111111111111101111011111111111111101111111111111111111111111101111111110111111111110111111111111110011111111011011111111101011101111111111110110111001111111110111111111111111111101110011111111111110001111010101111110111111111111111101111111111111111111111111111111110111111111111111111011111011111111111111111111111101111111111011111111101111111111111110111110111011111111111111111111011011111111111011101011011111111111111111110110111111111110111111111110111111111111111110011110110110111011101111111111111111111011111111011111111111111111111111111011111111111111101111101011011111111011111111111111111011111111101111111101110111101011111101110101111111111111101110111111111111011110111111111111111111011111111111111111111110111111111101111111111111111111011101111111111111111111111111111111111111101111101111111110111111111110111111110111111111111111011111111111011011111111111111111111111101111111111011100111000111111011111111110111111111111111110011110111111111111110111111111111111111111111111111111101110110111111111011111111111111111111111011111111111110111011110111111111111111111111111011111111111111111111111001011111101111111011111111111111111011111101110111110101011111111111111111111111101111110111111110011111111011111101111101111110101111011111011110111011111111111101111111111111111001111111110111011111111111111111111111010111110111001111111101111001101110011111111111111101011111111001111111111110111111111101111111111111101111111111111111111111111111111111111111101111111011111111110111111111011101111101111111111110111111010011111111111111111111111111111111111111111111111101011111111111111111111111111111111101111101111111111110111101111101111111011111101111111101111111111111010111111111111111111111111011110110111111010111111011111111111111110111001111111011111111111101111011111111101111001101100111011111111111111111111111111111111111111111111101111111110111111111111111111111111101111011101101101111111111111111111111111110111111001111111111101111111111110111101110110111111111111111111111011011111111011111111110111110111111111111111111101111111111111111111111111011111111111111111111101111000111111111111111101111111111111111111111111101111111111111101111111111111111111101111111111111111111111111101111101111111111111101111100111111111111111111011111111111101111110111111111111111110111111111111111011111111110001111111111110111111111111111111110111111111111111111101111111111111111110110111111101111111111111101110111011111111111111111010111101111111111111011111111101111111110111111111111001111111011111110011111101111111111111101111111111011111101111111110111101111111111111111011111111111111111101111100111111100111111111111111111111111111111011101111111111111011101111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111101111110111111111111101011011111011111111111111111101111111111111101111111111111111111111111111111110001111111111111111110001011101111011111110111111111111111111110111111111111111111111111111111111111111111011101011111111111111111111110111111111111111101110101111111011111101111111110111111111111111111111111111111110110111100111111111111111111111111110111111011111111111111111110001111111110111111111101111111111111111111111111111111111111111111111111111111111111011111111111111011111111111011110111111011111011111111111111111111111111111011111111111111011111111101111110111111111110111101111111110111111110011101111111111111111111111111111111101001101111111111111101111111111111111111111111101101101111011111110111111111111111111101111111111111100101101111111111111110010111111111111110111111111111111111111111111111101111111101011111111111111111011101111111111111011111111111111011010111111111111111111111111111111111111110111111111111111101111111111111111111111101111111111111111111111111111011011111111111110111111111111111111111111111111010111111111101111111111111110111111011111111111111111111111111011101111111111101111111111111111101111111011111111111111111111111111111111101111010111101111111111111110111101111101111111111111111111001111011111111110111101101111011111111011111111111111111111111111110111110111111111111110001111110101101111111111111101111111101111100011111110111111111111101111011111111111111101111111111101111111011111111111111110101111111111111111111111111111111111111111111111111111111011101111011111111101111111111111111111111111111111111111011111111111111111111111111111111111111111111101111111111111100111101111111101111111111111111111111111111011111101111111110111111111111011111111011111111111011111111111110111111111111110111111111111111101101111111111111111111110111111011111111111111111111111011110110111111111111111111111111101111111111111111111110111111111111111011111111111111110111111111101110111111111001111111111110111011011111111111111110111101111111111011111111111111111111111111111111111111100111011111110111111111111111111101111111111111111101111111111111111111111111111111111111101111111111111111111111111111111110111101111111111111111111111111111101111111111111111111111111111111111111110111111111111111111101111101111111111111111111010111111111111111111111111111110111111111110111111111101111111111111001101110110111111011111111011110111100111111011111101111111111101111111111011111011111111011111111111101111111011110111111111111111111101011111111011111111111111111111111111110111011111100111111111111111110111111111111110111111111111111111111111110111010011100111110110111111111111111111111111111111111111111111101100111111111111101111111101111111111111111111110111111111111111111111111111111111111110111111110111111111111111111101011110111111111111111011111111011111111110110111111111110111110111110111111111110111111111111111011111111111111111100111010011111111111111010111111011111111111111111111110111111111011101101111111111111111111101100111111111111101101111111111111111111101011111111101111111111111111111111111101010111011110111111111111011011111111111111111111111111101111111111100011111111101111101111110110111011111011111111111111111111011111111111111011111111111111111111111111111111111111111111111111111111111011111111111111111011100110111111111111111101010111011111111111111110101111111100111111010001111111111111111110111111111110111101111111111111111110111111111011111111111111011110111011101111101111111101101011111111111101110111111111011111111111111110111111110111111111111110111011100111111110111111111011111111101111111111111111101111111111111111111111111111111111111111111101111111111111111111110110111111111111111111101111111110110111011111111111111110111111111111111110111111111111010111011010111111001111111111111111111111111101111111111101111111011111111111111111111111111111111110111111101111111101111111111110111111111111111111111111011011111110111111011111110111111111111111111111111111111011011111111111110111011101111111111011111110111111111110110111111111111111111111111111111111111111111111111111111101111111111111111111101111111111111111111110111111110111111011111111111111101111111111110011111111111111111111111111111110101111111111111010111101111111111010111110111111111111111111111110111111110101111110111111111110111101110111011111101110011111111101111111111100111111111111111110111011111111111110011011111111111110111111111111110111111111011110110110110011111110111111111111111111011011111111110111111011111111110111111111110110101111111001111111111011111111101101111111011111110111111111101111111111111111111010111011111111111101111111110111111011111111111110110111110111101010101111111111111110101111111111111111111101111010111111111011111111111110111111111111111101101111111111111010101111111011111110111111111111111111111111111111111111111111111111011111111111111011101111110111111111111111111111111111111110011111111100111111111111111111111111111111111110111101101111111111101111011111111111111101110111111111111111101110111100111111111101111111011111110111111111111111110111111111011111111111111111111111101101111111110111111010011111111111111111111011111111111111110111111111011111111111111111111111011111011001111110111111111010111001111111111111011111111111111111101111111111111111111011111110010111111101111111011111110111111111011011111101111101111111111111111111011111111111111111111111111101101011111111111111111110000101111111011110101011111101100111111111111111111110111111111110110111111111110111111111011110010111111111111111111111111110111111111110111111111011111111110011101111111111101110111111111111111111011111111111110111111111101111101101111111101111110110111111111011111111111111101111111111010111111111110111111101111111111111111111111101111101101111111111111111101011111111111110111011111111111111101111111111111111111100111111111101011111101111111111111011111001101111111110111111111111111111111111111111111111111110111111111111111111111111111110111111111111110111111111111111111111111111111111110011111111111111011111111111110011111111011111111111111111111111101110111111111011111110110011111111100111101111111110011111111111101111111111101111111111101101101101111011111011111111111111111111111111111011111111111111111111111111111111111111111111101101111011100111111111011111111111111001111101111111111111011111111110111111111111111111101111011111111111111111111111111111111111111111011101111111111111111110111111111111111110111111111111111111111111111111110111111111111111101111111110011111111011111110111111111111111111111111111111111111111110111111111111111111101110111111111000111111101111111111111011111111111111111110111110101111111111111111111110011101111111111011111111111111111010111111111111111111111111111011111111111111111111111110111111110011111011111111111011001111110110111111110111111110011111111111111111101101111111110011111111111011111111110010111111110110111101111011110101111111111011111111111111001111111111111111111101111111111111110101111111111111111111111111111111111111011110110111111111111111111110101111110111111101111111111110111111111111110111111111111111111110111101111110111111111111111111111111111101010111111111111111110111111111111110111110111111101111111111101111111111111110110111111111111111111111111111111111111011011111011111011011111111111111111111111111011110111111111110101111111111111111111110101111111111101111010111101111111101111111111111101111111111111111111101111111111111111111111111111111110111110111011111111111111111111010101111011111111111011111111111110011110111101111111111111111111111111110111111111111111111110111111111011111111011110111011011111011111111111101111111011101111111011010111110110111111111111011111111111111111111111111111111011101111111111111111011101111111110100011110111111111111111011111011111111111011111111011001111111111011110111111111111101111111110111111111101111111111111111111111101011100101111111111111111111111111111111111111111111110111111111101111011111111111111111101111111111111111111110111110110101011111101111110111100111111111111111111111111111111111101111011101111111101111111111111101111111111100111111111110111011111110111111111111011111110111111111111111111011111110111111111111101111111111111110111101011101111111111111111111111111111110111111011111011011011111011111111101111111111111111101111111111111111101101011101111111111111111111101111111111111111011011111111111111110111101111111111111110111111111111111111111111111111111101011111111111111111110111111111111111111111111111111111011111111111111111111111111111111111111111111111111111101111110111111100111111111111101111110111111111111111111111111110111011111110111110111111111110111111111111111101111101101111110011111111011111111111101111111111111101111111111111101111111111111111111101101111111111111111111111111111100111111111111111111111111111111011111011111111111011101111111111111111111111110101111111111111011111111111111101111011111111111111111111111111111111111111101111111111111111101111111111111101111111111111111111111111001111111111001111011100111111111111111111110110111100011101111111111111111110111101111111111111101111011111111111011011111111111111111111111100111111101111111111111111111111111111111111111101010111011111101110111111111111111111111111111111111111111111011111111111111110111111110101111111111011111111111111111111101111111111011111111111111001111111111101101001111111111110111111111111111001111111101111111111101111011101111001111111111111101001111111010110111110111111110101111111011111111101111111111111111111111111011111101111111111111110111111111111111111111111111001111111110101111111111111111101111111111111111101111111111110111110111111111111111101111111111111111111110011111111111110111111111111111111110111111111111111111101111111111111111111111111111101111111111111110010111111110111011011111111111111111011101101111111111111111100111111111110111111111110111111111101111111111111111111111111110111111111110100110011111111011111111111111011111111111101111101111111110111111111111111111111111111111111111111111111111110101011111110111111111111101110111011111111110111111100111100111111111111111111101111111111111101111111111111111111111111111111111111001011111110111101110111111011101111111110101111111111111111111111111111011111110111111111011111111111111111111111111111111111111111111110110111111011111111111101110111110101111111111111111111111111111111101111111111111011111111111101111111111011011111011111111111101111111111111111011111111011010111111100111111111111111111111111111111111111111111001111011111111111111100111111111111011111111111111011101101101101111111010111111111101110101111111011101111111111111111111111011011111101111111111111111111111111111111011111110111111011111111111111110011111101111111111011110111111111111111101011111101111111111111101111111111111110111111111011111111111111111110111111011111111110101111111111110100111111111111101111111111101111111111111111111111111111111111111111111111101110111110111111111111100111111000111111111110111110101111111110001101111111111111111110111111111101111111111111111111111111011101111111111100111111001100111001111111010111110011101101111110111111111111111111110111111110100111111111111111111101111111101111111111111101111111010010101111101111111111111111100110111111111111111111111110110111110111111110111111111110111110111111111011111111100111111111101111111111101111101111111111111111111111101111111111111111101111111111100111110111111111111111111111011111111111111111111111111011011111110111111111111111111110111111111111111111111111111111101111111111111111111111011111111110111111111111111111111111111101111111011111111111111101111111101111111011111101101111010011011111111110111101111111111111111111111101011001111111010110111011110111111111110111111111111101110111110111111111111111111111111111101111110111110111111111111111111111111100111111111111011111111111111111111111111110111011111111011101011101011111110011111111111101111110111111111111111111111111111101111111111011111100111101110101111101111101111111111111111111110101111011100111111111111111111101101110111111111111001111111011111101111111111111111111111111111111111111111111111011111111111110111111111111111110111111111111110111111111111111111111011111111101111011111101110001111111111111110101111111111111101111111101110101111111111111111111111111011111111111101111111111101011111111111111111111111101111111110101110111111110111111111111111111111110001011111110111101111011111101111111111111111111111101011011011111111111111111111110111111100111111110111111111011110111111111111111101111111111111111011101110111101101111111111011111111110111111010111111111111101111111111110111111111111011111110111111111111111111111011111111111111111011111111111111011101111101101111111111111111111111011111110101111110100110111111111111111111111111101101111101111111110111101001111111111111111111111111111111111011111111111111111111101110011111111110111111111111111111110111111111111111111111111111011101101111111111111111111011111111111111111110111111111010111111111111111111111111111111011011111111111111110111111111111111101111111111101111101111111101111011111111111111111111111111101101111101011111011111111110111111111111111111111111111111111101111111111111111110111111111111111111101111011111111111111101011111111111111111111111111110111101101111111111111101111111111111110111111110011111011001111111111111111111011111111111111111111111111111101111110111110111111111011111111111111110011111111111111111111011111110111111111011111111101101111111000110111111111101111111111011111111111111111111111111111111111111111111111111111111111110101111111111111110111111111101101011111111111110111111111111101111111111111110111111110111011111111111111111111111111111111111110110111111111011111111111111111111101011110111010111110101111111111111101111110011101011111111111111111011110110111111111111111011111101111111011111110111111111111111111111110111111111111111111111011110111111111111111111111111110111111111111111111101111111111111111111111111111111111111111011101010111111011100110111111101111111111111110110101110111111111111111111101111110111111111110111111111101101111111111011111111111110110111111011111111111111111111101111011111111111010111111101111111111111011011111111111010111111111111111111111110111111111110111111111111101111111111111111111111101111111111111111111101110111111111111111111111111110110011111111111010111111101110110111111111101111111111111111001011111011111111111111110111111111111111111111101111111110111111111111011110111111111011111011111111111110111110111101111111111111111111111111111111111111111111101011111111011111111111110011111111111110101111111111111111111111111011111111011011111111011011110111111111111001111111011111111111011111101101111111111110011111111111001010111111111111110101111111111111111111111111111101111101111111111111111111111011101101111111111111111110111110111111111110111111111111111111110111111111111011111111011111111111111111111111111111100111111111111111111111111011101111111111111111111110111111111111111111111110101101111110100111111011101111111111111111111111111011111111111101111111111111111111111111101111111111111111111111101111101110101111111111101101111111110110111101101111111111111111111111111111110101111101111111111111111111111111111111000111111101111101101011101111011110111011111111111110111110111101111011111111111111111111111111111111111111111111111111011111110111111111111111111101110111110011111111111111111111101100111001111111111011101011111111111111111111111101111011010111111110111110111111101111011111110111111011011111111111111111101111111111111111111111110110111111110111011101110011111111111111111111111111111110011111100110011111011100110111111111111111111111111111111111011101111111011011111111111111111111111111111111111111111101111101111110111101111111011111111111111111111111111111100111111101111111100111101111111110101111111111111111111111111111111111111111111111111111111111101111111111111010111111101111111011100111111110111111111111101111111111111011101111111111111111111111111101110011111111111110011010111111111111111111110100111011111111110100111111111111110111011111101011111111111111011011111111111100111111111111101010111111111111101111111111111111111111111110111111111111111101111011111111101111111011111111111101111111111111111101111111101111100111110111111111111011111111111111111110111110111111111111111101110111111111011111111111011111111111111111111111110111111101111111010011111111011011100111110111011111111111111111111111111011101111101111111111111111111111111110110111101111111111101101111111111111111011111111111110001111111111111111111101111111111111011111111111111011111011101111111111101111011111101001111111111000111111111111111111111110111111111111101011111111111111111111011111111111011111111101111101111111111111110111011111111111111111110111011011111101111111111111111111111101111111111111111111111111111111101101110111111111101100111111101101011111111011011011011111111111111111110011111110110010111111111011111110111111111111110111111111110111111111110111111110111111011111111111110011111111111111110111111110111111111111111111101111111111111101111111011110111111011101111110111111111011111111011101111111111111111111111111111111111110111111111111111111101111111111011111111111111110110110111111111111110111101111111111111011111111111101101111111110111111111111111111110111110111111111111111111111111111101111111111111111110111111111111111111111110111111111111111101101111111110111111111111111111111111111011111111111111111111100111111101111111111111110101111111110111111101111111111111111111111011111111111111001111110111110111111111111111101111111111101111111111111111101111111110100111111111011111101111111111111111111111111011111111111111111111111111111110010111111111111111011111010011101111101011111111111111111111011111111111111111011111111111111111111111111111111111111111111111110111111111101111011110111111111111111111111110111111111111111111111011111101111010111011111111111111111111111111111111111100111111111111111111110111111111111101011110111101110110111101101110111111110111111111111111111010111111111111111011111111111111111111100111111111111111111111111111011011111101111111110111111111111111110111111111111101111111011011111111111111111111111111111111111111101111110111111110111111111111111111110011111111111111111111111111111111111101111010111111111111111111111110111111111111111111111111111101101111111111111111011001111111111111010111011111111111110111010111101011111111111111111110111111111111111110111011111110111111111101101101011110111110111111111111111111011111110111111111111111111111111111101001111111101111111111101111111111111111101111101111111111111111111111111111111011111111011101111110111111111111111111111111111111111100111111111111111111111111011111101111111111111111101111011111111111111011111001111111111111010111111111111111111111111111111111111101111111101011111111111011011111111011111111011101111111111111111111111100011111011110111111110011111111011111111011111111111111111111111011110111111111111111111111111111111111111111111111111011111111110111110110011110001111111110111111111100111101111111111111011111111111100111111111110111101111111111111110111111111010111111110011111111011111100101111111111111111111111111101110101111111101011111111101111111111111111111011111101111011111111111011111011111111111111111111010111111011111011111111111111111111111111111111101111111011111011111110111110111111101100111111100111111111111111111111111111111111111111111111111111111101111001111111111111011111111111111111111011111111111111110111111111111111110011111111111111111111111111111111111111111111111111111111111111110111111101111011111010110111111011111111111111111001101111110110111111111111111111111011111111101101111100111011111111111100101110111111111011111111110111111100111111111111111111000111111011111111111101111111101111111111011111001111111111111101011111111111111111111111111111110101101011111111111111111111111111111101111111111111011111111011110011111111111110111110111111101101111101011111111111111111111111111111111111111111101100111111101111111111111101001111010111111111111110011110111111111111101111111111011111110111111111111111111110011111111111111111110110111111111111111110111111111011111111111101011111111101111111111011011111111111111111111111011111110111111101110111111111001111111001111110110101111011111111111110111101110111111111111111011111011111111111111011011011101111111110110101111111111111111110111111111111111110111111111101101111111111111101011111111111111011111111111111011011111111111111111111111111101110011110111111111111011111111111111111111001111011111111011111111011111011011111111110111111111111111011111011111011111111111111111110111111111110111111111111011110111111111111010101111111111111011111111111111011111111111101111011111111111111111111101111111111111111111111111111111111101111111111111111110111111101101111011111111011101111111111101111011110111111111111110111111111101111111111111111111111111011110111110111111111111111111111111101111111111110111111101111111101111101111111111111111111111111111111111111111111111111110111110111111101100111111111111111111111111111111111110111111101111011111111111111111111011111111111111111011111111110111111011011111111111111111111111111011011011111111011101111111111110111111111111111111011010111111111111111111111111111000111111111111111111011011011111111111111111011111011111111111111110111111110111011111111111111111111101111110111010111111111111111111111111111111001111111111111110111111111111111111111101101101111111111111111110111111110111111010111111111111111111111111110101111110111111111101111111011111111101111111111111111111111111111111110111101111111111111111111110101111111111111111111101111011111100111111111101111011011111111110111110111111111111111111101111001111111111111111011111110110101111111111111111101111111111111111111111111111101111111111111111111111111011111011111111111111110111111011111111111111111101111101111111111111111111111111111011011111111111111111110111111111111111110111111111101110111111011111101001111111111111101111101110100111111111111111111111111101011110100111111111111110101111111111111111101111111111111011111111111111011111101111101111011111011111111011110111101111101111111111111110111111111111111111111111100101111111110111101111101110101111111110101111111110111110111110111111111111111101111111111111111011011111110011111111011110111111111111111111111111111111111111011111111111011111111111101111111111001111111110111011111111011111010111101111111110111111111101101111101101111111111111011111111111100111111111011111111101011111111001111111111111111111101111111111111111111111111111101101111111111110111101111111101110111111111110111111111111110111111011111111111111110111111111111111111111111111110101011101110111011111011100011101011111111101111111111111111011111111111101111111111111101111111111111111111111111111000111111111010011111101111111111111111111110110111101111111111111101111111110111111111111111111111111111111111111011111101101001011111111110101011011111111101111111111111111111111111111101110111111111111111111111110111111011111111111111111111111111111011111111111111111111111111111111011111101111110011111010111111111111110111111111101111111011111111110110111111111110111111101011111111111111111111111111111111111101111111111111111111101101010111111111101111111111111101111001111111111110011011111111111111111111111111111111111111111111111111111011111001111111111111111110111111111111101110111111111011101111011101111111001111111101111101111111111111111110111111111110111111011111011111111111111111111111111111110111111111011111111111111111011111111101101111111111011111110010111111111111111111011111110111110011101111111111111111111111110111111101111111111111111111111111111101111110111111011111011101111111111111111010111111111111111101111111011011011111011101011111111111110111111111111011110111111111111111111111110111111111111111011111110111111111111111111111111111111111101111110101111101110111011111110111111111111111111111101110101111111111111111111011101111111111101111011111111111111011111111101111011111010001111001111111011111111111011111111101011101011111111101111111111111111111111111111111111111011111111111111111111111111111111111110101110101111110111111110111111011111111111011110111111111101111111110111111111111111111110111110111111111111111111111111101011111101111101111111111111111111011111111111111111111111111111110110111110111111111111111111111100111111111111111111101111111111111111111110111111111011101010111111111111111110111111011111101111111111111111011111111111110111111001111100111101111111111101111111111110011110111111111111110111111111111101111111110101111101111111111111111011111111111101111111111111111111111111111111111110111111111011110111111111111101111111111111111111111001101111111111111110111011111111101110111111111111111111110111101011111111111010111111111111011111111111110111111111111111110111111111111101111111111111111111111111111001110111111111111110111011111101111111111100111111011111111011111111110111111111111101111111101111011111111011110101111111111111011111001111111111111111111011111111111111110111111111110111111111111111111101111110111111101111111111101111011111011111110111110111111111111111111111110111111110111111111110101111111111111111111111011111111110111111111111111111111101011011111111111111110111111111101111111111111111111111111111110111111111111111111111111111111111111111111111110111111111111111111111111111010111011111111111111111011110101111111111111101111111111111110111111111111111001111111111101111101110001111111111111111111111111111111111111111110111111111111111111011110111111011111111111110111111101111111111010011111111111111111111011011111111111011111111111110011011111111111111111111111001101111111111111011011111010111111111111011110101111110110111111101111110011011111111111111111111011111111111111111111111111101111111101001111111111111111111111011110111111111011111111111011111111111111111111111111111111101011111101111110111011001011111111101111111111111111111111111110111111101110111101011111101110111111111111111111111111111111110111111011011111011111111111110111111111101111111101111111110111111011111111111011111111111111111111111011111111111111111111111110110111111111011111011101111111110011111111111111111111111111111011111111101011111111111111110011011111111111111111101111111111001111111111111101111111111111111111111111111110111111011011111001111101111111111111111111111111111111111011111101111101111111111111111111111011111110111111111111111111111111111111111111111111111111111111111101111111111110111101111111101111111111111111010000111111111111111111011111011111110111111111111111111111101111111111111111111111111111111101111110110111001111111110111111110101110110111011110111111111111111111100100111011111011111111111111111111111111111111111111111111110111110101111111111110101111111110111111111111011101111111111111111111011111111111111111111110111111111010111110110111011110101111011111111010011111111110111111111111111111011101101111101111111111111111111111111011111111100111111011111110111111111011111111111011111111111001111111111110111111111011111011111111111111100010011111111111101111101111111111111111111011111111011111111111111111111111111111011111111100101111111001111101111111111111111111111011111111111110111111110110011111111111111111111111100011111111111101111111111111101111111111110111110011111111010101101111111111100111101111110111111111111111111111111011100111111111011101101111111110111111111111111111111111111111111111011010111111111111111101111111111111101111111011111111111111111111111111111111111111110111111111111111111111110111101111111111111111011111111111111111101111111111111111111011111111111111111101111111101111111011111111111111111111011111110111001111111111111111110111111011111111111111111111101111111111110110111111111111111111111111111111101111111011111001111111111111111111011111111111111111011011111011111111101111011111111111111101110111101111011111111111110111110111111111111111011011111111111111111111111111111111111110111111111111111111111111111111111111011111111111011111111101111111111100011111111111111111111111110111111111101111111111111111011111111101111111111111011110110111101111111110111111111111111111111111110111111011011111101111111110101110111111111111111111111111101101011111100111111110011111111111101110111111111111111111111101111111111111111101111111111111111110111111111111111111111111111111111111111111111111010111111111111111111111101001111111011111110111111111111111111111111011011111111101111111110101111111111011111111111110101111001111010111101111111111111011111111101111111111111111111111111011111111101111111111111111101111110111101110111111111111111011110111111111111111111011111101111111111101110110111111111011101110111110111111101111111111111100111101101111111110111101101001111011111011011110111111001111111111111111111111111111111111011111111111111111111111101111110111110011111111111111111111111111111111111111111111111111111111111111111111111110110011111111011101111110011110101011101110111111111111111110111111110111111111111001111111111111111011111111011111101111111101111111101111111111011111111111110111101111111110111111111111101111111111111110110111111111100111111111110111111111111101111111111111110111111111111111111111011111111111111101111110111110011101111111111111011111111111111111101111101010111111111111111110111111111111111111111011111111101111111011111111011111111111111111111111011111111111111111111111101111111101111101111111111110111111111111101111111111111111111111111111111111111111111111110111111111111111111111111111111111001111101111111111111111101111111011111111111111111111110111011111111101111111110101111111101110111111111111110111111111111101011111111111111111111111010111111111111111111111111111101101110111111111111100111101110111111101111111111111111111110110111101111111101111111101111111011011111111111101110111111111111011111111111011111111111111111011011111111111111111111111111110111101110111101111111110101111111011111111111111111111111111111111111111111111011101111111101101111101110111111111111111111011111111111111111110111111111111101111111111111101100111111111111111111011011111000101111111111111110011111111011011011111111111111101111111110111110111111110111111110111111111111111111111110111111111110111111111111010101111111111111110010111100111111011101101011111111111111111111111111101111110111111111111011111011111011111111011111111111111101111111111111111111111111111111111111111100111111111111011111111111111111111111111111111111111111110011110011111011111111111111111111111111111111111111011110111111111111111111111111111101111101111111111011111111111111111110111111111111011111101111111111111111111111111111011111111100111011111111111101111111110111010111011110111011111011111111111111111111110111110111111111100111110111111111111111111111111011111111011111111111101111111111111111111111111111111110101111111011111111111111111111111111111111111111111111111111110110111001111110111111111111111011111101111111111111111111111101111111001111111010110110111111111111111111111101111111111111111110110111110111011010111101111111111111110111010111111111111111101101111110111110111011010111011111111111111011111111010111111111111101100111101110111111111111111111101111110111011111111111110111011011111111011111111110111111011111010111111111111111111110111101111111111111111011001111111111011011111111111111001111101111111101111111111110011011101111111111111111111101011111111111111111111111011111111111111111111111011101001111111111111111110111101111111111111111111111101011111111111111111001111101111111111111111111111011110111111101111111101111111101111111101111111111111111111111111101100111111111111111111111111101011111110111111011111111111111101111111011100111110111111111011111111111111111011101111111110111011111110110111101111111011111111111111111111011111101111111111111111111101011111111111111111111111111110111110111101111111111111111110101111110111111111111111111110111111111011111111111111111111111110101110111111111111111111111101111110110101111111111111111011111111111010111011111101111111111011110111111111011101111111111011110111111110111111111111111111111011100011111111111111110111111111111101101101111111111111111101111111111111110101110111011111111101111111111111111111111111111111110111111111101111111111111110111111101111111111110111111011111111111111101111101111110111111110111111111111001111011111111111111101111111111101111111101111111101111101101111111011001111101111011111111111111011111010010111011111111011111111101110111111111111111111101111111111111101111011111111011110001111111111111111111111101111111111111111110111111111110111111111011111110111110111111101111101011111111111111111101111111111111111101111011111111010111111110111111111110111111101110111011101111110111111111111111101111110111111111111111110101110111111111111111101111111011101101111111111110111111111111111111111110111110111111111111111111111111111111111111110111111111111110101111111111111101111011111110111111111110110111111111111101111110110111110110111111101101010011111111110111110011111111110111010111110110111111110111011111111110111111110111111110011001101111111111011111101111111111111111110111101011001001111101110111111111111111111111111111111111110110110111111011011111111111111110111111101111111111111111111111111110110101111101011111111011011111010111111110011111111110111111111111111111111111111011111111111111110011110101011111011111111111111111101111011111111111101111110111111111111101111111111101110111111111011111111111111111111111111111111111111110111111111110111111111111101011111111111111111011110011111111011111111111111011111111110111001111111110111111111111111011111111111111111111111111111111111111111111111111111110110111111111111111110111011111111111111111111110111111111111111111111110111111110101101111111111111111111111111111011111111111111010110111010011101110111111111111011111111111011111111111111110101111011111101111111111111101111111111111110111111111111111111111111111111111111111101011111011111111111101111111011111111111111111011111110110111111111111111111111111011111111101101011111101110111111111101111111111011111111111111111111111111111111111111111111111111111011111111111111101111011111111111111111111111011111111111111111111101111111110111010110111111111011011111101111111111110110111110111111111111111111111111111111111111111111111111111011110111111111111110011110110111111111111111111111111111111111111111111111101101111111111011111111011111011111100111111101111011111111111111111001111111110011110111111111101111111111111111111111111101111111110111111111011111111111011111101111110111111110111110111110001111101110111110111111111111111111101111111111111111111111101111110111111111111111111111111111111111110011101111111111110111110111111011111110110111111110111111010111111101111111111111111111111111011111111101111111111111111111111111111101111110111111111111111010110111111111111101101111111111111110111111111111101111101110110111111110111111111111110111111111110111111111110111111110111111000011111111101100101100101111111111111111111111111111111111101111111111111110111111111111111111110111100101111111111110111111101111111111101111111111111110111111111110111111011011101111111111110111101111111111111111111111111111111011111110001111101111110111111111001111111111101111111111111111111111111111111111111011111111111111111111111111111111111111011111111111011111011101111111111111111111111111111110111111101111111111111111111111111011111111111111111111101111111111011111011110100111111011011110111111111111111111111111111110101111111111101111011011101111111111111111111011111111111011111111111101111111111111101111111010111111111111111111111111110111110110011011111111111111110101111110110011111111111111110111111111110111110111111111101111111111111111111111111111111110011101111111111111111111111111111111111010101111110011111101101111110111101111111111111111111111111011111111111111110111110111101111110111111111101111011111111111111111111101111111111111111011111111111111111110111111111111111111010111111111111111111101111111111111101111111011111111111111111111111111101111111011111110111101111110101111111010111111111101011101111111111111111111111111111111110111111111111111011110111111111101011111111111000101111110111111111111111111110111111111111110111110011111111101101110111111111111111101111111111111111111111111111111110111111111011111111111111011111111011111111111111111111111111111101111110111101111011011111111111111011111000111011111111111111111110111111111101111111111011111111111111111111111101111111101111010110111011111110011010111111111011111111111011111111111111111111111111111101111111111111111111111111111111111111111101111111111111111010111011111111111111111111101111111111111011111111111111111111111111011111111011110111111111100111111100110111111111111110101111111101111111111111101111111111110010111111101111111111001101111111110111111111111111111111111111111110111111101111110111111111111110111111111111111101111111111111111111111110111111111100111111101111111111111111111111111111011111111111111111111111101111111101111111111111111111111111111111011111111111111111111111011111111111011111111111111100111111111011111011111111111111111111111111111111111101101111111111111011111111010111111111111111111111111111111111111011111110110111101110111111111111111111111110111111111111110111111111101111111111111111111110111111111111110111111101111111100111011111110111111111111111111111111111111111011101111111101111111011111101101111111111011101111111111111111111111111111111111110011011111111111111011011111111111111111111101111111011011110111111111011111111111111111111111111111111111111110111111111110111111111111011011100110111111111111111111111111111110110011111101111111111111111101010111101111110111111111111111111111101111101111111111111111111111111110101111111011111111111111111011111111111011110110111101111110111101101101111111111111111111111111111111111111110111111111110111111111111111111111111111111011111101110111101111111111111111111011111111111111111110111111110111111110111111101111111111111010111110111111111111011111111111111111011111111111111111111110011111111110111111111011111111111111011011111011111101111111111111111111101110111111111111111111100111111111111111111111111111110111111111111111111111011111111111111111111111111111111011111111100111111011111111111111111111101111111111110110111011110100111111111011111111111111111111110111111101100111111111110111111111111111010111111111111011111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111110111110110111111010111111111111111111111111011110111111111011110111110111111111101011111111111111011101111111111111111111101111111111111111111111111111111110111111111111111111111111111111110111111111111111011011101111111011101111111111111111111110111111110011111111110101111111111101111111111111011111111111011111110111111111111011111111111111100111111111111110111011111111101111111011101111011111111101111111111111110101111111110111111011111111111100111111011111111101111111011011110111111011111011111101110111111111111111111111111111111111111111010111101111111111111101100101111100110111011111111111111111111111111110111111111111111001111111101111111101111111111111111111111011101101111011111110111011111111011111010111111111111110111111111101111111111110111111111111011111111111111110110011011111111111111001111111111011111111101101101011101111111111110111111101111111111111110111111111111111111111111111110111110111111111110111101111111111011111101111111111111111011111111101111011111111111111111010111111110011111111111111111011001111111111111111100111111001111111011101111111111011111110110111111111111111111111111111111101111101111111011111111011011111110111111111111111111011111111111111011111111111111011111111111111111111111111111111111111111111101110101111111111111111101101111111111111111111111011111111011111111111111111111101011101111001111111111111010101111111111111011111110011111111011110101111111111111111111111111111111111111101110100111111111110110111001111111101101111111101100111111111111101111111111111110111101011111101111111111111111111111111111111111111111111011101111111111111111011111111101111111111111111101111111111111111111111111111111111101111111111101111111001110111111111111111111111111111001111111111111111111111111111111111101111111110111111111111111111111111001111111111111111011110111011101111111111111111111111111111111101111111111111111110111111011111111111101111111111101111101111111110011111111111011111111101110111101111111110111111111001111111111101011111101111110111111111111111011111111111111101011011101111111011101111111110111111111101111111111111101111111010111111101111111101111111111011111111111111110111011100111111111111111111110111111001111111111111111111111111111011111101111111111101111011110110111110111101111111101111111111111111111110111111110111111101111111111111111111101111110111110011111111111111111010111101110111111111111110101111111110011111101110111111111111111111111111111111110111111111111101111111111111111111110111100111111010111111111011111111111111101111111111111111111111111111111111011110111111111111111111111111111111110111111111111101111111011111111111111111111111111111111111111111111111110111111111111111111111111011111111011111111111111111111111110111111011111111111101011111111101101100111111110011111111111111111111111111111111101101111111111001101101111111111110100111111111110111111111111111111111111111111110110101110111001101111011111110111111111111111111110111111111110111010111111111111111100101111110011111101111111110111001111111111111101111110101110111111111111111111111111111111110111110111111111111111111110111011110101110111111111111111011111111111110111110111111111111111111111111111111111111111101111111111101111111111111111111111010111101101101111111111111111111111110111101111111111111111111111111101110111111111111111111011111111101011101011111100111101111111111011111111101111111110111111111110111111101100111100111001111101111111111111111111111111111111111111111111111111011111111111111111111111101111111111001011111111111111011111110111111111101111111101111101111111111111111111110111111111111110111111101101110111111111111111111111111111111111111111111111101110101001111111110111111111111111011111111110111110001111111111111110111111011111111111110110111111101011111111111111111111111111110110111111111111111101111111111111111111010100111111111011110111111111111111111110001111110011101111111111111111111111111011111111110011100111110111111101111111011101111111111101111111101111111111111110111010111111111111111111111011111111111111111111111111011111111011110111011111111111111111111111111111111111111111111111111111111110111111110101111111100111111111111111111010111111111111111011111111111111110111111111111010100111111111110111011001011111111111011111111101111011111011111111111111011111111111111011011111011111111011111111111111101111111111101110111111111011111111111101111111111111011111101111111111111111011111111011111111111110111010111111011111110111111111011110111111110111111111101101111111111111111110101111111111011111111101111111011111111111111111111011111111111111111101111011111111011111111011111111111111110111111111111010111111111111111101101111111011110111110111111111111011101110111011111111111111111110111111111101111111111111111101111111111111111110111111111111111101011111111011111101111111111111101011111111011111110111111110111111111111011101111111111111111111111111110111111111111111011101111111111111111111111110110111111101111111111111011111111101111111111011111111111111111110111111111111011111111111111111111111111110111101111110111111111110011111111111111011111100111110111001111111011111111111111111111111111111011110111111111111111111011101011110111111111111111111111111111111111111101111111111111111110111101111111011011111111011111111011111111111011011110111111111111111111111111111111111111111111111111111110111011111111111101111111000111111101111111111111111111111111111111111111111111111010111011110111111111111100110111100111111111111010110011111111110111011111111111111111111111101111101111111111101111101111011111111111111111111111111111111011010111111111010111111111011011111111111111111111110111111111111111111111011111111111110111101101111111100111011111111111111111111111111110011111111111001111111111011111111110111111111011101010111111101111111110111111110111111111111111111011101111111111111110111101111111111111111111011111011101111101110111111111110111111110111010111010011111111111111110111101111111011110111111111111111111111111111111111111111111111111111111111110111111011101111111111110101111111111111111110111111111101111111111011111111101101111101111111100011101110111111111111111111101110111110111111111111111101111011111101111111111010111111111111110111111111111111111110111011111011111011111111111111111111111111111110111110111111110110111110110110111111101111101111111011111111110111011011111111111010111111111111110101111111111111111110111101111101111111111100111111110111110110101111111111111111111101110111110111111111111111011111011111011111111111111111111111111111111111111111101111111010111101101111001111111111111111111111111111110111111111111111110111111111111111111011111111111111111111111111111111101110111101111111110111110100111111011110111111101011111111011111111111111111111111101111111111110011011101111111111111111111111111110111111101111111111111111111111111111110111101111111111111111111111111111111010111111111111111110110111011111111111111111111111111111111111111111111111101111111111111110111111111111111111111110101111110111101110110111111111111111111111111111111111111111111011011111111111011111111111010111111111011101111110111111110011111111101010111111110011111111111011111111111111111111111110111111101111101111111111011111101111101111111111111111111111111111011111111101100111011111111111111111110001111011011111101111111111110111011111101111111111011111101111111101111111111111101111111111100101101111111111111111110111110110111111111011111111101111111011111111110011010111111111110111111111111101111111011111111111111111111111111111111011011111111111111111111001111111011111111111111111111101111111111100111111111110101111111111111111111111111111111111111011111111111111101111011111101111111111111101110110011111111000111111111011011111111111111111101001110111110111111111101011111111111111101111111111101111111110111101101111111111111111101111111111101111111111111110111110101011111101111111111111111111011111111111111111010111111110111111111111110111111101111111111111110110111011110111111111110101111111111011111111011111111001011111111111111001111101011110111111101111100111111001001111111111111111101110110111111101111101111110110111101111111111011111111111111111111111111111011111111011110101111111101111111111111101111101111111110111111111111110111011101111111101101111110111111001101111111011111111111111111110110111111111111111111101111111111101111110101111111111111110111111111111111111111011111111111111101111111111001111111111111111111110111111111011110111101101111111011111111111011111111111111111111111110101011111111111111101111111111111111111111111111111111010111111111110111011111111111111001111111111111111111111111111111111111110111111111101101111011111111110111111111111111011111111101111011111111111111111111111111111011110111011111111111111111110111110111101111111111111111111111111110111110011111111101111111111101111111111111111101110111111111111111011111111011111111111111111111111111111111111011111111000111101101111111111011111111111111111111111111111111111111111111111011111111111111111111111111110111111111110111111110111111111111111111111111111101111111011011111101111111011111111110111011111001111111111010110111111111011111111111111110111111110111111011111111111110111111111101111111111110111111111111100111011101111011111101111011111111111011011111111101111011111111111111111111110111111111111111111110111111111111111111111110011111111111111111111111101111111111111111101110101101111111111111111111100111011011111110111111111111110111111111111001111111111110101111111011110011111111111111111111111111111111100110111111110111111101111111101111111101111101111111111111111111101111111101111111101111111011111111111111111110111111111110111111111111111111111111111001111111111111111110101111111111111111110110010110110110011101101011111111001111111101101111110110111111101111111001111111111111111111110111011111111110111111111111011111111110111111111101111111111111111111111111111111111111101111111111101111101111101111111111111111101111101111111111111101111111011111111010111011111111111111100101111011011111111111111111111011111101111111111111111111111111001111111111111111111111011011111111100111111011111111110111111111111011011111111111111111111011111011111111111111111111011111111111101001011111111111111111111111111111111110111111110111101111111111111011111111111111111001011111011111111111111101111111111111111111010111111111110111111110011111111111111011111011111111111111111111111111111111111011101111111111111111111111111111001101111111111111111111111111110111101111101111111111111111111111111110111101101111011111111110111111010111110111111111011111011111111111111111101111111011111011110111011101111111111111011111111111111111111111111111111111010111111111011111101110011111101110011111101011111111111111111111111111110110111011111111111111011111001111011110111111111111111111111111111010111101011011111101111111010110111110111111111111111111111111011111111111110111011101111100111111111111111111110111111101110111101111011111111111101111111011111110101111111111111111111101111111111110111111111111111111111111110101101111111111111101111011111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111011111111111111110111111111111011111101111111111111111111111111111111111110111011111111111111111111111111111111111110011111110101111111111111111111111111111110101111111101011111111110111111111111110111111110111111011111111111011111111111011110111101011111111101101111111011111111111101111111111111111110010111111111101111111111111111111111111111101111111111111111111101111111111011111111111101101111111111111111100111111111111100111111111101111111101011111111111111111111111111111111111111111110111111111111111110110111111110111011111111111111010111111111101111101111111111011100111111110111111101111111111111110010111110110111111110111111111111111110111110111110111111111111101110111101111111111111111111111111111111111101111111111111111111110111111111011111101011111110101111101110111111111111011011111111111111100101111111111111111111111111111111111110111111011111111111111011111111111111111110111111111111111111111111101010111111111111101111111111111111111111111111111111111111011110110111111101111101111011111101111111111111111111111111111101111101111111111111111111111111111011111111111000101111111110011111111111111111111111101111111111111100110111111101111111110111111111111111111111111111111111111111111111111111111111111111011111111111111111011111011111110101011101111111111111101111111100111110111111111111111111011111111111101011111100011101111111110101111111111011111111111111111111111111101111111111111110101111111111110111111110111111111011111011111110111111101111111111111110111111111111111111111101111100111111111111111111111100011111111011111101111110111111111101111111111111111011111111111111111011110111111111111100111111111111111110111111111010110111111011111011111110111111111110111111111111101101111101110111101101111111111111111111101111111111111111111111111011110111101110101111111111101111111011011111111011111101111111111111011111111111111101111111111111101011110011111110111111111110011110111111111111111111111111111111111111111101111101111110111111001111010111101111111111101111111111111111111111011111111101111111111111011111111101111111011111111111111111111101111101111011101111111111100111111111111111111111111101111111111111111111111111101111111111111111011111111011001111111111111101111001111111111111101011111111111111110111011111110111111111101111111011111111111111111111101011110101111111011111111111111101101111111101111111111111101111101110001111111111111111111111111111111001101111111111111111111111011111011111111111101111110111111101111111110111111001010110111111111111101111111111111111111111101111111111111011111111111111111111011110110111111110111111110101111111111111110111110110011111111111111111111111111111111111111111111011111111111011111111111111011101111111111111111111101111110111111111111111111110111111101111111111111111111111101111111101111111111111111111111111110111111111011111111111111111111111111111111111111111111111110110110101111110011111101111101111111111111111111111111111111111111111101111111100111111101111111111011111111111111111111111110111111111100111111111111111111111111111100111101111111111110111111101110101111111111111111111101110110111111011111111011110111110111010111111111110110111111111111111111111111111111111111111111111111110011111110011111011111111111111111100011111111111111111111111111111011111101111111111011110111111101111111111111100111110111111011111111111111110111010111111111111111110111111111011111111011111111111111111011111101111111101010111111111111111111101111111110111111010111111111111101110111110111111101111110010110111111111111011111111111111111111011111011111101011111111111111111001110110111111111111111111111111110111111111111010111111111111011111111110010101111111111110111111111111111111111111111111011011111111010111111101011111011110010110111111111111111111111111101110111011111111111101111111111101111111111111111111111010111111111111111101111111011110101101111101101111111110101111110111111111111111111111111111111111111111110101111111111111111111111111111111110111111111111111110111111011111110111111111111111111111111111011111111111110111111111111111111111011111111011111110101011111111111111111111111111111101111111011110111111111111111111111111111111011111111111111111111111111101111111111111111101101111111111111111111111111101110011111101011101111111111111111111111110111111011111111111111111111111111111111011111111111111110110111111111101110111111111111111011111111111111011111111011011110111111111111111011101111111111111011111111111011110101111111111111110111111111011011111011111111111111111011111111111111111111111101111111011101111111111111001111111101111101111101011111111111111110111011110111111111011111111111111111111111111111101111110101100111111111111111111111111101111110111111111111110111111111111111111111101111111111111111111101111111111111111111111101101011111111111111111111011111111111111101111111111101110111110111111111111111110111111111111111111110111111111111111111111111011101111111101111111111111111111111111111011101111111111110111111111111011111111111111011111111110111111111110111111111111110111110011111111101111111111111011011111111111111111111111111011111111011111111111111111111111111111111111111111111111110111111111111111101111111111011101110001111011111111111111111111111100110111111111111111010111111101111111110011110111011111111111111111101111010111111111001011111011111011111101111111111111111111111111111111111111111111111111111110111111111111111111111101110101111011111111011111101101111111111111110111110111111111111111101111111111111111011111111010111111111111111110110111111111101011111001111111110111111111111111110111110111111111111111111111111110111111111111111111111110111111011111111111101110111111111111111111111110111111001111110111111111111011111111111111111111111011011101111011111111100111110110111111111111011111111011011111111111111011111111111111111111111011110111110111111111110111111111111111100111111111111111111111111011110111111111101111111111111110110111111111111111111111111111111111110111111111111111111111111001110010111111111101111111111111111111011111111110101111011111111111111111111111101111111101110111111111101111111111111111011011011111111011111111101111111111111111111111111111010100110111111111011111111111011111011101111111011110111111111111111110111111111111111110111011111111111110111111111111110111011101111111110111111111111111111111111001111111111100111111111011111111111111110111111111101111010111111011111111111111111101111111110011111101111111111110101111011111011011111111111111111111111111111111111101111111111111111111111100111111111111111101101111111111011011111111110011111111111111111111111111111111111111011111111110110011111111111100111110111011111111111111110111111110111111111110111111110111111111111011111111111111111011111101111011111111111111111111101111111111111111111111111111001111111111111011010111111011111111111100011111101111110111110111111111011111111101111111111111111111111111111111011111111111111111111111111111111111111110111111111111111111111111111111111111111111111111110101111101111111111111111011111111111111111111111111111011101111111111111111111010111011111011011011111111111101111111111111111111111101110011111111111111110111111111111111111111111111111111111111011111110111110111111111111101110111111110110011111111011111110111011111111111100110110111101111111111111111011110111011110111111100101111110111111001011101111111111110111111111111111011111111011111111011111101111111111111111111111111111111000111101111111111111111110101101111111111111111111111111111101111111101111111111111101111111110101111111111111011111111111111111101111111111111111110011111111111111011111111111111011111111111111111111111111010101111111111111111111101110111111110111111111111111111101111110111110111111111111111110011111111111011111111111101111110001111111111110111111111111010011101111111111111111111011111101011111011011111111111111111111111100100111111111111101100110111111111111111111111110111110111111111111111110110111011101011101001111110111110111111111111110111111111111101111111111111111111111111010111111001111111111111111111111111110110111111001111111111111111111010110101101011111111011111101111011111011111011111111101111111111011110111110111111111111111110111111111111111110111111110111111111111111111111011111111111111111101111110110110111111111011011111011111111110111111111111100111101111111111100111111111111110101101111111111111110111111011111111111111111111111101011111110101100111111111101111110101111111111011111110111101111111111101111111111111101111110111101111111110111111111111111111111101111111110011111111111011110111110111111111111011111111111111111100111111111011111111111111110111111111111111111101111111111111011111111111111111101111011111111111001111101111111110101111101110111111101100111111111111110111111010111111100111111011110111111011111111111111101111101111111111111111111111111111110101111111111110111111011111111111111111111101111110111111111111011111111111111100010111111111111111101111111111110111100111111111011111111111001111011111111111011110011111111111110101111100110111111111101101111111111111111111101111011110011111101011110111110011111011111111111011111111011111111100111111011111110111111111010111011101110111111110111111111111011111111101110111111111101111111110111111111111111111111101111111111011111111111111111111101111111100111111111101111011011111101111110111111111111011011111111111110111101111111110111101111111101111111111111010111111101111110111111111101101111111101101111110111111101111101111111111101111111111111111111111111111111111111111111011111111111101001111111101111111111101111111000111111111111111111101111011111111111111111111111111111111111101110111111111101111111011111111111011111111011101111111111111101011101111111111111101111111111111100111101011111100111111111111111111110111111111111111011111111111111111111111111001111111111111111111111111101111111111001111111111111111111111111111111111111111110111111111011111111011010111111111111111111111111111111111100111111111111111111101111111110111111111111111111110110011111110111111111111111111111111111110110111111111111111110101111111110111111111111111111111111111111111000110001101111101111110111111111111110101110111111110111111011111111111111100111111111101101111011111111111101111111101110111011111111110111111101111100111111111111111111011111111111111111101111111111111111101111111101111111110111111111111111101111101111101111111111110101011111111111111111011111111111111101111111101111111101111111111111011111111111111111111111111111110101111011101111111111111101111111111011101111111111111111011111111111111111101111001111111111111111111111111111111111111111111111011111000111011111111111111101111011111110101111111010111111111111111111111111110111111111111111110111111111111111111111110111010111111101111110111111110111111110110111111111111111111110101111111011111111111011110010001111111111110111110111111111011111101111111111111101101011111111111101111111111111111111111011111011111101111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111011111111111111111011111111111111111111111011001011111111111111111111110101110111111111101101111111111111111111111111011111111111111111110111111111110101111111111111110111110110111111111111011111110111111111111111111111111111111111111111111101111111111111111111111111101111111011111001110111111110111111101111111111111111111111100111011110111111111101111111111111111110111111111111111111111101111111110111111101101110111111111111110011101111111111111111111111111111111111111111110111011111101111111111111111111111111111111111011111111111011111111111111111110011110111111111101111111011111111011111111111011111110111111011011101111111111010111111111111110111001100111111111111111111111111111111111111111111111011111111111111111111111111111111111110111111111101111111111111111111111111111111110111111011111011101110111111111011111111111111111101111011101111011011111111111110111101111111111110110010011111111110111111111111111110111111111111111111111110111011111011111111111111011110111000111111110011011111111111111111111111111111111111111111111111111111111111101111011001111011101111111111111111111111110110110111101111010111101111110111101111111111011111111111111111111111111111111111111110111111110111101111111111111111111111101111011110111111111111111111111111111111110011111111111111101111111111111111111111111011111111011111111111011111111111111111111011101101111111111111111111111111111111101111110111110111111111011111111111111111111111111110110111111111111111011011011101101111110111111111101111101111111101111111111111111110110001111110111111110111110110110100111111110111011111101101111101011111111111111111111011111111111111111111111111111111011111111111111110111111011111111111100110111100111111110111111011111111111111111111111111111111110111111111111111111101111011111111111111111111111111111111101111101101111111111111111111111111111111111111111111111111111111111111111101011011101111111111111111111111110111111100111111011101011101111111110111111011111111111110111111111111111111110011101111111111111101111111111111111111100111001111110110110111111111111110110101111100111110110111111111111111111111111111111111111111101111111111111111111110111111111111110100101111111111111111110111111101111101011111111111101011111111111110011111111111101111111111111110111111011111111110111101111011111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111101111101111101111010111111111111111111111111110110111111111111110111111111101110111111111011110101111111111111111111111111111111111111111011111111111111111111111110111111101111111111001111111111111111001111111111111111111101011111111111101111111111111111111111111111111011111111111101111111111011111111111111111111111111111111111111111111111111111110111101111111110111111101011110111111111111111111111111111111111111111111110111111111111111111111111101111111111101111111111110111111101111111111110111110111111101111011110111110111010111111111011011101111111100111111110010111110111101111111101111011111011111011111111110111111011111111111111011011111010110111011111111111111111111111111111111110111111111111011111110101111101111111111110111111111011111111111111011111111110111101110111111111011111110111111110111111111111111111111111101111111111111111111011111101111111110111111110101110111111101011110111110111011111111101111111111111111111011111111111111011111111101111111111111101111111111111101111111111111111111011111011111111111111111101111101110111010111111111111111011111111111111011011100111111111111101101111011111111111111010110011110011110011101111101111111111111111101111111110111111110111111111111111011111101111111111111111110101111001101111011111011111111111111111111011111011111111111111111111111111111100111110111111010111100111111111111011110111011111111111101111111111111111111111111011111011111111110111111101110111111111111111111111111111101111111101111111111011111111111111101011101111111101101111111111111111111111111111111111111110111111101111111111111111111111111111110111111111111110101111111011111111111101011111111111111110111111111111111111111101111011111011111111111111111111111111111111111111111111110110111111011111011011111101111111111011110111111111111111111111111101111111111111111111111011111111111111011110111111111111111111111111111111111011111111111111111111111111111111110111111101111111111110111111011111110111111111111111111101111111111111101011101100111111101111110110110111111111111111110111111111111100111111111111111111111111111110111111101101101110111111101111001011111111111111101111111111111110001111100111011111001111111111111111101111110111011111111111111111111111011111111101111011111110111111111101111111111111111111111111111011111111111101111011011111111111111111111111111111111110111101111101111100111110111010111101111111111111111111111111011111011111111111111111111111111101111111111111110011111101110111111111111111111110111101101111111111111111111111111111111111001111111111111111011011111101111111111111111111011111111111110111101111110111010111111111111110111101111111111011111101110110111111111011111101100111111111011111111111111110101111111011011111111111111110111111111111110111111111111111111111111101111111111111111111101111111111110111111111111111111111101110001110111111111111111111111111111111101101111111111111101111010111111111101101010111111110111111111111101111111111111111101111111111111101101111010111111111111111111011111101111111011111011111111111011111011111111110111111111111101111111111110011111100111111111111111111011110111101111111111111101111111111111111111111111111111111110111111111110111111011111111111111111111110111111111111110111111111111111111111111111111111111111110111110111110110011011111111111111111111111111101111110100111011111111111111111111110011111111111111111111011011110101111111101111111110100011101111110111110111111111101111011111110111111111111110111111111111011111111111101111111111011111011111110011111111111111101111111111111111111011110111111111111111111111011111111101111001111111111111010111111111110111110111111111011011111111111101111111110101011111111101101111111111110111111111101111010101111101111111111111111111111111011101110111111111111111111011111111111111111111111111111111111111111111111111111111110111111111111111111111111101111111111111111111111011011111111101101111111111111111111110111110101111111110111111101111111111110111011111111111111111111011111111111111111111111111101011011011111101011111111111111111111111111111111110111111111001111011111111111110101111111111111111011111110111111111111111110111111111111111101110111111111111101111111111111101111011111011101111111111110111111011110111011111011111101111101111111011110111110111111111011111111111011100111111011111101000111111110111111111111111111110110111110111111101111111010111111111011111110111111111110111111111111111111111111111111011110011111111101111111111110111111111101111111011011111111111101111111010110111111111111101111111111111110111111111111111111111111111111111111111111111001100110111111111111110111111101111011111111111111111111101101101111111111111111011010111101111111111010111111111111110011111111111111110111111111101101110111111111111110111101111111111011100111110111111011101110111111111111011111110111111111111111111011111101100011111011110111111111010111111111111111111111111111111111111111111111111101111011111111111111111111111111010110111111111111111111011111111101111111111111111111111001111111111111110011111111111111111111111111111001111111111111111111111111111110111111111111011101111101111111111111111111011111110110111111101011110111111111111111111111111111110111111111111111110111111111010111111110111111111110111111111111111111111111111101111111110110110111000101111101111111011111111111011101110111111111111111111111111111101011111111111111111111001111111111111111111111011111111111011011111111111111011011111011111111111011101111111111011111111111110011111110111111101101110011111111111111111111111111111111111111111011111111111101111111101111101111111111111101111011111111111111111011111111111111111011010111111111111111111111011110111111111111111111111111111111111111110101001011111111111111101111011111111111111111111110100101111111111111111111111110101111111101111111111111111111111111011111111101111111111111111111111111111111101111110111111111111111101111111110011111111111111111111111111111111111111111111100110111111111111111111111101111111111110111111001111111111111111111001111111111111111111111101101111111111111111111111111111111111111111111101101111111111111111101111111111111101011111111111011010111111111111100111111011111111111011111011111111101111111001111111111111011111111101111111111111111011111011111111111111100111011111011111001111111111111111111101111101111110111111111110111011111111111111111111111111111111111111011111111111011111111111111111111111111111111111111111111111111011111111111111111111111101111111111111011111111111111111111111111100111111110110111111111011111101111101011111111111101110111111011101111111101110111110111111111111111111111111111111111111101111010111101111111110111111110111111101111111111111111111111111111111011111111111111111111101011111111111111111111111111011111011111111111111111101001101101111111100111111111111111111111110111111111111111111111111011011111111111111111111111111110101111111011111111101111011111111111111111111111111111111111111111111111111111100111110111111111101111111101111111110111111111111111111111111111111011111111111111111101111111111111011111111111001101111101011111111111111111111101111110111001111111110110101101111111111111011111011101111111110111101111111101111101110111101111111011111111110111111111111111111111111111111111101111110001111111111111111111111110111111111111111111101111111101110011101111111111011111111111011111011111111111101101001110111111101111111111111110101111001111111111111111101101110111110111101111100111111111111100111111111111111111011111101111111111111111011111111011110110111111111111111110111101010110111111111011111101101111101111111111111111101011110111111111111111111110111101111111111111010110111101111011110111111111111111111111111111111111111111011111111110101111111111111101011011111111011100110101010111111111111101111111011111111111111111101111111111111111110111111111111111111111111111100111111100111111111111111111111110100111111111111111111101101111111101110111111111111111111111111110111111111111111111111111011110111011110111111111111010111100111111110111111111011110111101111111111101111110111101011111111111111111101111101111111111111011111101111111111111111111111101111111111111111111011111111111111001111111111111111111111111011111111111111110111111111111111111111111101101101111111111111111111111111111111110111111101111111111111110111111111111111110111111111111011101010111111111001111111101101110011011111111111101111011111111110111111111111101101111111001011111011111101111111111111111111110111111110101010111111111111111111111111011011111111011110111111111011111111111111111111111101111011111111111111111010111111111111101111111111111110111111111111111110111111111111111101111111011111111011111100111111111111111111111101111110111101011111111010111101111111111111111111111101111101111111111111100111101011111111111111111111111111111111111111111111111011111111111111101110111111011111111011111011111111111111111111111111111111111110111111111110111011110111110111100111111111011111011111111111111101111111100111111111110111111111111111111111111011111111101111111111101010111110111111111010111111110111111111111011111011111111011101111111111011110111011101110111111011111111011111111111111111111111111111111111111011101101111110111011111101111111001111111110111111111011110111011101101111111111111111111011011111111111110011111111111111111110111111111111111111111101110111100111011111111111111111011011110111011111011011111111111110111111111111111111111111101111101111011101011011111111111111111110101111111111111101111111110111111011111011111111101011111011111111101111111001111111111111101111110101111101111111111101101110110111111011111111011110111101111011111111011111101111111110111110111111111111111111100111111111011110111111111111111111111111111111011111111111111011111011111110111111111111111111111111111101111011011010111111111111111111110100111111111011110111111111111111101111111111110111111111011111111111110111111111111111111111111111111111111111111111111101111111111101001010111111111111111111111011011111111111100111101111111111111111110111111111011111111111111111111111111111011111101111111111011011010111111111111111011111010111111111111011111111110111111100111111010111111101111011111111111111111011111101011111111011101010001110111111111111111111111111111111101011111111011111111011111111111101110111111101010111111111111111111111111111101111111111111110110111111101111011111110011101011111111111101111011111111001101111111110111101111111011101111111111110111011001111111111111111111111111111111111111011111110011001110111101111111111111111101111111111111111111111111111111111011111111111111111111111111111101111111111111111110111111111111111111111111111111111111111111111111111011111101111111110111111111101111111111111111111111111010011011111010111111111110111111111111111011110111101111111011111110111111111111111111111111111011111111111111111111111111110111111111111111010011111111111110111111111111111111111111111111101111101111101111011111111111101111011111111010110111111111110111011111111111111111111111111111111111111101111111011111111111111111111111111111111111111110011111011011100001111011101111111111111111111011110111111111011111111111111111111111011110011011111111111111111111001111111111111010111111111111011101111111111010111101101111111111111111111111011111011011100111111111111111011111111010011011101110111111101111110111110101111101110101011101101111111111111111000111111111011011111011011111011111101111110111111111101111111111111111011111111111111101111111010111011101011111111111100111110110110111110111011110111111110111111111110011111111110110111111111111111111111111111011111101111111111111111111100111011011101101011111111100011110101110111111111111111111111011111101111100111111111111011011111111111111111011111111111111111111010011111111001110110111111111111101101111111111110111011111111111111111111111111011111111111111111111111111111111111111111111101111101011110011111111111111011111111111111110111111111111110111111011111111111101101111111111111101111011101110111111111111111111111111011111111101101101111111111111111111111111101010111011111111111111101111011111111111110111011101111110111111101111110111110111111111111010111111111111111111111011111111111011111111111111011011111111111110111100011110111111110111011110111111111110101111111111111111101011111111111101111111111111111111101111111110111011111111111110111111111111111111111111100111011111111111110111011111111111101111111111011111111111111111111111110111111111111111101110111111111111111111011111111101101111111111111111111111001111111111100011111111101111111111111111111111111111111111110011111111010111011110111111101111111111111110111111111111111111111111111111110111111111111011111110111111111111111111111111111111111111101011010110111111111111111111110111011101111111111111011111011111111101111111111111111111111111111101111110111011111111111010111111111111111111111101111100111111111111111011110111111111111110111101111110110111111111111111101111111111111111111101111110111110111111111111111111111101110111111111111111010111111111101111111101111011111111011111111111111111101110111111111110110111110111111111111111111111111111011111111101111111111111111101111111111111111001110111011110111111111111111111111111111111111011110111011111111111111101001111111111000101111111110111011011111111111111111111101000111110111111111110111111111011111111110111111111111111101111111111111101111111111111011111111111111111111111111110110111111111111111111111111111111111111111010111111101111101111011101111111111111111010111111111110011110111111111111111111111011111110101111101111101011011111111011111111111111101111111111111111111111111111111010111111011111111111111111111110110011111111111111111111111111111110111111011111011111111010111111101011001111111111111111111111011111011011111110101111111111111111011111111111111111101111111011111111111011111111101111111111011111111111111111111111111111111111111111011111111111111111111111011101111001111111101101111110111111101111101101110001101001111111111111110101110111111100111111101111111111111111011101111111111111111111111111111111111111110111111111110111111111110111111101111111111011111111111111011111011011111111010011011111011101111111111111111111010111111111111101111111111111111111111011110111101111111111111111111111111111010111111111111111111111111101111111111111111011001101111101111111111111111111110111110111111111111111110111111101111111110111101111101111111111011110111111011011111111111111111111111011100111111111111111011111111111111111011111111101111111111110111101011111101111111011111111100000111110101111101111101111111111111101111101111110110111111111111111111110111111111111111111111111101111111111101111111011111111010111111111111101111111111111001010111110101111011111111101111111101111111111111110111101111111111101111011111111111111111011011111111111111011111111111111110111111111111111111111111110111111111101111111111111110111111111111110111111111111111111111111111111111111111101111111111011111111111111110111011111111111011111111011111111111111111111111111111111111110111110011111110011111111111011111111111101101111110111111111111111101111111111111111111111111111111111111111101111111100111110111111111011111111111111011111111111101111111110101111111111111111111111011010111111111111111111111111111110111011111111100011111111111111111110111101111111111111101111111001111011111011110011001111111110111111111111110111101111101111111101111111110111111111111100110111111111111111111111101111111101111111111111111111111111111110111111110110101101111111111111111101111011111111111111101011111010100110111111111110111111111111111111111111111111101111111111111111111111111011111111111111011111101111111111001101111101100111011111111111110110111111111111111111101110111111111101111101011111011111101111111111101011111111111111111111111011111111111111111110111111111111111111111111111111101111001110111111111111111111101111111111011111101111111011111111010111111111111111110111111010011011111111111111111101011111111010110111111111111110111111110111111111011110111111111111111111111100101111111111011111111111111111111111111110011111110110110111111111111111111110101111111101111111111111011101111111111101111111111111111111111110111111111111111110111111111011111111011111011111111111111011010011111111111110111100111111111111111111111111111010111111111110101111101101011101101111111111111101111101111101111111111111111110111111111111111111111111111111111111111111111101111111111101101111111111101011111111111001111111111111111101111101101110101101101111111111111110111101111111111101111011111101111001010111101111111111111111011111111111111111111011101111111111111111101011111101111111001111111101101111010111111100111111101101111111111111111111111111111111111111111111111110111001111111111111111111101111111111011111110101110111011111111111111110111110111111111101011111111111111101111111111111111111111111111111111111011111111111111111111111111111110111111101011111111111111111111111111111111111111011111111111111110111101111101111111100111111111111101011111111111111111111111110111111111111011001111111111101111111111111110101111111111111111110111111111110111011111011111111111111011111111011111111110111111111111011110101011111101011111011111111111110111111110111111111111100111011101110111111111111110111111111100111111101111111111111111111111111111110111111111111101111101101111111111111101111111111111111111110110111101011111111111111111111111111111111111111111111111101110111111111110111101111111111111101111111111111111011111110111101111111111111111111111100111011111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111011111111111111011011111111111111110111111111111111110011111101110111111111111110111111101011011111111110111111111111110110111111111111111111111111111101111111111111111111111111111111011101111111111110111110110101111111111111111111111111111011111111111111111111111101111111111110111111111111111110101011110111111111110110111111111111111111101111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111001111110111111111111111110101011111011111111111101110111111111101111111111111111111111111111101101111111101111011111111111111111111111111111101101111111111111001111111111110111110110111111111111111111111101111111111111101101111111111111110111111101111111111111111111101111111111110111111011111011101000111101111111111111111111111111111111111110111111111111111110111111111111110111111111111111110111111111111111111111111111111111111111111111111111111101111111110111110110111111111011101111111011111111111111111111111111111111111111111111111111111101011111111110101111111001111101111111111111110111111110111111111110111111111111111111111111111101111111110111111111111111011111111111111111111111111010111111111111101111011111111111111111111110111111111111101111111011111111111111111111111111111011111101111101111011011111111111110111111111111111111111011011111111111111111111111111111101110111111111011111011111111011011111111001111111011111111011100111111110111111111111111110111111111111111111111111101111111111111111011111111011111111111111111111111110111111111111111101110111111111111011101101111001111101101111111111111111111111111111111111111111101111111111111111111111111111011111111111011111111111111111101110110111111111111110111111111101111101111111110110110110111111111010111111111111110111111011110111110101110111111101111111111111111111111111111111100111111111111111111111111101111111111111111111111011111111111110111111111110111111111110010110011111111111111111111111111111111111111111111111110111101111111111111111011111111111111111111111011111111110111111011011101111111111111110110111111011111111001111111111111111111111110011111011101111111110111011010111110111111111111111111111111111111111111111111011111111111111111101111011111111111111111111111110011111111111111101110111111101111111011111111111111111111111111111111111111101111111111111111111111111111010111111111011111111111111111111111110111111111111111111111111111101111111111100111111111111011111111111111110011011011111111111111111111111111111011111111111111111111111101111111111110111111111111011111111111111011111111111011101000111111011111111101111001101111110111111111110111111111111111101111111111101111111010111111111111011110111111111111111111111111111110111111111011111111111011111110001111001101111111111011111111111011111111111111111111111111111111111110101111111111111111111111100111111111111111111111011110111110101111111111111011111111111101111111011110111111111101111111111110111111111101111111111111101111011111111111111111111011111111111111111111111111111101101101110111111111100111111110011111111110011111011111111111111111111111111111011110111111011111111111111111111111111111110111011011111111111111111101011111111111111111111111101111111111111011111111111111111111111111110111111111111111111111111101111111111111101001111101111110111111111111101101101011001111011111111111111111101111110111111101111011010111111111111111011111101111001111101011100011101111111101110111111111111110110111111111111111111110111111111011111111111111111111110111111111110111111111111011011111111111110111111011111111111111110111011110111111111110111111011111111011110111111111110100111111011111111111111110011011110111011111110111111011111111111011111101111111110111111111111111111111111111110011011111111111111110111111111101111101111011111111111111111111011101111111111111111111111111101111111111111111101111011111011111111111111011111111111111101111111111111111111110111111111111111110011111111111111111110111110110111110101101111110101111111111111111111111111111101111111111111111011111101101111111111111111111111111110111101111111111111111110110111010111111111111111111111111101111111110011111111111111111111111111011011011111110101111111111111111111110111111011111111111111111111101111111111111111111111111011111111111111111111011111110111111111111111111101111011111111011101111111111101111111111111111111101111111111010111111111110001111110111111111111111011110101111111111111111101111011111101111111011111111111110110111111111111110111111011111110111111111111101111101111110101111101111111011111111111111111111111111111111111111111111011111111011111111111111111111111111111111101111111101111111011111011111111111111111110111111111111111011111111111111111111111111111011111111011111111111111111111101101111011111111111111111111111111111111111111111111111111111111011110111111111111111111111011111111111101011111111111111111111111111101111101011101111111111111110111111111111111111111111011101111111111111111111101111111111101101011111111111111111011110111111111110110111111011111011101111111101111011111011111111111111111111101111111111111111111111111111111111111111111111111110110011111111110111111111101111111111111111111111111111101111111011010111111111111111111110100111111111111111111101111111111110111111011100111111011111111111111111111111111011111111111111111111111111111111111111011011111111111011111011111111011011111111111011111111111111011011011111011101111111111111111111111111111110111101111111110101111100111111011111111110111111111111111111101110011111111111101111111111110111111101111101110111111110111111111111111101110111111111111111111111111101111110011111111111111111111111111111110111111110111101000111111111111111111110110101111101111111111111111111111011111111110111111111011111111111111111111011011111110111011111101111011011111111111111111111011101101111111111111110111111111111111111111111111111111111111111111111011111100111111111111111111011111100111111111110111111111111111011111011110110111110111111111101111111011111111111110111111111011111111111111111111111111111100110111101111011111111011111001111111111110111111011111111111111111110111111111111111111111111011111111111111011111111111111011111111111111111111111011111101111111111111111101111111111111110111111111111111111111111111111111011110101111111110111111111101100111111101111110111111111111111111111101111011111111011111111011111111110111111111101111111011101111111011111111101101111111111111111111111011110111111111101111011111111111111111111111111111111111111011111111111101111111111011111111111111101111111111111111111111110111111111111111111111111101101111111111111011111111111111110111111111111101001111111111110111111111110111111111111011101111111111111111011111111111111111111111110111011111111001111111111110111110011101111101111101011111111111011111111111111111111011101001011111111111111111111100111101110111111111111111111111110101111111111011111111111111101111011111111110111111101110011001111111011011111111111111110101111111111111111110111011110110111011111110101111111111101111111111111111111101111101110111011111111111111111111111111111111111111111011111111011111110011111110111111111111111111111111111111111011111111111111111111111110011111111111110011111111111110111111101101111111111111111111111110101110011011101110111111111110111111111111111111111111111111111101111110111111111111111101111011111111111101111100111111101101110111111111111011111111111101111011101111111011111101111110111110111111111101111101111111101111111111111110111111111111111110111111111111111101111101111010111111111111011010111111111011111111101111111111001011111111110111111110011111111111111111111111111101111111111110111111111010101111011110111101111011111111111111111111111111111110101111111111111111110111111111110111111111011111111111111101111111111101111111111111111110101111111111111111110011111111111110111111111111111111111111111111111110111111111111111111101011110111111111101111111111111111111101111111011110111111111101111111111101110110111111111111111110111111111111111111111111111111111111111011111110111111111111011111011011111111111111011111001111111111111111111111111111111111111011110110110110111011101111100101111111011111110111111101111111111111111111111111111111111011111100111111111111101111111111111111111011111110011111111111111111111111111111111111111111111111111111011111111111111111111111110101111111111111111011111110111110111111110111101111111111111111111111111011111111111111111101111111011111111111111111101010111101111110011101111111111110110111111111111111111111011111111111111111111011111111111010111110111111110011110111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111110111011101111111111111111011111111111101111111111111111101111111111101111111111111111111111111011011111111111111110111111101111111011101111111110110111111111011111111110111111111111111111110111011011111111111111110111001111111111111100111111110101111111111111111111011111111011111111111111111111111111011111111111111111111111111111111111111111111111111111110111111111111111011111111111111111111111111111111111101111111101111111111111111111111100011111111111111101011111111111111111110111111111101110101111111111111011111111111111111111101111111111101111111011111111101111111101011111111111111011111101111011111111101011101110111111111111111111111111101111101111100111111111111111111001011111111111101110111111111110111010111111111101111111111111111111111011111111111111111111111010111111111111111111111111111101110111111111101101111101011111011111111001111111111101111111110101101111111111111111111111100111111111111111111111000111111111111111011111111111111111001111111111111001111111111110111111011111111011111111111111101011111110111101111111111011011111110111011111011111111101111111101111111111101101111110111111111111111111111111101111111011111110101100111111111111111011101010111111111101111111111111111111011110110101111111111111111111111111111111111111111111111111111111111111111111111111111110111011111111011111111111111111011011111110011111111110101011111111111111111001111111111111111111111111011111111111111111111111111111111111110111111011110111110110111111111111111111111111111111111111111111111111110011111111111111111110111111111111111111111111111011111110111111111111011111111111111111111011011111111111111111111101111111111111111111111111111111111111111111111110111111111110111111011111100111111011100111110111111111101111111111111111111111111111111111111111111101110010111011111111111111111111111111111111111011111111111111110111111111111111111111111101111111111111111101111111011111111111011111111110011111111111110111111111110111111111111111111111111111111111111110111111111111011010111111111111110111101111011111111011111111111111111111111111111111111111101001111111111111011111111111111011111111111111111111110111111011111111111111111111110111011111100111111111111101111111111111111111111111111111110011101111111111111111111011111111111111111111111111111111111111010111111111111111111111110111111101111110110111111111111111110111111011111111111111111111011111111111111111111110110111111111101111111111111111111010111101111111011101111111110111011111011111110111111111111111111111111101111111111111111011111101101011111111101010101111110111011111110111001110010100111111101011111011111110111111111011111111111111111111111110101101111111111111110111111110011111111111111111111111111110111111111111111111111111111101111101111011111111111111111111111111111101111110111111101111111111111111111111111101111111111101110111111111111111111111111111111111111111111111110011110111111011101111011111111111111111111111111111011111110011111110111110111111111111111111111101111101111111111101111110011111110111111101111110111111111111011111111110111111111111111101111111111111111111111111111111101001111111110111111111111101111111110111111110011011111111110101111111111111111111111111111111111101111111111111111111111101101111010011110101110011111111011111111111111011111111111111111111111111111011111111111111011111111111111111111110111111111111111110100111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111110111111111111100111111111111111110111111111111111111111111111111111111110011111011111111110111111111101011111110111111110111111111111111111111111111111111101111011111110111111111111111111111111111111111111101111101111111110110011010111101011111111101111101111111111110111111011111111111011111110111111111111110111110110111111011111111101111011111111111111011111111001101011011111111111111111111101101110110111111110101011111111111111011111111111100111111111111011111111111111111111111111101111111111111111111111110100111011110111101111111110111111111111111111111111111111111110110111011111111111111111111011010111110111111111101101111101111111111101111111110111111111111011111111111101110111101111111111111111111111111101001110111111111110111101111111111111111111111111111101011111111111111111111011110111111111100111111111110111111111111111111111111110111111111111111111111111111111111111011111111111011111101111111011111111101111111111111110111111111111111111101011101111111111010101101111011110111111110111111111111111011110111111111101010111011111111011110111011111111111011111110111111111111111111111111101111111010111111011110111011111111111111011111110111111110111111111101111111101111111110011111111111111111111101111111111111111111111111111111111110111111011111111111111110111111111111111111111111111111111111111111011111111111111111111110111111111111111111111111111011111110111111111111111101111111110111111111111111110011111111111011011111111111101111111111111111111111111111111011101111110101011011111111111111011111100101110111111111111111111111110111111101111111110111111111111111111111111111110111111101111110110111111111111111111111111111111111111110111111111110111111111111111111111111111111111011011011111111111110111111111110111101011111111111101111011111111101101110111111110100110111110111111111111111111011111111111011111111111111111111101110111011111111111111011111111111101111111111111111111111111111111111111111011001001101111111111111111111111011111111111111100111111101111111111111011111111111101011111111110110111110011111111111111110111111101111110100111111111111111011111111111111111111110111111110010110111101111111011111111010111111110101101011111111110111110110111111111111111111111111110111111111111111110101111111111011111111011111111111111111111101111111111111111111111111101111111111111111111111111111111111111111111111111111111011011111111111111010110110111111111111111110111111111111111111111011111111111101111111011101111011101110111111111111111111111111110111111111111111111111111110111110111111111111110111111111111111111111111111100111111101111111111101011111010111111111111111111110111111111101111111111111100111101111011111111101101111111111111111111111111011110111101101111101101111111111101011111111111111111110111111011111111111111111110011110111111111111111110101111111101101111111111101111111110111111111111111111111111111101111111111111111111111111111111111111111111111111111011111111111110100111011111111111111001101111110111111111111110110111111111111011111101111111110111111110111110111011111111111101111111011111011111111111001101111111111111111111111111110111110111111111111111111111110111111111111011111101111111110111111111011111111011111111111111111111111111110110110111011111111101111111000110111111011111111111111100111111110111111111111111111110111011111011111111111111111111111111111011111111111111110101111011111111111111111111111011111111101111111111111111110111111110111011111111111110101111111111011111111111111111111011111111111111111111111011110110111111111110110111111111111111111111111111111101101111111111111111111111111011111111111111101111111111111111110111111111111111011101111111111110111111111111111111101111111111111111101011111011110111111110111110111111011111111110111111111111111111011100101110111011110111111111111111101111111101111101111111100111110111111111111111011111111101111011110111111111111111111111111111111010111011111111111111111111111111111111111111111011010100111111111111111111111011111111111101111111111100111111111111111111110010111111111111110111011111111111111111110111101111101111111111111111111101111111111011111111011111111101111111110111111111011111111111011111111111011111111111011110011111111111111111111011111010111110111111111111111111111111111111011111111111111111111111111110111111111111111101111111111010110111111110110011111110111011110110111111111011101111111111111111111111101101111111111111111111111101111111111110111111111111111101111111111111111111111111111111111011101111111111111011111111011101111011111111110111111111111111110111111111111111111011010111110111011111111111110111111111111111111111011111111111110101111101111111111111101111101111111111101111111111111111111111111101111111111111111111111111111101011101111111111111111111111111111111101111111111011111111111100111101110101111111111111011111111111111011011011111111101111011111111111111111110110101011111111111011111110111110111111111111111111101111110111110111111111111101101110111111111111111111110111111011111111111101011100011111111111110101111111101111111111111111111111110111111111111101111110111111111111111011111111111101111011111101101101011111111101111110101111101111111100111111101111111111111110011110111111111101111011011110101101001111111111111111111011111101111111111111011111011111111111111111111111110110111111111011101110111111111111110011111111111111111101111111011111111111111111110111111111111111111110111111111111110111111101111111111011101111111111111111111111111111101111101001111110111111111111111111101111011011111111111111111101111111111111111111101111011011001111110110111110100111111110111111111111110101111111111111111111111111010111110011111111111111111111111111111111111110111111111101111111011111111111111111111111111111111111110111111101111111111111101111110111111111011111111111111111111110110111011111011111111111111111111111111111111111111111111111101111111101111011111110111111111111111111111111111111111111111111011111111111110111101101111111110111111011101111111111111111111100111111111111111111011101110111111011101111111111111101111110111111111111111101111011011111111111111111111111111011111111111111111101111111111111111111111111111111111111111111111111111110110111111110111100111111111111111111111101111111111111111111111110011111101011101101111111111111111111110111111011111111101111111111111111111111101111101111111111110111011010111101111111111111111111001111111111111111111011111111111111111111101111111111111111101111101101111111111101110111110110111100110111111111101111111111111111111110111111111111111111111011111111111110101110011111010111110111111111111101111111111011111111111111111111011110011111111111111111111101111100101110111111001101010111111101011111111111111110111111111111111111111100111111111111111110111101111111111110111111111110111111111100111111011111011001111111101110111111111111011111111111111111111111111111111110111011111111011101101111111111110111111111111111111111111111111001111111111111111011111111110110111110111111110110101111111111101111011111111111110111111111110111111111111111111111011111111111111111110111101101011111111101111111111111011111110111111111111111011111111110111110111111111111111000101111101111111111111111100111101111111111111110111111111110111111110111111111101111111111011111111111111011111011111111111101101101111111111111111111111110111011101111111101111111110111111111101011111111101111111111111101101111110111111111111110111111111101111111111111111110011101111110101110111100111110101111111111111111111111111111111101101111111111111111111111111111111111111101101111111110111111101111111111111111111111111101011111111111110111111111111111111111111111111111011010111111110101101110111111011111111111101111111111011110111111011111111111111111111111111111011101111111111111111111111000111111111111111111100111111111111111111111111111011111101111111111111110101101111111111111111111111111111111011111111111111111111111111111111111101111101111111111111010111110111111011111010110111111101111111111111111111011111111111111111111110011101111011110111111111111101111001101111111111111111111111011111101101101111110111111111111111110011111110111111111111101111011110111011111111111111101111111111111111111111111011111111111110011111110111111101111101111111011111111111111111111111111110101111011111111111111111111111101110111111111011111111111111111110101111111111111110111111110011111111101111111111011111110111101110111111111111111101110111111111111111111111111111111111111111111101111111011111111101111011111111111111101111011111111110111111111101111110011111111110111111111111111111111111111111111111111111101111111111111111111111111101111111111101001111111101001111111111110101111101111110111011111111111111101111011111111111111110111111011100111111111111100010111101011111101111111111111111101111111111111110011011111110011111111111111111111111111101111111011011111011011000111101111111111111111111110111111111111111111101111111111111111111111011111111111011111111011110111111111111111110101111100111111111111111011111110011111111111101111111111111111111111111111111111011011111111111111010111111111111101111111111111111100110111111101111111011110011011111110011111111111110111111011111011111111111111111110111111111111111011111111110111111111110110111111111111111111111111011111111011111111111111111111111010111011011110010011101111111111111111111111111111111110111111111111011110111111111111111111111111111111111111111111111111111111010111110111011101111111111110111100011111111111111111111111111101011010101111101111111101111111111110111110011111111111111111110111011110111011111011111011110101101111110101111111100111111111011111111110111111111111011111111111111100110111111111010111111110111011011001111110111111111101011111111111010111111111111111111110111111110111111111111111111111110111110100111001011111001100111111111110011111111111111110111111111111111111111111111111111101110111111001111111011111111110111111111111111111101110111111111111111111111111111011011111000111111111111110110110111111111111011111111011111101001111111101111110111111110111111111111111001111111111111111111111001110111111111111111110111101111101011101111011110111011011110111111111111111111111011111111111111111111101110111111111111011111111111011111111111111111111111111111110111111111111111111111111111101110111110111111111101111111111111111111111111111111111111111111101111111110011101111111111111111111111111011101101101111111110111111111111011111111111111111111111111111111111111110111101111111111111111111101101110110111111111111111111001111111111111111101111101010111111111101111011011111111111111111110111110111101110111111111011111101111111110111111101111111111111101111110111110111110101111111111111111101011011110111011111101111110110111111111111101111111111111111111111111011111110011111111011101111111110111111111111101011101111111111101111111111111111111111111101110111110111010011111111111111111111111111111111111111010111111111110111111111111111111110111111111111111111111111111001111111111101111011111111011011111011111111011111111111111111111111111101111111111111111111111011111111111111111111111001111010101111111011011111111111111111110111111111111111111101111111111111111111101111111111111111111111111010111111111011110111111111111111111111111011111111010110101101111111011111111110111110101111111111110111111011111111111011111111111111111111111100111111111111111001111111111111101000111111111111011111111111111110101011111110110101101111110110111111011110011101111111110111111111111101111110101011100111111111111111111011101011111110011101111101111111011110111101111101111111111111111111101111111111111111111111111111111101111110111111111011111111111111011111111111111111110111110111111101111111101111111111111101111111111111110110011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111011011111111111111011011111111111111110111111111111111111111110111111111111011111111111111111111111111111111101111111110111111111111110101110111111110111110111011101111111011111100111111101111101111111111110001111101101111111111111011101111011111111111111011011101111111111111111111111110111110111110111111111111110111110111111101111111111111111111111111111111101111111111110101111111111111111111111111111111110111111111011100111111111111111111111111111111111111111111111111011011111111111111111111111111111111111111101111011101111111110101111011111111111111110110001110111111111111111111111101111101111111111111111111111111111110111111111110101111111101111011101111110111111111001111111111111111111111111111111111111111111111111011111111101111111011010111011110101111111111111111111111111111111011111111111111111011111111011111111111111110111111111101110011111111111111111111111110111111111111011111111010111110111111111101111111111001111011111111111111101111111111111111111111110111101111111111111111111111111111111101111111101111111111110011111111111111111101101111111111111111111111011111011111111011111101111111111111101111011111101111111011111111111110111111111111111111111011101111111111111111111111101111111111111011111111111011111111101111111111101001111111101111111010111111111111011111111101111111011111111111111111111111111111111111111111101111111111111111011111111011111111111111011111110111111111111111110111111110111111111111111100111111111011111101111111011111111111101111111011111101111101111101011101111111111111110111111111111011111111111111111111111111101111110111111111111011001111101111111011101111111111111110111111111001111111111101111111001111111111111111111111111111111111101111111111101111111111111111111111111111011111110111111111111111110111111111111111111111111111110101111111111011111110111111111111111111111111101110011011111111111111111111111001111111111110111111101111111110101111111001111111111111111111111011111110111111011111101111110111111111111111111110111111111111111101011111111111111111011111111111111111111110111110111111111111111110111111111111111111111111111111011111011111111110111111111011111111111111111010111111111011111101111111111111110111111111111111111101111010111111110111111111101111111111101111111111110111111100111011111110011111111101111111111111111111011111111110111011111101111111111111111011111110111111111111111111111111011110111011101111111111111010111111111111011111111111111111111111111110111111111111111111111111110011111110111111111100101110101111111110101011101110111111111111111111111010111111111101111111101111011111101111001111110111111111111111111111001111111110111111111111111111111111111111111011111111111111111110111011110111101111011111111111111011111111111111111111111110111111111111111111111111011111111111111111110111111111011111101111011111100111111111111111111111111111111111111111111111111111101111111111111011111111111111111111111111111111011101111110111111111111111111111110011111111111100111111101111011111001111111011111110111111111111111110111011001111111111111111111111111111111011110011110111111111111110111110111111111111101111111111111111111111111111011101111111111110111110111111110111100111111111110111011111111111111101111111111011111111111111111111111111111011110111111111111111111111001111110101011010111111110111011111111010111111111111111111110111111101101111111011111110111111111111011111111111111110111101111110110011110111011111110111011111111111011111110111111111111111111101111111111111111011111111111111111111111111011111101101111111111011101111111111111111011111110111010111111011111110110111111111111111100111111111111101101111111111111111111111011111101111111111011111111111111111111111111111111111011111111111111111111100111110111101110111111111111111101111111111111111111111110111110111011111111111111111101111011111111111111011111110111111101111111111011111111111111111011111011110101111110111111110111111101111111111111101111111101111011111111111101110111111111111111011111101111111111111111111101111101111111111101111111111110110111111111111111111101111011111111111111111111101111111110111111111111111111111011011111011110111111111111111111111111111111111011111111111111111111111111110111111111111100101011111111111111100110111111110111011111111101111111111111111111101011101111111111111111111111111001111110011110110111111111111111111111011111111111111111111111100111110111111111110110110011111111111000111111110110101111111111111111101111011011111111111111111111111111011110111111111111111111111110111110111111101011111111111111111111111101010110111111111111111111101111111111111111111111111111011110100111111111111111110101111111111101111111011111111111111111011111111011111011011011111100111111111111111111111111101111111111111111101111111010111111111111111110111111111111111111111111111111111111111111011101111111111111111111111101111111111001111111110111111111111111111111111110111101111111111110111111111111111111110110110111011111111111111111110111111111111111111111111111111110110111111110111111110101111111111011111110111111111111111111111101111111111111111111111111111111111111110111111111111110111010111111110111111111111101111111011111011011111111111111110111111111111111111111111111111111011111111111111111111111011101111011111111111110111111111101111111111111111111111110110101101101101011111011111110111110111111111110111101111110111111011111110111111111111111111111111111111111111111011101111110111111111011111111011111111111111101111101111111111101111110111111010111101101111111111111111111111111111111110111111111111111011111111111111111110111111011111111011111111101111111010110111111111111110101111111111110110111111111111111111111111111111111111111111111111111110111111101111111111111111111111111111111111111111011111111101110111011111011101111111101111111111101101111111111111111111111111011011111110011111111111100100111111101111111111111110111111111111111111111100111111111110011111111111111111011111111111111111111111011111111011111011111111111111111111111111111110011111111111111111111111110111110111011111111111111011111101111111111111111011111111111110111111011111010111011111110110111111011111111111101111111111001110110111111111111101111111110111001111111111111111111111111111011111111011111111110111111111111111111111111110111110111111101111110111111111011111110111111001111111011101100111111111111111111111111011110101111111111111110101100111111111111111111111111111110111111111111111010111011111111111111110111111111111111111111110111111111110111111111011111111111111110101111111111111001111001011111111111111111111111111011010111110011111111111111111111011111111111111011111111111111111110111111110110011101111111101111111110111101111111011111111101011111111101111111111111011111111101111011101111011111111101110111111110111111111111011110111111110111111111111111111110110111101111111111111111111110111010100111111111111111111111111111101111111111111011111011111101111011111110111111111111111111111111111111111111111111111110011111111111111111111101111101111101111111101111111001111111110111111111111111111111011111111111111111111111110111111111101111111111111111111001101111111111111111111111111111111111111110111111111111111111111111111111111011111111111111111111001110011111111111111110101101101111111111011111110111111011010110111111110111110111111110111111111111110011101111111111111111101111111111011011110111111111111111110111111111101111011111011101011111111101111011111111111111110111111111111111101111111110111110111111111111111111110111111111101111111111011110111101110111111111101111111011111111111111111111111111111111111111111111101111111110011111111111111111111111111011111111111111101111101111110101111111111101001111111111111110111101011111111110111111111111111111111111111011111111111111011111110111101111111011111111011111011111111111111111111111111111110111011111110011111111111111111111111110011111111110111111011111111111111111111111111111101111111110111111111111111101111111111111111111111111111111111110111101110101111011111111111111111111011111111111111101111101111111110111111111011111110101111111111111111111101111111011111111111111011111110011110111111111111111111111111111111111111110101111111111111111111101111111111111111111101101111111111111110011111110111011111111111101111111111111111111011111111111111001111101111111111101011111111111111111111111011111111111110111111111111111111111111111110111101111101111111111001010101111110011111101111101111110110111101111111111011111111111111111111111101111011111111111111111111111111111110011111111111111010110011001011111011111111111110111111111111111111111111111111111011111111111011111111111111111111111111111111111101111111110111111111111111101110111111111111111111010111111111111111111111111111111110111111111111111111111111111110111111111111111110110111110111011110111111111111111101111111111110111111111111010110111011110111111011011111111111101111101101011111111011101111101111111111001111011111110111111110101011111010111111101111111111011111011111111011111111111111111111101110110011111111111111111111111111111111011110111111111111111110111110111111111110111111111111111111011011011111111111111111110111111111111111111111111111111111111111111111111111111111111111111111011111111111100111111111110111111111111111111110111111111111111111111111111111111100111011111111111101111111111111111111111111111111111111111111111111111111111011001110011111101111111111111101111111100101111110111110011011110110101011111111111111111111101111111111111111111111111111111111011111111101111111111111111010111100011111111111011101111111011111111101111110110111011111111111111111011111011111111111111111111111110111111111110110111110111111111111111111101111110111111111111101111111110111111101111111111111111111111111111111010101101111111111111011111111011111101101111111111110111111111111111111111111101111111110111110111111111111111111111101111101111101111011111111111111111111111111101110111111110111110111111010111111111111111111111111111111111101011111100101110101111111011111111111011100111111111111111111111011111111111110111111111111111111111111111110011110111111110110111110111111111111111111111111111111111111111111111111011100111011111011111111111111111111111111111111111111111111111111111111111110111010111111011011111111110111111111111111111111111111111111011110111111111011111111011111010101111011111010111111011111111111111111111110111111111110111111111111111111111011111101111110111111110111111111001111111111111111111011110111101111111101111110111111111111101110111011111111111111111111111100111111111111111111011111011111110111111111111110101111111110111101111111111111110110111111111111111110101111111111111111100111111111111111111110101111110110111111111110111111111111111111110110111001111111011111111011111111111111101111111111110111111111101111111111111110011111101111111111101111111111111111110111111111110011101111111001111111111111111111111110111111101111110111111110111111111111011011011111111111111111101111111011111011111111011110111111101111101010101111110001011011011101111011111111111111110111111111111111111111111011101111111111111111111111111111111111101111100111111111111111111111111101011111111111111111111111110111111111011011011111111111111111101111011101111111111111111111111111011111111111111101111111101101111111111111011111111111111111111011111011111011010111111111111011111111111111101111111101111111101111011110101110111111011111110111101110111101111111111111110011011111111111111111111101101111111110111011111111111111110110111111111111111111101111111111101110111111111111111101111011111011111111111111110111111110110011111111111111111111111111111111111111111111111111111111011111111010111110111101111111011111111011110011101111111111111111011111111111011111111111111111111011101011011101111011111111111101111010111111111110111111110101111111111111111111011101111111000111111111111111111111111101111101111111111110111111111111111110111011110011001111111111011111110111111111111111111111111011111111111111111111100011111111111111011111111111111111111111011111011101111111111111110111111111111111011101011011110111111111111111111011111111111111111111111111111111101110111011111111111111111111111111111111111111101111111111111111111101111111111111110110101011111011111111111111101110111111111111101101111111111111111111111111111110111011111111011110111111111111111111111111111111111111010101111111111110011111111011011111111111111101111111001111101111111111011111101011111111111111111101111111111111111111111101111110111111111011111001111110110101011110111111111111111110011011111111111111111111111110111111011111110111111111111111111011111111111111111111111111111011111111111111111111101010111101111111111111111111111111111011111111111111110111111111111111011111111111111111111111111111111111111011111111111011111011111111111111111111111010111111111111111011111111110111111111110111111101111111111111111111101111111111111111100110111111111111111111110111111111111101101100011111111111111111011110110011111111111110111011011111101111111111110111111111111111001111111110111111111111111100111111111111101111111111111111111111111111111111111111101111111111011010111111101111111111011110111111110111010111111111111111111111101101110111111111011111111110111111111111111111011111111111111111111110110111001111101111111011111111111111001111111011111111111111111111111111111111111010111110011101111111011101111011101111110111111111111110111111111111101111010111111011101111111111111111111111111111011111111111111111111111111110111011111111011111111111111111111111111111111111111111011111011111111011111101111111111011111111111111111110111001111011111111111111111011111111111111110111111111110111111111111111111110111111011110111111111111100110111111101111111111111111111111111111011111011111111111111111111111111111111111111010110011111111111111111110011111111111110111111101111111111110010111110111111111111111111111111011111111101111111001110111001111110111111111111101101111111111111101011111101101111111111101111111111110111110110111011111011111111111111111111111111111111110111101111111111101111111111111111111111101111011111111111111111111110111111111111111111111110111111111011111111111111111101111011110111111111101110111111111111011111111111111111111011111111011111111111011110111111111111111111011111110111111011011111101111111111111111111111111111110111011111111111011111111110111111111111111111111111111111111111111111101111111110111110111111111111111111111111111111111111111111111111111111111111111111111011111111111111111101111110111111111101101111111111110111111110111111111111111111111101111011111111111111110101111110111111011111111011011111011111111111101110111111111111111001111111111111111110111111011111111111111111111111101111111111111111111111111101111111111110111111111111111111111011011111111111111001110011111111110111110111011110101110011111101111111111110010011111111111011110111111111111011111110111111110011111111011111111111101111111111101111110101111111111011011111111011111111101111101111111111111011111111111111111111111101011101111111111111011011111111111111111111111111111111111111011010011111111011111110111111111101111111111111111111111111111100111111111110111111111111111101111111111111111111111011111111111111111111111101111110111011111111110111010111111111111111111111111111111111110111100111111111011111110111111111111111101111111111111010111111111111111111111110111111111111111111111111111111111111111111111101111011111111111110111011111011111011111111111111111111111111110111111111111111111110100100111110111111111011111101111111111111111111111111111111111111111111111111100111011111111110101101111111111111111111111111101111111111110111111111111111101111011111111110111111111111011111111110111011111111111010111101111111011110111111111101111111111111010111010011101011111111010111111111111111110111111111111111111111111111111111111111111011110111111111111101111011111101111111111111111110111111111111101111111101111111111111011011110101111111111111101111111001111111111111111111001011111110111111111101110011111110111111111111011111111111101000111011111111101111111111111111111011111111111110111110111110111111101111111110111111011111111100111111111111111111111111110111111111110111111101111110111111111111110111011111111101011111011111111111111111111111111101011111011110110111111011111111111110111111111111111111111111111111111111111011101111111111111011011111011101111111101111011111111101101111111111111111001111111111011111111111111111111101110110110011111111111001111111111101111111111111111111101111111111111111111111111111111111111111111111111011011111111101111110101111111110011111111111100111111001111111011111111111111111101111110111011111111110111111011111111001111111111111111011111111111111110011111111111111111111111111011111111100110111111011011111101110111011111111100101111110111111111011101011011111111111111111111010111011111101100111110111101111101111111111111111111111111111111111101111101101110111101111101111111111111111011111101111111111111111111111111111111111111111111111111111111111111101111011111111111111111111111101111111111111011011111111111111111111110111111011110011111111110111111111111111011111111111111111111111111111111111111111111111110111011111110111110111111000111111111111110111111100101100111011111111111011011111111111111111011111001111111111111110111111111111111111111111011111111111111011111111111101111111111111111111110101011011111111111111111110111011111110111111111111101111100111101011111111111111010111111011111110011011111111011111111101111110111101101101111011111111111111111111111111110111111101111111111111111011111111111111110111111111111111111111111111111111111110111011111111110111111111111110111111110111101111101101011110111111101011111111111111111111111111011111111111111111011101101110111011110111111100111111111111111111111101111111111111011111111111111111111111110111111111111101111111111111101111111111111111111100110011111111011111111111111111011111101111110111111111110011011111111011111111111101111111111111111011111111011111011111011111111111011111111111111111111111111111011111111111111111101011111111111111111111111111111111011101111111111111111110111111111111111111111011001111111111111011111011011111111111111111111111010111111111111111111111011111111101110111111111111111111111111110111111111101111111111111011111111111011011111111011111111111101111111101111111111111111111101111110111111011111111111111111111111111111111110111111010001111010110111111111111111111011110111111111111111111111111111111101110111111111111111011111111111111011111111111111111111111111111111011111111110111111111111110111110011011111111111111111111111111111111111111111101001111111110111101111111111111111111111111111101110111111111111111111111110011011111111111111111111111101110111111111111111111111100111111011111111111111101111011010111111111011111111011111111111111111111110101111111110111101111111011111111111111111111111111111111111111111111111111010011111111011111111111111111111111101111101111111111111111011110111111111111111000111111101111111111111110111111111111111011011111111111111111110111111111111111111111111100111111111111111111111111110101101111111111111111111111111111101111111111111111011111111111111111111111111111111111111111111101111111101111111101111111111011111111111111111111111111111110111110111111111110111110111111011111101111111101011111111101110111111110111011111101101101111111111111111111111111111111111011111111111111111111111111101111111111110111111011111110111111110111111110111111011111111101111101111111110111111111011111111101111111111111111011111111111111101111111011111101111111111111111111111111111111111110011111101111111101111011111101111011101111111111111111111111111111111111110111111110111111111111101111111011001111111111110111101111111111111100011111111111011111100011111111111111111111011111111101111111111111111111101111111101101111111111111011111111111111111111111111111110111001111111111111111111110111110111111111111111111111111111011111111111111111111011111111111111111011111111111111111111100111111111111111111111111111111111111111111111111111111111111011010111111111111111111111111111111111111111111111111101111111010110111111111111111111111111111110111111111111111111111111110011111111111111111110101111111110111101101110111111111110101110111111111111111111011111110111110111110111111111001111111111111111001111111111111101101011111111111111110011111111111111111111111111111111111101101111110111111100110001101111111101111111011111111111111111110101111111011010110110111111011111111111111111111111111111111111111111111111111100111011101101111111111111111111110111111111111111011110011101101110101111101110110111111111111111100101101111111101111111110111101111111111111111111111111111111111111111111111111111111101111111111111101111101111111111111111111111111110111100111111111111111111111111101110111011111011110111111011110111111111111110111011111111011011111111111111101111110111111111110111111111111111111111111111111111111101011011111111111011111111110111111110011111101111111111111111111111111111011111011011111111111111110111111111111111011111110111000111111011111110101111111101111111111100111110011111110111111111111111111111011111111011111111111111110101111111111111101111101111111111111111111011011101111111111111111111101111111110111101111011111111111111111101111110111111111111110111101111111110111101111111111111111111101111111111111111111111111111111111111101111111111011111111110111111101111111111111111101111111111111111111111111111111101111111111110111111110011111111111111111111111111111111111011101110111011111101111001011111110111111111111111111111111111111111111111011111111011111010111101111111101111111111111111111111111111111111101111011111101101111011111011111101111011101111110111111101111111111011111101011111111110111110110111111011011101111110111111111100111101111111011111111100111111111111111111111111011111111010111101111111111010101111111101011111111111101111111111111111011111111110111111101111111111101111111111111111111111111101111011111111101111111111111110111110111011111111111111111100111111111011111111111111011111111111110111011111111111111111111110111101111111111111111101111111111010010111111111111101111111111111111111111111110111111111111111111111111111111101011111111111011111111111111111111011111011111111111010111011110111111101111111111111111011001111111111111011111111111101010111111111111111111111111110011110011111111111011111111111110110101111011111111111111111111111111111111111011111111011101111000110110111111101111011101111111111111111110101101111111111111111111111111111111011111011111101111111111111111111011111111111111111011111111111111111111101111110111111101111111111111111111111111111111111110111111111111111110111111111101111101111111110111111111111111111111111111111111111111011111111111011110111101111111011011111100111111010101111111111111101111111111111111110111111110111111111111111111111111111111111101111111111011111111111010011110111111111111111111101111101111111100111111111111111110110111111111111111110111111111001111111011111111111111111111110111111111111101110011111111111111111111111111001101111110100110011111111111101111111100010111011111111111111111110111001011111111111101111011111111111111111111111111111111101100111111111101110110101111111111111111101111111110111111101111111111111111111111111111111111111111111111111111011110111111111111011111011111111001111011111111111111111100111111111111110111111111111101111111111111111101110111011010111111111011111111111111110011111110111111111111011111111111111111111111111111111011011111111110111111011111011111111111111111110111111101111111111111111111111111111111011101111111111111110111111111111111111111111111011111111111111111111111011111111011111111110111101110111111111111111111011011011111101111111111011011110111001110011100111111111111101111101111111111111011111111110111111111111111011111011111111111111100111111111111111101111111111111101111111011111100111111111111110111110111011110111111111111111111111111111111010111111111111111111111111111111111111111110111011111111111111111111111111111111111111101110111111111111111011111111111011101111111110111111111110101111111111111111111110111111111011110111111111111011111111111111111111111111111111111111111111111111111111110111111111110111111101011101011011111111111111111111111101111111111111111011111111111111011111110111111111111111111110111111111111111101111111111111110111111111111111111111111111111111111111001011111111111011010101111101111111111101111111111111101111011101111110111111111111111111111111110111111101111111111100111101111111111111111111111011110111111111110111101111110011111111111111110111111111010111111111111111111111011111101011111111111111101110111111111111111011111111011111111110111110111111111111100111111111011110111111010111111101100011011011011111111110111111111111111111111111111111111101111111111111111111111111111111111110111100111111101011111111111111111111110011111111011111111101111111111111111111111111101111011110111010111111110111111111111111111111111110111111111101111001011111111111111111111111111111011111111111111111111111101011111111111111011111111111111111111111111101110111111011111011111111101101111101111111111111111111111100111111111111111111111111011011111111011101111110110111010111011111111110111111111111101101111111111111111110111111110111111110111111111111111111111101111111111111111111111111111011111111111111110111011111111111011111111111111111011111111111111110111111111111101111111111111111111011111111110111111111111111111111101111111111110111111111111111111111111111111101111111101110011111111111100110011111111111111111111111111111110101111111111111101111111111111111111111101011011111111110111111111111111111111111111111111111111111111101111111111111111111110111100111111111000111100100111111110111111111011111011111111111111111111101111111001101111111110111111111101010111111111111111111111111111001111110111101111111111111110111110110111011110111110111111111111111111111111010111111011111111111111101111110111111111111110111111111111110110111111111110111110111111111011111111011011011111111111111011111111111011010110110111111111111011111011011011111010111111111111111111111111111111101111001110111111111110111111111111101111111101110101101010111110111111111111111111111111111111111101111111111111111111111111111111101101111111111111111111111111111111110111111111111111111111111111111111101111101111110111111101011111111111111101111011101111111110110111101101111111011110111111111111011011111111011111110110111111111111111111111111111111111111111111111101111111111111011110111111111110111111111111111111111111111111111111111111111111111111111111111111111111111011111111101111111111011111110111111111111110111111111111111111111101100111101111111111111110111111011111111111111110111111010111111101101111111111111111101111111110111111111111101111111101111111111111111110110111111111111111111111111111111011101011111101111111110111011111111111111111111110111111110111111111111101111111111111110111111111111111110111111101111111011111111111101001011111111111111111111111111111111111111111111111101111111111110111011111111101111100110111011111110011111111111111111111111111111111010110111111111111111101111101011111011011111110111111110101111111001101111111111111111111111111100110111101111111111111111111111111111111111111011110111110011011111110111111111111111111101011111011111111111111111111111111011111011111111111111111111111101111111111111111111111110111111001111101111101111111011111011011110111111111111111111111111111111111011111011111111111111010001111111111111101111011111110111010111111111111111111111110111110111111101111111111011111111111111111111111011111111001101111111111101011011111111111111101111110010111111111101101111111001111111101011011111111101111111110011111011111111111111111111111111111110111111001111101111111111110111111111111111111111101111111111011111101110111111111111111111111111011111110111111111111111111111111111111111111111111101011111111111111111011011111110111111111111111111100101111111101111010111111111111110111111110111111111111111111011111111111111111111111111111111100111101111011011111111111011110111111111111101111111111111111101111111111111111111110000111111111111111111111111111101111111111111111111110111111111100111111101111111111111111111110111111010111111111110111111101111111101111110111111111111111111111101111110110111110111111101111111111111111101110100111110111111011111111111111111111011111111111111110111111111111111111111111111111111101111111111111110110011111111111111111011111110111111001011111111111111111111111111011101111111111110111110111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111110111111111111111111111100111101010111101111101110111111111111111111111111100111111101111111111011111111011011111111111111011111111111111011111111110111111111111111110111111110111111111111011101111111111110111110111111001111111111111110111111111011111110101111111111111111111111110111111111011110110111110111111111111011111111111111111111111101110111111111111110111111111111111111011111111111111111011111111111011111111111110111111111111010111101111110010111111111101111111111111111101100111101101111111111111111111101111111111111110111111111111111011111111110101111111111101110011011111011010111111111111111110111111111111011111111111111111101111001111101111011111101101111111111111111111111111111111111110111111111111111111111110111110101111110111111110111111011111111111111110111111111110110111100111111111111111111111101111111110101101111101111111111111111111111111111111111111111111111111111011111111111111111111111111111011011111101111111110111111001111111111111111111111111111111111111011111111111011111111111111111111111111111111101101111011011111111111110111111111111101111010111111111111111110110101110111101111101111101011111111111111111101101101111111111111111111111111110111011101111111111111111111101011111011111111110111111111111111111111111110110100011111111111111101111111111111111100111111111111111111111111111111011101111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111110110110111111110011111111010111111110111111011110111111111001111111111111011111111001111111110111111111111001111111011111111111111110111111011111110011110111110111111111100111011111110110101111111111111110111111101111111111011101111110111111011111111111011111111111011111111111111110111111101111111111111011110111110111111001111111111111111111111111111001101111111111111111111111111111111111111111011111111111111111111111110111111111111111111111101111111101111111011111011011111111111110101111111111111111110111111011111101011110111101111111111101111111111110111111111111111111001110111111110111111111111110111110111101111111111011101011101111111111111111111111111111111111111111101101111111111111111111110111101101111111111111111111111111101111111111101101111101011111111111111111011111110101111111111111111111111111011111111110101111001111110111011011111111011111111111111111111111101111111111110111111111111111101111111111101111111111111100111111111111111111111101111111111111111111110111111111111111111111111111111111111011111111101111111111111111011110111111101111111111111111111011101111101111111111111101111111101111011111001111101111111111111101111111111111111111111110111111111111111111110111110111111111111111111111111111111011111110111101111111101111111111111111111111111111111011111111110101111111111111111111111101111111011111111111011111111111011111111110111111111111111111111111111111101111111111111111011111111111110010111111111111110111111111110111111011111111101110111111111111111111111111111111111111111011110111111111111111111110111111111111111111110111111111111110111111111111111111111111111111111111111111111111111011111111011111111111111111111111110101111011110111111110011111111111111111111110111111011110111111111111111110110011111111110111111111111101111111111111110111111111111000110001101111111111101111111111111111011111010111111111111111101111101011111111001101111110011111111110111011111111011111011111110111111111111111111011111111111111111111111111011111110111111101111111110111111111011111011110110111111111111011110111111111011111111111111011110001111111111111111111111110111001110111111101111111111101100111111101111110111111111111111111111111111111111111111101011111010111111111111110110111111111111111111111111111111011111111111111111111011111111111111111110011111111111111111110111110101111101111111101111110111111111110111111111111110111111010111111111101110111111111111111111111101111111011111111111111111011111110111111111111101111111111111111111111111111101011111011111111110101111111111111011111111111111111110111111111111111111111111111111111101111111111100101111111101111111111111111110111110110111111111111011111111111011011111111001111111110111111110011111111111111111111011011111111010110110111111111111111111111011011111111111111111111101111111111111111111111110110111011111111111111011111111111111111111110111111111111111110011111111001111111110110111011101011111111111101111111111111111111101111111111111111111111101111111111101111111111111111111001111111111111111011111111110111100111011111111111111111111111111111111111101111111101111111110111111111111110101111000111101111111011101100111111011110101111111111111111101111111111101111111111111111010111111111111101111111111111111111111111111111111011111110111111111111111111111111111111011011110111111110111111111111111111111111101111111011110111111111111111111111111111111011111101111111101011111111111111111111111111111111101101111111111111100111111111111111111111111111101111111101111001111011111111111111111101111111111110111111111111111111111111111011111111011111011111111111111111111011111111111101111111110111111111111111111111101111111111111111111101101111110111111111111111111111011111110111111011111111110111011110110110111111111110111111111110111111111111101111111111111101111111111111111111111111111111111011101111111011111111111111111111101111010101101101111111110111111111111111111101111111111111111111111111101111111111110111111111111111011111111110111011111110111111111110111111111111111111110111111111111101111110011011101111111111111111111111111111111111110101111111111111111111111111101111111111111111101110111111111111111101111111111111111111011111111111111111111111111111111111111111111111111110110111110011100111111011111111111111011111111111111111101111111111010101110110101111111101101111111111111111111111111011011111111111111111111111011111111110100111111101111101111111111111111111111111111111110111111111111111011010111101111111111011011111111111011111111111111111111111111111101111111111111101011111101111111111111111111111111111101111111111011111110111111111111111111101111111111111111111111111111101111111111111111111111111111101111011111111110111111011111111111101111111111111111111111110011111111111111111111111111111110111111001110111111111111010111101111111111011011111111111111011111110111111111110110111110111011100111111111111101101111111111111111111011111111111011111111111011111111111111111111111111111111111011111111111011111111111110111111101111111111001111111111111111001111111111101110111111110101111111111001110111111111111111111011111111111110111111111111011011111111011111111111111111111111111111111111111111111111111101101111011111011111101111011111111111111111110111110011111111111110111111111010111111111101101111111110111101111111101111111111111111111111111111010011111111111111111111110111111111111111111111111111111111111011111111111100111111110111101111110111011111111011101110111111111101111111111111111110111111111111111111111111111111111111111111111111011011111111110111111101111111111111101111111011111111111111111111101111111111111111111111110111111101111111111111111111111111111111100111111111111111111111011111010111011111110101111110101111111111011101110111111111111111111111111111011111111111011111010111111101111111111111111110110111111001111111111111110111111111111111101111111111111111111111110111101111011111111111111101111111011111011011111111011111111111111111111111111111111111011111110111111111111111111111111111111111111111111110101101101111111110111111111111111111011011111111110011111111111101111111111111011111110111110101111011111111111111111111111111110111111111111111111011111110111110111111111111111111111111111111011111111011111111101111111111011111111111111011101111111110111111111111111100111111111011111111111111010111111111110111111100100111111111111111111111101111111111111100111100111111111111111101111111101111111111111111011111111111111111010111111111111111110111111111111111111101111111110111111101111011111011110111111111110111011111111111111111110011111110111111101111111111011111111110101111111110111111110111111111111111111011111111111111110111111111111111111111011111111111101011111111111011111111111111100111111111111111111101111111111111111101111111011111111111111111111111110110111111111111111111111011001011101111111011110111111101111111111111100111110111111111111111111111101011111111011111111111111111111101111111111111111010111111111111111111111101111011111110111111111111111111111111111111101111111011111111101111111111111111111101111111101111111011111111111111101101011111111111001011111111111111111111111101111111111111111111111101111110111111111100111111111111101111110111111111111111101111111111101111111111101111111010110111111001111111110011111110101111111111110111111111111110101111111111011111111111011111111011111111111011111110111111111111111111111111111111111111111111001111111101011111111011111111111110111111011111111100110111111111111111111111111111101111111111101011110110111111111011111110111111011111111111111111110111111111101111111111111111111110101111011111111111100111101110111111111111111111111111111101111101011110111111101011100111111111011111111111111111111111011011111111101100111111111111110111111111011111011111111111111011111111011111111111011111111111111111111111111111111111111011111111111110111111111111111111111111001111111011111111011111111111111111011101111111011111111111111101111111111111110111101011011101111111111111111111110011111111111111101111111111111110111111111110111111011111111111111111111111111111111110111110011111111111111110111101111110110111111111111001111011111111111111111111111011111111001011111111110111111111101111111111111111110111111111101111111111111111111111111111111101111111111111111101111111111111111111111111111100111111111111011111110110111111101111101111101010111111111111111111111111010111111111111011111111111111111111111111111111111001111111111101111111111111111011111111110111111111111111111110101111010111011101011101101111111111110111110111111011111110111111111111011111111111110111111111111110111111111011111001011111111111111111001111111111111110111110011111111111111011010111111011111111111111111111111001110111111111111111111111111111111111101111111111111111111111110101111011111011011111110111111111111111111111111101111011110111111110111111111111011110101111111111110111001111111111111111111111110111111110110111111010001111111111101110111111111101111111111111111111111110111111111111111111101011111111101111011101101111101111111111011111101101111111011111111111111011011111110011011111110011111010111101111111011111111110111111110111111111110111111010111111111111101110111111111111111111111111111111111101111111111111111111111111101101110111101111111111111111011011111111101111111101101111111111111111111111111111111001111111111111111111110111110111111111111111111101111111101110111111011111111101010111111111111011111111100111111111111111111111111111111111111111111111010110111011111111111111111111111111011111111011111111011111111111111101111111111111101101111111111110111111111111111111110101111111111111111111111111111111111111111111101111110111111111111111011101011101111110111011010111110111111111111111110111011101110011111110110111111111111111111111111111111111111111111101111111111111111111111111110111111110111011111111111111110111111011111111111111111111111111101111111100111110110101001111111111111111111111111111101111110111111111001111111111111111111111111011111111111111111111111001111111111111011101111111111111100101011111110111111101101100011011111111111111111110011011111111111111101111111111111111111111110111111111111111111111111111111111011111111100011111101111111111111111101111110111111110111101111111111101111111001111100110111111111111101111111111111111011111101111111111111111101111101011111011111111011011110111111101111011101111011111101111111111111111100110111101111111111011111111111111111111101111101101111111111110111011110100111111110111111111111101101111011111111111101111111101111111111111111101111111011111111111111111111011111101110111111011111111011111011111011111111110111111111111111111111111111111111111111111011111110111111111011111111111111111111111111111011111111111111111111111111101111111111111111111111111111111111111111011111101111111111101111111111111111111111111111111111110101111111111101111111111101111111111011000111111011111111111111110101111011111111010001111111111101110111111111111011011111111111111011111011111111111101111110101111110101111110111111111011111111111111101111111111111111111111111111101111111111111110101011111111111111110011111111111111111111111111111101111110111111111111111111111111100111111111111110111011111111111111011011111111111111111111110111111011111101101111111111011110110111011111111111111111111011111111111111111111110111111111111111111111111111111111111101111111111111111101111111111111101101111111111111111101011111110111111111011111111111111111111111111111111111111111111111111111111111111111111111111010111011111011111111111100110111111111111111111111011111110111111101111111111111011111111111111111111111111110111110111111111111111111111111111110111111111111111111111111011111111111111100111111111110111011101011111111001101111111111111111111111111110101101110111111111111110101011111111111111111111111110111111100111100111011110111101111111110111111011111111111111111111110111111111111111111001111111110110111110101111110111111111111111111011111111111111111110011111101111111111011111111111111111111110111011111011111111110111111111111111111111111111111111111111111110111110111011111101011101111101111111011111111111011101111111111111111101111111111111111111111111111011111111111111111111110011111011111111111111111111111111011111100111111111101111111111101111101111101111111111011110111011111111011111111111101111111111111111111101111111111001111111101111111111111111111110111111111111111011111111111111111110111111110111001111110111111111111111111110111011111011011110111111111111011111111111111101111111111111111101111111101111111111011111111111111111110111111111011111111101111111110111101101111111010111111111111111111111111111110111110111111111101111111111111111110111111111111101011111101111011011111111111111111111111111011111011111111111111111111111111111111111111111111111111011111111111011011101111111111111101111101111111111111111111011111110111011011111101111110010000011111111111110111111111111111111111101111111111110111111111001111111111111111111111111111101110111100111111110111111111111111111010111111110101111011111111111111111111111111111111111011011111111011111111110111111111111110111111111111111110011101111111011111100011111111111111111110110111111101111011111111111111111111111111111111101101011111101111111111111101111101111011111101111111111101101111111111101111110111111111111111111111111111101111111111110111111010011101111111111111111101110011111111111111111111111111011111111111011111110110111111011111111100111010111111111111111111111111111111110011111101111111011011111111111111111111111001111110111111111111111111111111111111111111111111011111110111111111001111111111111111111111111111111101111101110111111111111111111111111111011011111111111110110111111111011011110111111111111011011111111101111111111111001111111111111111111111111011110101011111111111111111011011010111111011111110111111111111111101111101111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111011111111011111101111101111111111111111111011011111111111011110111111111111110110111111011111011111011111111110111111111111111111111111011111111111111101111111101111111111111111111111111011111111101111111011111111111111111100111111011111111111110010111111111111011111111111111111111111111101011111111111111110111111111111111111101111111101111100111111111111111011111110101001111111111110111111111111111111111111111111111011111111111111111110111111111111111101111111111101001111111111111111111111111110011011111111111111111111111100101010111111111011110111111111110111101111111110111111111111111111111111111111111111111111111111111011111111111010011111011111011111111111111111111111011111111011001110111111111111110111011111111111111111011111111111110111110010111010110111111111111111101111111111101111111111111110011100101111110111111111111111011111111111111111110111111111111111101111011111101011101011101111011111110111111011111111111111000111111111111111111101111111110111011111101111011111101110110111111111101111111111111111111111111111111101011111101111111111111111110111111111110110111110011111111111110111011111111111010111111111111111111111111111111111111111111110110111111110111011110111111110111111111111111111111111111101111111111111101111110111111111111111111111111111111111111111111111011111111101110111111111111111111111101111111111110111001101111011111011111111111011111111011111111011110111111011111110111011011110111101110111111111101111111111111111111111110111111110111111111111111111011111111111101111101111101111111111111011110111011111111011111111111111111111111111111111111101111100111101111111111111111111111010101110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010111111111111111111111111111111011111111111111111111111111111110101111111111111111111111111110111111101111111111101011111001111111100111111101101111111111111111111111111111100111111111111111111111111101111111111011011111111111110111111101111111101111111111110101101111111111111111011111101111011111110111101111111111111111011111111111111110110111111111111111011110111111111111111111111011100111111111110111111111011111011011011101111111111101111111111111111111111111110111101111111111110110011111111111111111111011111101111111111111111111111011101101111111111111011111011101000111101111111111111101111111111110101111111111111111111111010110111111111101111111101111011011111111111111111111111111111011111111111101110111111111111111011111111111111110011111101111101011111111101110111111111110111111111111111111111111111111111101111110111111111111111010111111111111111111110111111111011110111111111111111111111111111111111111100110101111111111111111111111111011111111101111111111111111111111111111111101100111111101110111111011111111111111101111111110111111111111111111110110111110111011111101110111111111110111111110111111111111111101111111111111111111111011011111111011111111111111111111111111111111111110011111111111111111111111111111101011111001101111111111111011111111111111011111111111111111111101110101101111111111111111111111111111111111111111111111111111101111111101111110111111011101111111111110011110110111011111111011111011101111111111111111111111101111110111111111111111111111111111111111111111111101101111111101111111101111110111111111111111101111111111000111111111011111111101101111111111111111011111101111111111111111101111111110111101111111111110111111111111000111111011111111111111111110111111110111111111011111111101111111111011111111011111111111111111111011111101111111110110111111110111111111110111111111111111111111011111111111111111101111111111011111101111111111111111111111110111111111111111111110111110111111111111111111111111111111111111111101101101101111111101111101101111111111101111111111101111111100111111111111111111111111111111111110111110111111111011111111111111111111111101011110101111101011111111111111111111111111111011111101111111011110101111111111110111111110111011111111111011111111111111111111111111011111110111111111111111011111111111111111111111111111011101011111110111111101111111111111111111111111101111111111011111111111111111001111111111111111110111011101111111111111111111101111111111011001101111111111110111111111010111111111111111111011111111101011111111011111111111111111111111111111111111111111110111111111111111111111111101111111111011110111111111111111111111011001111111111101111111101111111111110111011111111111111111111111111111111110011111111011010110111111111111111111011111111110111111111111110111101110111111111101111111011101101111111111111111111111101011111111110111111011111111011111111101110111101111111011111101111101111110111111111111111111111101111111111101111111110111111101111111111111111111111101110111011111111111011111111111111101100111111111111111111111111111111110111111110111111111111111111111110111111111111111111101111111111100111110111111111110111111111111111011111011111111111111011111111101111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111101111111110111111110111110111101111011111111111111111111111111111111111011111111111111101011011111011111111111111101111111111101111111011111111100111011111111111110111111110111111110111111111111111111111111111110111111100010111111111111111111111111111111010111111101111010111111111111111101111111111011011111111011111110111010111111111111011111111110111110111111111110111111111111111111011111111110110111111111111110111111110101111111101111011111010111111111111111111111111111111111111111111111111111101111110111111111111111111111111010101111111111111111111111111111111111111111011111111111111111111111111111111111101111111111111111111100011111111110111111111111111111111111111111111111111110111101111111111010111111101111111111111110111111111111111111111111111111111001111111111111111111110111110011110111111110111101111101110110111111111101111111111111111110111101111011111111111111111111111111111111111111111111111111111110111011111111101110111111111111111101011111111111111111001111111111111111110111100111111111111111111011111111110111111011111011111111111111110101111111101101111110111111111111110111111111111111111111111110111111111111111111110111111111111011110111111111111101111111111111111111101111111011111101111011010111111111111111111110111111001111111111111111101111111111111111011111110111111111111111111111111111111111111111011111111111111111111101111111111111111110111110101111111111111101111111111111111111011110111111111111110111111111111111101110110111111111111111111110111111011101011111111111111111111101111111111101010111010110111110011111110110110111111111111111111111111111111111011111010111111110111011111111011110111111111111110111111111111111111110011111111111111111110110111111111111110111111111111111111011111001101111111111111111111111111111111111101111111111111111111111111111111111111111111111101101111101111111011110101111111111111111111111111111111111101111111111111111111111111111001111110111011111011111111111111111100101111111111111111111111111101110111111111111111111110111011110111110111111111111110111111101111111101111111010111111111111101110111011111111111111111111111111111001111011110010111111111111111110110111111111111111111110111111111111110111111111111111111101111111111111111111111111111111111101111111111111111111111111110111110111011110011011111111111111011111011111111011111111111111111111111111111111101101110111111111111111111101111111111111011111111111111110111111101111011111111111111101111111111111111111011111111111111110111101111111111100111111111111111110111110111111110111111111111111111111111111101111111111111111011110111111111111111111011111111111111111101110111111111011111111111111111111110111111010111111111111111101111111111111111111110111111111111111110011101101111111110011111111110110111111111111111111011101011110111100100111110111111111111110111111011110111101111111111111011101111111111101111111111111111110011111111101111111101111111111111111111111111111111111111101111111111111110101111111111111111011111101111111111111111111111111110111011111111111111111111111111011111101111111111110101111111010111111111111111101101111111111101111101111111111111111111011011111110111011111111111011111111011111111111111111111111110111111110111110111110011011111111111111111111101111111111111111111111111101111111111111101111111111111111111111101111111111111111011110111111011111111111111111111011111011111111111111111111111101111111111101110011111111111111111111111111111110111111111110111111011111111111111111111111111011111111110011111101010111111111111111101111111111111111011011110111111111111110111111110111111111111111111111111111111111111111111111111111110111111111111111111111111110111111110111111111111111111111110111011111011111111111111111111111111111111010111101111111111111111111110110111110111011011111111111101111111111111111111111111111111111110101111111111111111111101111011100111011111111101111111101111111111111111111111111111111111110011110111011111111011111111111111101111111111011111101111111101101110000111111111111111101111111111111011110111111111111101111111111111111101111111111011111111111111111111111111111011111111111111011111110110111111111111111111111011110111111111111111111101011111111111101111111111111111111011111111111110111111111111110111011111101111111111111111111111111111110111111111011111111111011111111111111111111111111011111011111011011111111011101111111111111111111111111101111111111110111101111111111111111001011111111111111111111011011111111111111111111110111110011111011111111111111111111111111110101111011111111111111111111111111111111111111011111111111101111111111111111111111111111110111111111101010111110000111111111111011111110011111101111111111111111111111011111111111110011111110111111100111111111111111111011010111101111111111111111111011111111110111111111101110011101011111111111011111101111111111111101111111111110111110111111110110111011111111111111111111111111111111111010001111110111111111111101111111111111111111111111011111111111110111110111110110111111111111111111111111111110111111111111111111111111111101111011111111111111111111111111111001111111101111111111111111111111111111111111111111111111111111111111011111110011111111111111111110111101011101111111101111111111101011011111111101111111111111111111111111111101110111101111011111111101111111111111110111111111011111111111111111110110111111111011111111111111110111111111111111111111111111111111111110111111111011111111110111110111111101111111111111111111110111111111111111111101110110111011111111111101111110111111111111111111111111111111111011111111111111111111101110110111110011111111111110111111111111111111111001101111111111111101111111111111111111011011111111111111011111111111111111111111111110111111111110111111111111101111111111110111111101111101111111111011111011111111111111111110101110110111111110111111111111111111111111111111111110111111111110111111011010111111111111001111111111110111111111111010010111111111111111111111111111111111111111111111101011101111111111111111011111011011111111111111111011011111011011111111101011101101110111111010111111111111111011101111111111011101111111010011111111111011101111101111010110111111111111111111111110101111111111111111111111111111110011101111111111011110111111111111011111111111101111111111111111111101111111111111101111110101111111111111111111001111111111011111101001111111011111111110110111111011111111111111111111011111111111111111111010111111111011111011011001101011111111111011111110111111111101101101111111111110101111011111111110111111111111111111111111111111111111011111111111111111111111111111111111101110111111111111111111111111111111110111111011111001111101101111111111011111111111111111111111011111111111111111101111111110111111111111111111111111111011011011011111110111111111111011111111111001111111111111111011111111111111111111110111110111111111111111111101111111101111111111111111111111101111111101111111111111011111111011111110011111111111111111111111101111111111111111111111111111101111111101111111111011111111111111111111011011011101111111110111111111111011111111111111111111101111111111110111001111100111010110111111111111101011111111111111111111111011110110111111111111111111111111111111111111111111111110111111101101011011101010111011111111111111111111011110111111111111111111011111011110111111001111111111111110011111111111001001111011111111111111111110111111111111111110111111111111111111111111111111111110110111101111111111111110101111111111101111011111111111111111101111111111101011001111111111111111111010011111111101111111111111111111011111011111111111111111111111011111110111111111111111101111111111111111111111111110111111111111111111111100111111111111111111110111110111111111111011101111111111111111111111111001101111110111111111110111111111111111111111101101111111111111111111111111111111111111111111011011011111001111111011111111111111111111111111101111111111111111011111111110111111111101111110111111111111110111111111111111111111111111110111111101111111111111111111001111111111111111111111011111111111011110111111101111110011110111101111111111111111111011110111111111111111111101111111111111101011111101111111111111111011111101111111111111111111011110111110111111111111011111111111101111101111100101111010101111111010111101110111111101111111111111110101111111111100111111111010101111110011111101111011111111111011110110111111111101111111111110011111111111111111111110111111111101111111111101111111111111111111110111110111111111111111111101110111011110111101011111111011110111111111110111110111111111011111111111110111111111100111111101111111111111111111101111111111110111010111111111111111111101111011111111111111101111111111111111111111111111111111110111111111111110111111111111111111110111111111111111111111011110111111011001101101111011011111111111110111111101111111111111111111110111111111111111111111110010111111111111111111111111111111011110111011111111011111111111111111111111110110011111111111111111111111101110111111111111011111011101110111111111101111010110110111111101111111111111110101111110111111111110111111111111111111111111111111111111111111111101111101011111111111111110111111110111011111111111111111111111111111101110111111011001101111111111111110111110111111011111111111111111111111101111011101111101111110111110011111111011111111111111111111011111111111111111111011110111111111111110110011111111100101111111111110110011110111111101110111111111111111111111111011111111101011111111110111111111111011111110111110111010111101111111111111111111111111111101011111010111111101010111111111111111111111111011110011110111111111111111111111111011111111111111111001111111111111011111101111110111111111111111011111111111111111101111111111111111111111111111110111101111110111111101111111111111111111001111111111111111111011111111111110110111111111111111111111111111111111111110111111011111101111111111110011011110111111111011111111111111110111111101111011110111111111111101111111111111111111111111111111111000111111111111111111111111110111111111011111111111111110101111101111111101111111111011111101111111111101111101110111111100111111111110111110111111101111100011111110111011111011111101111101111111110111001111111111111001111110011111011111111111111111111011111111011101111111111111001111111111111111111101101111111101101111011111111111111111111111111111111100101111111011111111110011111111111111111111111101110111100101111111111111111111111111111111111111110101011110111111111100111111010111011111111101111111111111111111111111111111111111111111111111111110111111110111111011111111111111111111111111011111110111111111111011111111111111111111111111011111111101111111010111110111111111111111111011111111111111111111110111111111110111111111101101111111110111011011111110111011101111111111111111101111111101111111111101111011111111111111011111111111111111111111111111111111111111111111111011111111111110111111111010111111011111111111111111111111110101101110101111111001011111000101101111111111101111011111111111110111111111111111111111111111011111111111111111111111111111111110111111111111111111111111111111111111101011111111101111111101110011010111111111111111111111111111111111111101111111111111100111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111110111111111111111111101010111101111111111110111111101110110111111111111011110111111111111011111111111101111111111111111101010111111111111111111111111111111111111111111111111001101111101111111011111110111111111111110111111110111101111101111101111110101111110111111111111111111111100111111111101010110111111111111101111101111101010111111111111111111111111111111110011111111111111111111011101110110111110111101111111111111111111011111101011111011111111011111111111011101111111111101110111101111111111111101101111101111011111111101101111111111111011111111111101110101111111111101111111111111011111111111111111101110111111111111111111110111111111111111111111111111011111111111111101111111111111111111110111111111111101111111111111111111111111111111110111111110111011111111110111111111111111001111111011111110111111101111101111111111111101111011110110111111111111111111111011111111111111110011111111101101011111111111011011111010111111111011111111111011011111011111111111111111111111111111111111111111111111111100111111111111111111111111111111111011101101101001111111111011101111011111111101111111111011111111101111110110111101111111111111111111110001110101111111111111110111111111111111111111101111111110111111010110111011111010111111011111111111110111111111011111111111101111111011111111110111011111111111111111111011111111111111110011001111111101111011111111111110111111101111011111110111110011111111111111001111101111101111111111111111111101001011111011111111101110111111111111111111111111111110111111101111111111011111110111111111111111111111111111101111000111111111111111111111111111111110111111111111111011011111111111111111111111110111101111111011111111101111111101111011111111011111111111111111110110111101111111101110111110110111110111111111111111110011111111111111111111111111111101111111111111111011111111011111111111111111111111100111111111011111111111111111101011111111111111101110111011111111111111111101011111011101111111111111111101111111101110011111111110111111111111111111111111111111111110111101101011111011111111111111111111110111111101011011111111111111111111101111111111111111111111110111101010111110111111011111011111010011011111100111111111111111111111111111111111111111110111111110111111110011111101011111111111110111111111111111111111111011111100111111111111111001111111111111111111111111111111101111111111110111111111101111111110111011111011111111111111101111111111110111101111111111111111011111111111011111110111001111111111111111111111101111111111101111111010111111010101110111111110111111111111111111111110111111111111111111111101111111010110011101111111111111111110111111001011111101111111111110011111101111111111111111111111111011110111111110111111111111111111111111111111110011111111101100111111110111111111111111111111111111111111101111111011111111111011101111111111011101110110110111111111111111011111111111111111011010111111111011111111111111111111110111111111111111101111111111011111111101111111111111111100111111111111111111111111111111100111111101111111111111010100111011110110111111111111111111111111111111111110100111001111111111111111101111111111101111111011111011111111111101111100111111111011111111111111111111111111111111111111111111111011111111111011111111111111110101111110111111111111111110101111111011011111110111111111111111111111111111101101111111111111111111111111111101011111110111111111011111010110111111011011110110101111111111011110111111011101111111110111111111101111011111111111111111111111111111111111011100101111111111111111111111111111111011001011111111111111111111111011111111011101111111111111111111110111111111111110110101111111111100111111111111110011101111111110111011111111101011111111111111111011101111111101111111111110111111111111111111100111111011111111110111111111111111111111111111110111111111111111101101100111111111111111111111011011111110111111101111111111111111111111111111111111111111111111011011011111111111111111111111110111111101111111111111111101110111110111111110111110111111111111110111010111111110111111111110111111111111111111111101111111101111111111111111111011111111111100111001111111111111111111011111111110111111111111011111111111111111111111111111111110111110110111101111111011111111111111111011111111111110111110111111111111111110111010110011111011111111111111111011011111111101111111101111111111111111011110111011111111111010111111111011111111111111111111111111111111111111101111111010111111110111100111110111111011111111011111001111110110111111111111111010111111111111111111111111111101111111111111111111111101111111111111111111111110011111011111011111111111111011111111111011111111111111101111110111111111111111111101101110111111111111111111111111111111101110101111101011101111111110111111101110111111111111111110010111111111111111111111110111111110111111111011111111111101111011111111111111111111111111110111110111100111111111011101111111111111111111111011111110111111111111111111110111011101111111111111011111111111111111110111101110111101111111111111111111111111111110111111111010111111111111111101111111111111101111111111111111111111011111111111111111111111110110011111101110011111011111111111111111111011111111111101111101111111111111011111111111111111111111111111111111110111111111111111110011111111100110111111111111111111111111011111111101111111011111111110111111111111111001101110111111111111111111111111111111111111111111111111011111111011110011110111111111111111110111011111111011111111111101111110111111100111111111111111010110011111111110111111111011111111111111111111110111101111111011111111111101110111111111111011110111111111101111111111111111111111101111111110101111111110111101111111111111111110111111111111111111011111111111110111110110111111111110111111111111111100111111111111100111111111111111110111011111111010111111111111111101111111110111111111111011111011111011011111111011111110111111111101111110010111111010111111111110111111111111111101111111111111111011111111011111111111111111111011110011111111111111111111111111010111111111011101111111111111011101010111111111111111111111111111111111111110111111110111111001111111111110110111110100111011111111111111110111101111111111111111011011111111111111111111111110111111111011011111111110011111001111011111110111111111110101011111111111111111111011111110111111111111111111111111111111111111101111111111111111111111111011111111111111111111111111111111111111110111111011111111111111111110101111011011011111011111111111011111011111111110111111111111011111111111111101110011110111111011010111111111111111111111111011111011111111011111111111110111111111110111111111111101111101111111111110111111111110111111111111101111111011111111111111111111111111010111111111111101111111111111111111101111111111101101111111111111111111111111111111111111101111101111111111111001111111111110111111111011010111111111111111111110111111111111111111111111111111111111111111111011111111111111011111111111111110011100111111111001111111111111110111111111110111111111111111011111111111111011111111111101111111111111111111111011011110111101111011111111111111111111111101111101111011111111111111111111100111100111111101111101101111111011011111101111111111111111111111111111111111111111111111101111111001111111110111011111111111011111110001111111001111111111110011011111101111011111111100111111111111111101111111011111011111011111111111001011111111111101111111111011011011111111111111111111111111111111111110111110011111111101111111111111110111011111110111101111111011111111011111111111011111011111101111111110111111111111111101111111111111111111111111111111111111111110011011011111111101011111011110111101111111101111111010101111111111111111110011111101111111111110111111111111111001111110111111111111111111010111111011111011111111110111111011010111111111111111001111101111111111111111111011010111101110111111111111011111111111101011111101111111111111111111111111111111111111111111111111111111111111111010111111111111110111111111111111111110111111111101111111110011111111110111111111111111111111111001111110111111001111111111111111011111111011111111111111001100110111111111111110111111111111111011110111111111011111110111111111101111111111011111111111111111111011111111111111111111111110111111101111111111111011111111101110111111111111101111111111111101111011111111111111111111010111111111111111111101111001111111111101111111011111111111101011111111011111011111111111111111110011111110111111111011111111111111111111111111111111111111111100111111111111111110111110111111111111111111111111001111111111011111111111101111111100111111111011111111111111111111111101111010111011011111111111111111111111111111111111111111011101111111111111101101111110110111111101111111011111111111111110111110111111111111111011111011111111111111111111111111111111111111101111111011111111110110101111011101011011110111111111111101111111111111011101110011111111101111111111111011111101011111111011111111101111101111010111111111111111111111111110111111100111101110111111111111101111100110111111111111101111111111111111111111011111111110111111111111111110110111011111001111111111111110111111111111111111111111101011101111111110011111110001111111111111111111111110111111111111111111111111111101111111111011011111111111111111111101111111101111011111111111111111111111111101111111111011111111111111111111111111111111111111011101011111111011111110111110111110011111111111111011011111111011111111011111111111111111111111111111111111111111101111111111101111111111111111111111111111111111111111111111111111111111110111011111111111111111111110111111111111111111101101011111011110111110111111101110111111001101111111010110010111111011101111111111111101111111111011111111111111011111111111111111111111010111111111011110101110111111111110111111111111111111111111111101111111111111111111011111110111111111111111111111111111111111111111101111111111111111011011111111111111111111111111111110111111011111111011111111111011011111111111111111111110111111111111111111111111111111110111111111111111111101111111110111111111111111110111111110111111111111111101111111111111111111111110111111110011111111111101111111111101111111111111111111111111111111111111111011111111111101111110101011111010111111111111011111111111111111101011111111110111111111101111111100111111110111111111011111111101011111111111011111011111111111111111011111011111101011111111111111111111111111011111111110111110111111111111111011111110110111111011111101110011011111111111111111011011001011111110110111111111100111111110111111011011111111111111111111111111111111111111001111111011111111111110111111111111110111110111111111111111111111111111111111011111111011110111111111110011011111111111111111111111111111111111111011111111011111111110101111111111111110110111101111111111011111111111111111101110111111111111111111111011111111111111110111111011111111111111111111111110111111111001001111111111111111111111111111111111111100111110111011111111111111111011111111111010111011111111111101111111111110111111111111111111111111111011111101111111111111111111111111111111111110101110111111011111111011111111011011111111111111111110011111111111111110111111111111110111111110111111111111111111110111111111111111111111011111111101110111111111101111111111011111111111011101111111111111111111111011111111111111111111111111111100111011111111111111111110111111101111111101111111111111110111111101100101111110111111111111111111111011111111111111111111111111111111111110111101111111111111111110111111111111111111111111011011111111111111011111110101111101111110111111101111111111110111111111111111111111111111101111111111111101111110111011011111110111111101110111111100111111011011101111111011010101111110111111111111111111111111111101110111111111111110011110110111111110011110111111111111111101111111111111111111111111111110111111111111111111111011111111111110111111011111111111111111111111011110111101111111111111111110111111111101111111111110111111111111111011111111111111111111111111010111101110111101111111110111110111111111111111111111111111111110111111111111111111111111111111011111111010111111111110111101111111001111101011111101111111111101010110110111111111111111111111111011111111110111111111111111111011111111101111111111111111110011101111111101111111111111111111111111110111111101111111111111111111111111111111111111111111111111111111111111011010111110110111010111111111010111101111111111111111111110111111110111110111111111110001110111111011111111110101111110111111101111101111111111110111110111111101111111111110111110111111111111111111111111111111111111011110111111011111001110111111010111111111111111111111110111111111111111111111111111111011111111111101111111111111111011111111111111111111111011111111111111111111110111111111010111111111111111111111101111110011111111110111110111111111110111111011111111111111011111111111111111111111111111111111011111111111111011110110011111111111101001111111111110110111001111101101111111111111111111011111111111111111111111111111111111011111111101111111111110111111111111111100111111110111111011101111111111001110111111101011111100011111111110111111111111111111011111111110111110111111111111111111111011111111111111111111111011111111111111111111111110111101111110111011111110111111111101111111111111110110111110111111111111111001111111111011111111111111111111111011111011111110100111011100111011111111111011111110111111101111110111111111111111111111111011111111110111111011111101111111111111111101111111011111111111111110111111011110011111111111101111101111111111111111111101111111100111111111111111111111111111101110110111111111111111111111101111111111011011111101111111111111110111111101111011111101100111111011111110111111111111111111111111011111111111111110111111111111111111111010110111111111111111111111111101111111111001111011111111111111111111111111111101111111111111010111110101101101011011101111111010101111111111111111111111101111110111111001111111111011110111011110111111111100111111111111111111101111111111111111111111001111111111101111111111111111111111011101111111111011110111001111111111111011111111011111111001111111111111111111111111101111111111110110000110111111111111111111111111111111111111111111111111111111111111111111111011111011111011111111111110111011111111101111111111111010011101111011111111111111111111110011111110111111111111111111111111101110111111111111111111111111111101011111111111111111111111111110111001101111101111011111111111111011111111111111111111111111111110111111101111101111111111111111011111111111011111101111111111111111011111111111110111111111111111111111011111111111110111111011111111110111101111111101111111111110101111111111111111111011111101111101111100110111111111111111101111111110111110111111111111110101011111111111111011111111111111101111110111111111111111110011111111111011111111111111101111111101111111111111110111111111111111110101111111111111111111111111011101101011101111111111111110111111111110101111111111111111111111111110111111011111111111011111111101111111101110111111111101011111111111111111111111111111011111100110111111110011111001111111011111010111111111110111111111111111111100111111011101111111111111110111110111111111111111011011110111111111111111111111111111111111101101111111111011111111011111111111111111111111111111101111011111111111111111011110111011011111111111111111110011110111111011011011111111110111111111111111101111111111101111111101111111111111111101111011111110101111111110101111111101111011111111111111111111101011111011111111110110111100111101011111111111111111101101111111110111011111111111111101111111111111111111111111111111110111111111111111111111111111111101111111111111111111111111111011100111110101011001111111011111111011111111111111110110101111010111111111111111111111111111111101111111111111101111111111111110111111001111111110111111111111011111011111011111111111110111111111111111111111111111101111111111111111011111111111111111111111111010111111100111011111011111111101111101111111111111111111111101111111111111111111111111111110111011111111111101111011111110111111011101111111111101111111111111111111111110111011011111111111111001111111111111111111111011111101111111111100101111111110111110101111111111011111111111111110010111111111111011111111111110111111110011101111011111111111111111111101111101011111111101111010111111111101011111111111101111111111111111111111111111101111111111111111111111111111111101110111111111010111111101111111111111111101110111111111011111101111111111111111011111111111111111111111111111111111111111111011110111111101111111111111111101101111011111111111101111111111111111101110111101110111101111111111111110111100011111111111011111111101111110111111111111111111111111110111111011111111111111011111111111111111111110011111111111111011111110111101110101111111110111111111111111111011111111111011111111010111111011011101111011111101111111111111111011111111110111111111110111111111101111111011111111111111111111111111111111111111111101111111111101111111111101111111011101101110111011111111111111111111111111111111111111111111111111101110101111011111111111101011111111111011111111111111111111100111111111111111110111111111111111111111011110111111111110110111111101111111111111111111111111111111101111111111011111111011111111111111111111111111111111011111111111111101111110110111011111111111111111011111011111111111111111011111111111111111111111111111101111111111111101111111111111111111111011111011111111111111111111111111110111011111110111111110111101011111111111111111111011101110111111111111011111111111110100111111111110010111111011111111111111111111111111111011011101111111111111101110111101111111111010111111111011111110111111101111111111111111111111110110111111111111111111011110111111011111010101111110111111011011111011111111111111111111111110111111111011111011101111111111111111111110111111111111101111111011111111011100111111111101111111111111111111010111111111110111111111111111111111111101111111110011111110111111111111011111111101111111111101011111111111111110111011101111111111111110011111111111111011111111010011111111111111111111111111111111111111111111110111111111111101111111111111111111111111111110111111111111111111111011110111111110111111101111111111111011111111111111111011111111110011111111011101111111111111111111111101011111101111111111101110111111111111111111101111111111111111111111110111111110110101011111101110111111111111111011111111111111011111011111111111111111111111111111111111101111110111011111111111111111111111110101110111101111111111111111111111111111111111111111111111101111111111111111111101111010111101111111111111111011111111111011110011110001111011111111111101111001111111101111111111111111110111111111111111011111111111111110111111111111111111110111111111111111111101111111111101110111111111111110111001111111111111111011111011111111111011111111111110111111111111111111111111111010011111111111111111111111011111111101111111111111111111110011111111111111101110011111011111111011010110111011110100111111111111111111111011111011111111110111111111111111111111110111111111111111111011111111011111111111111111111111111111110111111100111111111101101111110111111111111111101101111111101111100111111111110111111111111111111111111101111101111111111111101111111111111111110111111111101111111111111111111111111111101101110111111011111111110111111111111111111111101111111111111111111011111111111111111111111101111111011011111111111111011111111111111111111110111111111111111111111110101111111111000111111111111111111111111101111111011111111111111111111111111111111111111011111111111111111111110111111101111011111111111111111101110011110110111111111011111111111111111111111111111101111111111111010111111111101111111111111101111111111111110111111101111111111011111111011111101111111111111111111111111111111011111111111101110111111111111111111110101110111111111111011111111110111111111111111101111111111011111011111111111011111110111111101011111111111111111111010111111110011110001111011111011101111111111110101111111111110011111110111011111011111011111011111111101011111111011111111011101011011111101111111111111111101111111111111111111111111111111111111111100001111111111111111111110111111110111111111111111101111011111111111110110111111111110111110111111111111011111111111111010111111111111111111110111111111110111011111111110111111111111111101100111011111101111011111111111110111111111111111111011111111101111111111111110111111111011111111111111111111111101010011111101101111111111111110111111111111111111111111010111111111111111111111111111111111111110110111011111011111011111111111111111111101111101110111110001111011101111111101111111111011111111111110111111111101011101110111111111101100010111111111111111011011110101111111110101110111101111111110111111110111011101111111111011111101111111111111111111011111111111111001111111111111111110111111111001111111111111111111110111111011111111101111100011111111111111111111110111111011101111011111111111111111111101010111111111111011011111111110111111111110111001101111111101101110111111111111111011111011111111111111101001111111111111111111111111111111101101111111110101111101111111111111111111110101111101111111111111011111111111111111111111111111111111111011110111011111111111110111111111111111111110111111111111011111111111111011111111011111111111111111111011111111111111111111111111100111111111110111111111111111111101111111110111111111111111101111111111111110111101111111110111111110111111111111111011111111111101111111111111111111011111101111111011111111111111111111111111101011111110101111111111111111110111111111101111111111111011111111011111110111111110111111111101011111111111111111111111111101111111011111111111111111111111111111111111111101111111101100000111111111111111111111111111111110111111100111111111011111111111111110111111111101011111111111111111111110110110111111111111111111111111111111110111111111011110011110111111111101111111111111111011111111110111110111101111111111111111111111101111111111111111111111100011111111111011111111110111111111111111111111111111111111110110111101111101111111111111111111111111111111111111111101111101111111111101110111111111111110111101111111111101111110011111111111111111111111111100111111111011111011111111111111111111111111111111101111111111111111110011111111110111111110111110011101111111011111111111111111111111111111111111111011110111001001111111111111111111110111111111111110111101111111111111111111011111111111011111111111101111111111111111011111100111110111111111111101101011111111111111111111111001110111111111111111111011111111111111111111111111110111111111111111100111101111111111111111111001101011001111111111111111111101101011111111111101111111011111111011110111111111111111111111111111111111111011111110111111111111111111101111111111111111111111110110111111111111111011111111111110111101111111101111111111111111111111101111011111111111111111101111011111011111101011111110111101111111111110011111101110111110101111111110110011111111111010111111111101111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111111101111111111111111111111111111111111111111111111111111111110111111111111111110111111110110011111111111111111110111011101111111111111011111111111111111111010111000111111111101100111111111111111111101111111111111111001100111111111111111111111111111011111111111111110111011111111111111110010111111111111111110111111111111001110111111011111111111111111111111111101111111111111111111111111111111111111111111111111110111111111111111111111100111111100011111111111111011111111111111111111111110111111111110110110100111111011111110111111011111111111111110110111111110011111111111110111111111111011111111011011111010000111111111101111111111111111010110111111111101111111111111111111111111111111111111111111101111101111111111011011111111101111101111111110111110111111111111111111111111111111111101101111101011111111011111111111101010111111111101111111111111011111111111111111110110111111111011111001001111111111111110011111111110011111111111101111111111111111110111111101111111111101000111111111011111111101011110111111111111011101111110111111111101111111111111111111110100111111111111111111001111111111111111111010111111111111101111011111111110111111111111111111101110111111111111111111111111111011111010101111011111111101111111111111011101111111111111111111011101011100111111111111111111111111101011111111111111111111111011111111111111011111111111011111111111111110110111111101110111111011111011111101111111111111111111111111111111111111101011111101111011111111101011111011011111111101111111111101111101101101111111011111111011011110111111110011111111111111111111111011110111111111111011111011111110111111111101111011101111011011111111111110011111110111111111111111111111011111111111111110110111101111111111111110111101111111111101111111111111111111001111111111110111001111111011111111111101111110111111111111011101111111111101111011111111110111101111111111111110111111111111111111111111011111011111011111111111111101111111111111111110111111111111111100111111111011111111111111111111111111011111111011111111111111011111111111111111111111011111111110110111111111111111111011111111111111111001111111111111111111111111111111111111001111100111111111111111111101110111111111111111111111111110111111011011111111111111111101101111111110111111111111111111111111011111111001101111101011101011111011111101011011111111111111011111111111111111101111111111110111101111110111101101111110000111110111111111111111111111111101011011111111111111111111110111111111111111011110101111111111111111110111111111111111111111111111111111111111111111110111101111111010111111111111011111111001111111111101111111110110111111011111111111111101110111111011110111011111111101111111111111110111111111111111111110111111111111111111101111101111110001111111111111111111111111111111111111110111111111111111111111101101101111111111111111110111111111111011111111111111111111110111111111100111111101111111111110011111111111101111111011111111110011101111111111111111101110111111111111100111111011111111110101111111111111111111111011111111111111111111110111111111011111111101110011001111111111111111111111111111101101111111111111111111111111101101111111111110101111111111111111111111111111101111001111111111111101111111101111111111111111011110111101111001111111111011111101111111011111111111111101111001111111110110010111110101111111111111011110111111111111110111111111111111111101111111111111111111101101111011111101111111111111110111110101101111111011111001111111111111111110111111110110111111110111101111011111011111111111110110111111011111111111111111011111111111111111100111110111011111111111111111111111111111011011111111110111111110111111111111110111111111111111011111111111111111111111111111110111101111101110011111110011101111111101111111101111111111110111011111111111111111111111110111111111111111110101111111001111011111111100111111111111111111111101111111111111101101111110111111111111011111111111101111111111111111110010110111111111111111111110111010111011111111111111111111111011111111111111011111111111111111111111111111110111111111111111111111111111101111111111111111111111111111111111111111111111111111101111111110011111111101111111110001111111111110111111111111111111011111111111111111011110111111111110110110111111111111101101111111111111111111110111101111111111111111011101111111101111111111111111111111111111111111111011111011111111011111110111111111110001101101111111011111011111101111111110011111111111101111101111111111111111111111111111111110111101111111111111100011111111111101111111111111110111111111111001110111111111110111111111111111111111111110111111110111111001101111111111111111011111110111111111110111111111111111111111111111110111101111101111011111111111111101111111111110111111111111111110011101011110111101111111111111110011111110111111111111011111011001111010111110111111110111011111110111111111111110110111111111111111111110110111011111111111111110110101111111110111101111111111111111111111111111111011110111110111111011111111111101111111111111111101010001111011111111111111111111011011111111111101111111111111111111110111111111111111111111111111110011011111111111111111111111111111110111111111111111010111111110011111111111101111111111111111111111111011111111111111110110111111111101111111111111111111011111111111111111111111111111110111111111111111111101111111111111111111110011111111111111111111111100111111111111111111111111111111001111111111111111111111011111111011111111111111111111111111111111111011111111111111111111111011111110111110110111101111111111111111011111111111111000101111111111111011111111111100111101111111111111111110111111111101111011101111011111011110111111111111111011100111111111111111011111111111111101110111101111111110111111011111111111111111110111111111110111111111011110111111111111111101111111111111111111111111111111111111011101111111111111111111111111111111111111111111111110110111100111111111111111011111111111111110111111111111111111101111111111111111111111111111111111111111110101111011111111111111111111101110111011111110111111111111111111111111111101110111011110111111111111111111111111111111101111111101111111111101111111011111101011111101111001111111111111111101111111001111111111011111111110001111101101111101101111111101111111111111101111101111111111111001011011111111111111011111111101111111111101111111111111111010111111100111011110110111111111011111111111111111101111111111111111111111111111111101111111111101111110110110011111111111111110111111111111101111111011111111011111111111111110111111111111111011111111111111111111111111011111111111111111111010101111111111111111111101111111111011110111111101111110111111110011011111111111111111110111111111111111110110110111101111111111111111111011111111111011111111111111101111111111111111111111111011111111011111111111111110111111111110111110101111111011111111110111111111111111111011111111111111111011110111110111110011111111111110111110111111111111011111110111111111111111101111111101111111111111111101101111111110111111111101110111111111111110111111111111111011111111011111111111111111001111111111111111111101111111111111111110111111001111111111101111111111111101111111111111111111011111111010111110111111111101111010111111000101101011111111111111111111111011011111011111111111011110111011111111111111111111111111011111111011111111111111101101111101111111101111011111111111111111111111010111111111111011111111111111111111111111111111111111111011101111111011111111111111111111011110011111111111111111111111111111111111111111111111111111111111111111111111111011101011011111111111111111111111111111111111101111111111111111111111111110101111111111111111111111110111111111111111111011111111111111111101111111111111111110111111111111111111111110111011011111110111011111111111111011111101110110110111110111111111111111111111111101111111111111010111011111111111110111111101111111110111111111111111111111111111111101111011101101111111111111111111111101111111101111011110111111111111111110101111101110011111101100111111111111111110111111011111011111011111111000111111111111111111111111110111111111101011111100101111111111111111111111111111110101110011011111111111101110111011101110111111111110111111111101111111111111111111111011111111101111111110111111111110011111101101111010111111111100111111111111111111111111111111111111111111100111111111110111111111111111111100111111101111111111011111111111111111111101111111111101110101011011111101111111111111010011111101101111111111110111111101101111111111111111111111111111111101110101111111011101111111111111101111101111011111110011111011101011111111111111111111101101111111111011110111111111011100111100111100111110111101111101011111111111110111111010111111111111111111111011111111111011101111110111011111011110011111101011111111011111111111111111111111111110111111111101010111110111111111011111111111111111111110111110111111101111111111111111111101111101101111101111111111110111111111110111111111111111111011101111111101111011011111111111111111111111110111111111101110111111110111011111101101010111110010111111111111111111111111111110111111111110111111111011111111111101011011111110101111111111111010111111010111111111111011111111111111111011111111100111101111001111111101111101111011111111111111111111111011111111111111011101111111101111111111111110110111111101111110111011111111011111111111111111111010111111111111011111111011111111111111011111101011111111101111110111111111111111111111111111111111011011111111011101111111101111111111111111111111111111101111111101111011111111111110111111110111111111111011110101111111101111111111111111101101110111111111111111111101111111111111111110110111111111111111111111111111111111101111111111111111111111101111111111111111111111111101111111111111111111011111111111101011111111101111111110111111111111111111011110111111101111111011111111110111111111111111010111111111111111111111111111111111111111101111111110111101101111111101111111000110101111111111111101111111101111111110111111111111111111111111101111101111111111111111111111111111101111111111101101111111110111111111111111111101111111111111111111111111111111111111011111101101111111001101101111111111111011111111111111011110111111111111111111110110111110111101110111111111111111111111111111111111101111111111111111111101101111111110111111111111101111011011111111011111111111111111111111101011111111111111111111111111111110111101011110111111111110111111010110011111111111111110111011111011111111111111111111111111111011111111111011101111111111111111111111110111110111111111111111101110111111111110111111101111111111101011111101111111111111101111110111111111111110011111110010111111111011111111111111111011110011100101111111111111111111111111111110111111111111111101111111111101111110011111110011010111111111111111111111111111110111011111111111101111111111011111111110011111111111111100111011111111101111011111011111111111011111111111111111111111111111100111111111111101101111111111111111111101111111111111101111101111011111111111101111111111111111111111111101111111111111111111110111110111111111111110111110111111111111111111111111111110111111100011111111111011111111111111111111111111111111111111101111101111111111111110111111100100111111111111101111011111111101111011110111100111110111110111111101101111111011001111011111111111111111111111110101111101111111111110111111011111111100111111111111111011111111111011111011011111011011111111111111100011111111111111110111110111111111100100110110111101111111111111111101111011111110110111111111110111111111111111011111001111111111110111111111101111011111111111111111111101111011111111111111110111111111111111111111101110101111011111111110111111111011011101111111110111111111111111111111111111111111111111011111111101111111011111111111111101111110111111111101111111110011111111111100100111111111111111111111111101011111111111111111111111111111111101001001111111111011111111111111111111110111111111111110111110111101101111111111111111111111101111111111111100111111111111110111111111111111111111111111111111111111111110111011111111011111111111111010111111011111110111111111111111110111111111111111011111111111111111111111111111111111111101111111111111011111110111111111111111111111111111111111111111111110101011111101111111011111101111111111111101111110111011101111011111111011111111111111111101111111111111111111111111111111111110111111111111111111111111110111111001111111111111101111111011011111111111011111111111111111111111111111111111111111110111101111111111111111111111111111111111111111111111111111111111110011111111011111011111101111111101011111111111110111111100111111111111111111111111101111100110011001111111111111111111111111011111111111011111111111011011111111111111110111111111111011111110111110111101111111111011101101110111111111111101111111111111111011111111111100110111111111110111111111110111111110111111111011111111111111111111111111011111111111111111111111111111110111111111111111111111111011111011101111111111101111100111111111111111011111111111111111110111111111011100111111101011111111011111111111111111111111111111110111110111111111111111111011111111111111011111111111111111110111101111111111011011111111011010111111111111111101111101111111111111111111111111111111111111111111110011111111111111101111111111111111111111111111111111110011111111111111111111111111111111111101111111101111110100111111110101111111111111101111111111111111111111111011111111110101111111111111110111111011111111111111111111111111110111111111111111111101111111111111010110101111111111111011111111111111111111111111110111011111011101111111111110111101011101111111011001110111111111111101111111111111111111111111111111111111111111111111111111111101110110111111011111111101010101111111101111110111111111111111011111111111101111111111111111011111111111111111111111111111111111011111111111111111111111101111111011011111101101100111111111111111111011111110111111111111111111011111101111111111111111111111110111111100111111111111010111111101111101110101111111111111111111111101111111011110111111111011110111111011111111110011111111111111111111111111111111111111011111110111111110111111111111111111111111111111111110011111111111111111111111111111111101111010111111111111111100111111111110011111111111111101011111111011011111111111001110110111111111110111111111111111011001111111111111101111111111111111111111111111101111101111101111110111111111111110110011111111111100111111011111111111111101110111111111111111111111111111111111111111111110101110111111111101011111111111011111111111110111101111111111111110111111111111010111111111111101111001111101011111011111111011111111111111111111111111111110111111111111011111110001010111110110101111111111111111111111100110111111111111111111011011111111111110111111110111011111101111111111111111111111111111001111110111110111111110011111111110111011111111111111101111111111111111111101111111111111111111111011111111101111111110111111101111011111111111111111111111111100011011111111100111111111111111111111101111111111111111111111011111111111111111011111111101110111011111101111111011111111111111101111111101111110110111111011111101011111111111111111111111111111111111101111111111111111111111110111110011111111111010011011111111111111111111111111111111111111011111111111011101101111111111111111111100111011111111111101111111111111111111110100111111111111111111111111111111110111011010111111111101111111111111111111101101101111111111111111110111111111111101101111101111010110111110111111111011111111111111111111111111111111111111111111111111111111110111111110111111110111111011111111111101101101101111111111111111010111111110111111110101011111101111111101111011111111111111011111110111111111010111111110101111101101111111111111111111111110110110101111111111111110111111011101111111101111011111111011011111111110111111111111111111110110111110111111110111111111111111110111111111111111111111111111111111111111101111100111111111111111111011111111111111111110111111111101111111111110111101011110111111011111101111111111101111110111111111111100101111111111101111111101111111111111111111111111110111111111111110110111111011111111111111101111110011011111111111111111111111110111111111111111010111111011111111111111110111111111111111111011111111111011111111111111011011111111101111111111111111111111111111111111111101011111111111101111111101111111111110011101111101101111111111111011110111111111101111111011111011111111111111101111111111111111111011101011111111011111111111111111111111011010101111011101110111111011111111111111111111111111110111111110111111111111111111111111111111111111111011111111110111111111011111111011101110111101101101111111111111110111111110111111101101111011111111111101111111111111111111111111111111011111010110110111111111110111110111111101111111111111111110101111111111011111111100111111111011111111111111111011111111111011111110110111011111111111111111110011111111110111111111111111101111111111111111111111111111111111111111111111111110111111110111111111111111110110111111111111110111101111111111011011111110110110101111111011111111111011111111111011111111111100011111011110111110111111110111110111011111111100111111111111010101111111111111111111111011101111110111111111111111111111011101111111111111111111111101111011110111111111101111111101011111110111111110111111111111111111111111011111111111110111111011110110111111011111111111111111110110111011111111111101111110111111111111111111111111101111111111111111111101111111111111111011111111111111111111111111111111111110111111111011110111101011111111111111101111111111111111111101111111111111101110111111111111111111101011111111111111111011110011111100111111011110001111111111111101111111111111011111111111110111111111110111111111110111111111111011111111011111101111111100101111111011101001011011110111111011111111111111111111111111111111111111111111010111111111111111111111111111111111111011111111111111111111111111111111011111100110110111111111111111111111110111111001111111011111111111111111111111111111110111011011111111111111111111111111111111111111111101111111111011111110110110111111110101111111111111111110111111111111111111111111110111111111111111111111111111101111011011111111011111111111111111111111111111111111111111111111111111101111111101111111110111111111111111111111111111111111111111000111100110111111101111110110111111101111111111111011111111111111111111011111111111011111111110111111111111101111101111101101111111111111110110011111111011111111011111111111111111011111111101111111101111111111111011111110111111101101111111111111111111111111111111111111111001101111111111110111111111110110111111111111111111111011111111111111111111101011011111010101111111111111101111111001101111111111111111101111111111011111111111111110111011111110111111111111110011101110111110111101111011110011110111111011111111111101111111111111111011001111111111011111111111111111111111111111111111111101111111111110111101001111111111111111110111001111110111111010111111111111111111111111111111111111111111111111111111101111111111111111101110101111111111111111111111111111110111110111101001111111111111111110111111111101111011111111011111111111111111110111111111110111101011111110011111111111111011111111111111110111111111111111100111111101111111111111111101111011111111101111111111011111110100101111100111111110111111111011111111111101111111111011111111111110111111111111111111111111111011111111111111111110111111111110011101110111111111101111111101111111110111111110111111101111111111111101111111111111111111111111111111111111111111101111101011011111111101111111011101001111111111111110101111111111111111111110111111111111110111111111110111101111111011111110111111111011111111111101111111111110111111011111111111111010111111011011111111011111011111110101101111111010111010111110111111110111101111011111110111111101111110111111001111111111111111111111111111111110111111111111101101110111111111111111100111101111111111111111111111110111111111111011110111010111110111111101110101011111111011111111110111101111111111011111111111111111111111111111111111111111111011110111111111111111111110111111111111010111111111111111111111111111111101111111111111111111111111111111110111111111110110111111111111110010110111101111111111111101111111111111111011111111111101011111111110111111101111110011111111111111111111111101111111101111111111111111111111101110111111111111111111110111111111111111111111111110111111011010111111101011111111111111111110111111111111111011111111111110110111111110111111011111111101101111111111111110111111111101111111101111111111011111111111011111111111111111111101111001111101111011111111111110111111111011111010111111110111111111111101110101111111111111111111111011111101010111101111111111111100111111111011110101111111111111111111111011111011111111111111011110101111111111111111111111111111111010111111011111110111111100111111111111110110111111110111111110111111111111101100111101111111111111111101111011111111110111101111110111101101111111010111111111111111111111111111110111111111111111111111011111111111101111111111111111101111111011111111111111111110001011110111101111111111111110111111111110111111110111110111111101110110001111111101101111101111111111111111111111111111111110101111111011011101111111111111111011111111111111101010111001101111111111011111111111101111111011111101110111111111111111011111111111111111111111110111111111111111111110111111111111111111111110111111111111111110111111111101111111111111111111111111111111111011101111111011101111011111110111111111111101111110011111111011110111111101111111100111111111111111111011111111111111111011111111111111111101111111111111111111001111111001111111111111101011011101111111111111011111111111111101111111110111111111110111111101111101111110011101111111111111111111111111111111111111111101111111111110110111111111111111111111111111111111011111111111011011111111111111111011111111011101101111111111111111101001111111111110111111111111111111111111111111111110101111110110111111110111111111111101010111111110110111111111111101111111111111111111111111111111111111011111101101111101111111110001111011111111111111111111111111011111111111111110111111011111011111111111101111111101111111111111110101110111011111111111110101111111110111111111111111111011111111111011111111111111110110110111111110111111001111011111111111111111111011100111110111110011111111111111110110111111111111011111111111111111111001111111000111011111111111111111111111110111111111110111011111111111111110111111111111111110111111111111111111011111111111111111111111111111111011111111111101111111111111101111010111111111111110110111111111111011111111111011111111111110111111110111011111111111110111111101111111111111111111111010101111111111111111111111111111111111101111111111111111111111101101111111101110111111101111011111111101101110111111111111111101111111111111011111111101101110111111111111111011011111111101111111111111111111111110110111100111111111111111111111111011111111111111111111110111111111111011110101111111111111101111011111111111111111111101111011111101110011111111111101111111111111110111110011111111111111111111001111111111111111111111111111111111111111111101111101111111011111111111111111011111111110111110110111111110101111111111111111011101011111111101111000101111111011110111101111010111111111110101111001101111111110101011111110111111111111111111110101100111111111111100101111111111111111111111111111110011111111111101111111111111111111111111111101101111111111111111111111110101101111111111110111011101010111110110101101111110111111101111111100111101101111111111111111101011111111111111111111111111111111111010110111111101011111111111111101011111111111110111011111111111111111110111101011110111010101111101111111111111111110111111111111111111111111111101111111111011111111110110110111111110110111011110111011111110111111111010111111011111111111111011111101111111011111111111111110111111111111111101111101101111111111011111111111111111111101111111111101111011111111111111111110111111011111111111011111111111111101111111011111111111111011111111111110111111011101111111111111111111111110110111011101111010110111111111110101101111111111111111111111111101110111110111111110101011111111110110101111110111110111111111111010111111111111010111111111111111111111111111111111111110011010111110111111101111111111111111111111111111111011101111111111111111111111111111111111111111111111111110111111111111111111111111011111101111111111011001111011111101111111111011010111111111111110111110101101111111111011111011111111111111111110111110111101111101111011110111111111111111111111110111110111111011111111111111111111111111111111111111111111111111111011111001111111111111101111100111011111111101011111111111111111111111101101111111111111111111101101111111111111110110111101111111111011111111111111111110111101011111111101111111011111101011110111111111101110011111110111111111010111111011101011111111111111011111111011111101011111111111011110110111011110110111110111011101111111101111011011111111011101111111111111101111111111111111111111111111110111111011111111111111011101111111111111111111111111111111011111111111111111110111011111111110111111111010111110111111111111111111011111111111011011111111100111111111111111111011110011111111111110111111111111111111111111111010110111111111110111111101101111011100111011001111111011111101111111111110111111111111111111111111111111101111111111111010111100111111111111111111111001111111101111111101101111111111111111011111111111111111111111110111111111111111111111111101111111111111100110111000111111110111111101101111111111111111111110101111111110110011111111111111111110111111110101111011011111011110111101111110111111111111111111111111111111111111111011111111111100101111111011111111111011111111111111111111111101111111111111111101011111111111111111111110111111111011111111111011011111101111111111111111111111111101111101111111111111111101110111110111011111011011111111111010110011111111111111111111110111111111111111111101111111111111111111111111011111111110110111111011111111111111111111111010111111110111110111111111110111111111111111110111111111111111011111011111111110111111001101111111111110111111101111111111111111111101111110111111111011111110111101111001101101011111111101111111111111110111111111111111111111111111111111111101001111110111110111111111111111111111111111111101111101111111111111111011111111111111110111011111110111111111111101111110111111111111111110011111111110111011111111101101111111111111011101111111111111110111111111111111101111111111011111111011111111111111011111101111111111111110111011111110110011101111110001111001101111111111101111111010110011111111111111111111101011111111111011111111110011110111111011111111101111111010101111111111111111101111111111101111111111111111111111111111111111111111111111101111110111111111111111111111111111111111111111101101011011011111111111011101011111111111110111111111111111111111111110111111111111111111101101111101011111111111101111111110111110011111111111110101111001111101110111101111011111111111111101110011101111111111010111111111011111111111111101111101110111111111111110110111111111111011111111111101111111111001111111111111111111111111111101111111111111111111111111111111111110111111111111011100111110101111101111111110011111111111101111111111111111111110111111111111111111111101111011111111111111011111111111111111111111110111111111111011101111111111111111100111101101011111000101101101111111111111111111101111111111111111111011111111111111111111111111011111111111111111111111101111101111011111111111101110111110111111110111111111111111111010011111111101111111101111111111111111101111111111111111111111110111011100011101111111111111111011111111111111011110111101110111111101001110111111111111111111111111001011111111111111111111001111101111011011111101111111110110111111111111111111111111111111111111111111111111111111111111111011111111111111111111011011011111111111111011011111111111011111110111111111111111111101111111111111111111111101110111111111111111101101111111101111111111101111111111111110111110001111111111110111101111111111111111111111011101111101111111111111110011111111111111111111111111100111111110111111111111111111111110111100111111111111111111010111011111111111111111111111111111111111111111111111001111111111111111101111110111111111001111101111111111111101111101111011111111111111110111111111111110111111111111111111111110111110111110111111011111111110111110011111111110011111110101101110111111111111111111111101101101111111111110111111111111111111011111111111011111010111110111111111111111011001111111111111111111111111111101111100111111111111111111111111111101101111111011111110111111111111111111110111110111111110111011011110111111111111111111111111011111111111111111110110011111111111111111111111110111111111111110110011011111111111101111111111011110111111111111111111011111111111111011111101111111101110111111111111101111111111111111111111011111011111110110111111111111110101101011111111111111111111111111111111111011111011111111111111111111111111111111111011011111111111111111011111111111111111110101111111111111111110111110111111111111111111011111111111110111111011011111111111111111111111111111110111111111111111011111111010111101111111111111111111101110111111111111111101111111011111111011101110111111111110111101101101101111111111111111111111111111111111111111011111111111110111110101110111110110111111110111101111111111111010011111111111111111101111111110110111111111111111111111111111111101111111111111111011110111101011101111110111101100110111011111111111111111011111101111111111011111111011111111111111110111001111111111111101110011111111111111111100011111101111111111111101100111111111111111111110111111011111011100111111111011111111111111110111111111011010111110111111101111111111111001111111111111101101111111110111111111111111101111111110111111001111111111110101111111111011010011111101101111111010111111111011000110111100111111111111111111111011111111010111111111111111111101101011111101111111101111101111111111111111111111111111111111111111111011111111111110111110111111111111111111101111111111111111011111111111101011111110111111011111101111101111110111111111111110111111011111011011111011101111110111011111111111111111011111111111101111111111111111111111111111111111111011110111111111101011110101111111111111010111111101101111111110111111110111111111111111111101101111100111110111111110110101111111111111111111110101111111111111111111111111111111010111110111111111111111110111111111111111111010111111101111111111101110111011111111111111111110111111110111101101111111111111111110111111111111111111011111101111011010111101111101111111011111111111111011111111010111111111111100111110111111011101110011111111111011111101111110111111111111111111111111110100101110100111011101111111111111111111111110111111111011111111110011111111111101101001111111111111111111111111111000111111111111111110111111011111111111111111111011111011111111111110111111111110111111111111100111101111101111111111011111111011011110101110111011111111111011110111111111101111111111111011111111111111111111011111111111111111111111111111111111111111101111110111111111111111111111011111111101111111111111011111111111111111111111111110111111111101111111111111110011111111111111111011111111101011111111111111111111111101011010111111111111111111011111111111101111111111111110101011111111111111111111111111111111111111111110111011111111111101111110011101111111101011011101111111111111111111111111111111111111111111111001111111111111111011111110111111011111111100111111101111111111011111111110111111111111111111111111011111111111111110101111110111111111111101111111111111111111111111111111111111111111111111011111111110111111101110111011101111111111001111111111111111001110111110111111111111111111111100111110011111011011111111111101111111101111111111111111111000111110101111111011110101111110111111110011111110111011111111110111111111111111111111111111111111111110110101111111111111111111110111101011111111011011111110111101111111011011111111101111111101111111111111111111111111111111111111111110110111111111110111011111111111111111011001111111111111111111110110111111111111111011110111111111101111111111111011111111111111111111111111111111111111111111111100111111111111111110110111111011111111111111111111101111111111011011111111111111111110111011111111101111101111111111111111111111101111111111111011111110111111011111011111111111111111111111111111111101111111111110111011110101111110111111111111111110111111111111101111011111010001001010101110111111111111110111111111111111111101111101111011111001111001101111101011111101111111111111111111111111111111111111111111110111111110111111111111110111111111101111110111111111111111101111111111111111111111101111110011111111111101111110101111111111110111110111111111101111111101101111111101111111110111111101111111111111101111111111111111011111011011111110111111111111101111111010111111101111111111111111111011111111011101111111101111111110110110111111111011111111111111111111111111111111101110111111011111111110110111111111111110111111111110110011111111011111110111111111011110100111111110111111111111111111111111111111111110111101111111111111111111011111111111111111111111111111111101111111111101111101110101111111111111111111001111111100111111111110111111111111111111101111111101111111111110111111101111111011111111111111111111001111111111111111111111111111111110111111110101111111111110000111011110111111110111111111110111111111111111111011011111111111011111110101111111111111011111111111111111111111111111111111111111111111111011011111111111101111111111111111111111011111101110100110011101111111111111011110101111011011111111111111110111111111011111111111111111101111110111111101111111111111111111111001111111111111111111111111111111111011111111110111011111111101101111111111111111111111111111111111111111010101111110111111110111111101111101111111111111111111111110111110111101111110111111111011111111111111101110111111111111111100111110111110110011111111101011111011111110011111111111101111111111011111111110111111111111011111111111110011111111111100111110111111110110110111111111111101101111111111110111111111111111110111111111111011110111111110111111111111111111110111111111011111111110111111110111111111111111111101111111111111111111111111111111111011111101101111111011110111111111110011111111111111111110111111011111011111101111111111111110111111111111111111011111111111101111111111111111111111111110111110111101111111111111111101111111111111111111111111111111111101111111111011111011110111111111111111001111011111111111111111111111111111111110101111011001111111111111111111111100111101111111111111111111111101111111111111011111111111111111111111110011110111111111111111011111011111111111111110110111101111110011111111111111111101111111111111111101110101111111101111111111111111111111011111111111111111111111110111111011011111111111111110111111111111111111111111011111101111111111011101111111111110111111111111111111111111011010111110111111111111111111011111111011111101111111111010111111111101111111111110011111111111111111101011111111111111111110111110111101110011111111111101111111111111111111111111111111111011111111101111011111111111111111111011111111111111111111011111111111011111111111110111111111111111011110111111010111111011111111111111111111110111111111111011101111111111110110011111111111111111111101111111111111101111101100011111111111011011111101111011111111111111110111101011101111111011111111111111011100101011111111111111111111111111111111111111111101101111111100111111111111111110111111011111101111101101111111111111111111111111111111111110111111111110111111111111101110111110101011110111111111101111111111001111111111111111111111011111111111101111111101111111111101111111111111111111101110101111111111111111101111011101111111011011111111111110111110111111111111111111111111111111011111111111111110111111011101111111110111111111111111111101111111111011111101111111111111111111011111111111101111111111111011111111111111111110111111111111111111110001111111011111111111111111100111111111111111111111111111111110111111111111111101111111111111111011111011111111111111101101111111111101111111111100111111111111110101101111110111111111111111111111011111111111011101111111111111111111110111110110111111111111101110111101110110111111111110111111101110111111111111110011111101110111111111111111111001110111111111111111110111111111111111111111111111111111010111111110111101111111111111100111111111111111111111110111111011101111111111111011111101111111111111111011111111111111111111111111110111101111011111111111111111011111110001011111111111111110100111111111111111100111110011011111111111111111111101110111011011111111111101110111111111110111111111111111111111111111011111111111111011111111101011111111110110111111111111011111111110111111111101111111111111111111111111111011011111111111111101111111101111101111111111110101110111111111111101111111111111110111101110111110111111111101111111111111111111111111111111011011101111101111111111100101111011011110111111101111111111011001101111111111111111111111111111111101111101111010101110111111111111111111111111111001011111111110111111101111111111110011111111101011111111011011011111111111111101101011110011111111111111100111011101111111111011011111101111111111111111111111111010111111111010110111111101111101011011111111111111101111111111110111111111010111111111001101111111111111111111011111111111111110111111011111110101101111111011111101111111111011111111111111111111111101111110111111111111111111111111011111111111111110111111111101111111101111111110111111101111111111111111111111111111111111111101111111010111011111111001111111110111111111111110111111111110111111111111011111111011111111111111111111111111111111111111111111111101111111111111110111111111111111111111111101111111110111110111111010111111111111111110011111111110111101100111111111111101111111011111110110011111111111111110111111111111111101111111111111111111111111111011011101111101111111011111111110111111111111111111111111111111111101011100111111111101111010111111011111111111110111111111111111111111111111111111111011110011111110111111111111111111110011111111111111111010001101100101111111110111111111011111111111111111111101111111111111111111111111111111101111111101111111111111111101111111111111111111111111101111111010110111111110110111111111111111111110111101111110001111111111111111101001111111111101111111111110111111111011111111111111111111111111110111111111110111111111111101110111110111111111111111111111110111110111111111111111111011111111111111111111111111111111111111111111111111111111111111111111011110111110111110110111010111110110111110111111101111101111111110111011111111111111110111011111111111011111111111111100111111111110111111111111111111111111111111101111111111111111111110111111111111111111101111110111101111111111111111001011111111111111111111110111111111100111111110111111111111011111011111111110111111111111111111111111111111111111111111111111111101110111111111111111111111110011111111111110111111111101111011110101111011111111111101110111111111111111111111111111111111111111111111111110111111111111011111111111111111111100101011111111111111011111000011111011111111111111111111111111111111111111111111111111011111110110111111001111111111011111111111111111101111111111110111111111101111011111110111111111111100111111111111111111111111001111111111100101111110111111111111110111111011111110111111110111011111111111110111110111111110111111111111011110111111111111101111101111110111110111011011001111001101111110111111001111111101111111111111101011111111110111111101101111111111101111110111011101111101111101111111111111111110110111111111011111111111111111111111100111011111111111111011111111011111111111110011111011111111111111111111111111011111111111111111110111101111111111111111011011111111101111100111101111111111111111111010111111111111101111111011101101111111011111111111111111110111111111011111011110111111111111111111111111111111111111010101111111111011111111111111111111111101111011111110111111111111010111111110111111101110011111111111111111111110111111111110111111111011110111111111111110111111111111111111111111111111111111111111111111111111111110111111111111111111111111111110111111110111111011111110111111111111111011101110111111111111111101111110111111111111111111111111101011110011111111111110110111110111111111101111111111111111101111111011111111110111111011111111111111111111100111111110011111111111111111111111111111110111111111111111111111111111111111111111111010011111111110111110111111111111111111110110111101111111111111111111111111111111111111111111111111010111111111101111101111111111111101111111111111111101111111111110110101110110111111111111111101111101101011110111101111111101111111111111110111111011111111111111111101111111111111111111110110001111001111111110111111111111111110111111111111111111111111011111111111111011011111111111111111111110111111111111011110111111011111111111111111111110011111111101111111111111111011111111111111111111101111111110111111111110111111111001111101111111111111111111111111111111111111111111111101111111111111111111101111111111101111111111111111111111101011111111111111111111111011101110011111111111111111111110111111111111111111110010111111111110111111111111111111101111111111110011111101111101011101111111111111111111111011111111111111110101111111111110100111011111111111111111111111111011110101111111101111111111101111111110111011001111111111111111111011110110111110111111111011111111111111011111111111111111111110111110111101111011101111111100110111011101111101111111111111111111101111111111111101111101111111111111011011111011011111111111011111011111111111111111110101111111111111111110110111011110111111111111110111011111111101101110111011111111111111111111111111111111100111111111111111111111111010111111111111111111111101011111111111111111111111010111001111111111001111111111101110111111111111111111111111110111101111111110111111111110111111111111111111101110111111011111111101101111111111111111111011011111111011111100111101111111110011101111111111111111111111111111011111111111111110111110110110111111111111110111011111101111111111110111101111111011111111100011011111111111111111111101111111111111011111011111011110111111111111111001111111101011111011111111111111111111111111111111111111111111111111111111111101111111010110111111111111111101111111111111110111111111111111111110111111111111111111111111111011111011110111111111011111011111111111111111111111111101111111110111011111110011011111111101111111111111111111111111101111111111111111111101111111111001111011110011111111111110111111101110111111111101111101111111101111111101111111111111111111111100011111111111111111101011101111011110111110111110111011111111111111111110111111111111101111111101111111111111111110111111111110101011111111111101111011110111111111111111111111101011111111111110111111111001111111111011111111011111111111111111110111010111011111111111111011111111111011111111111111111111111011011101111011111111111111101110111111111111101100111110011111111110011111111110111111011111001111111111111111111111111110111111111110111111111111111111101111111011101111111011111111111111111111111110111111110111111101111110110011111111111111111101011111111111101111111101111111111111111111110111101111010110111111111101111111111111111111111101111111111111111111111111100110111111111011110111111111111110111111110111111111110101110111011111111111111111011011111101111111111111101111111111111111111111111111111111111111110111111111011101111011111111111111101111111111111111101111101111111111111101111011111010111111111111111111111111111111111111010100111111111101111011111111111111111111101111111111111111111110111111111101111101011111111101111111111111111111111111011111111110110101111111110111111111111001111111111011111110111111111110111111011111111111111111111111111011111111111111011111101111111111110111111111111111111111101111011111111111110111111111111010101111110011101110011111011111111111111111111111110011110111111101111011111110101111111111011111111111111111111111111111110111111111111111110110111111111111110111111010111011111111101111101101111110110111111111111111111111111111011111011111110111111111111111101111111111101111111110111011111111111111111111111101111111111111111111111111111111111111111111111111111111011111111111111001111111101111111101111110011111110111111110111111111111111101011111101111111111111111111111111111111111111111111111111101111101111111111111110111111110111111111111111111101111111110111111111101011111111110111111101111111111111101111111111111111111111111111111111011111111111111111111110111111100111110111111101111101111111111111110111111111111111111101011111111111111011110111101111111111111111111111111111110111111111111111111111111111111111111011111111111111111111111111011111111111111111111101111111111111101111111111111111111111111101111111111111111110111111101010111111111011110111111111011111100110111111111101111111111101111111111111111111011111111111111111111111101011111001111111111011111111111101111111111011111111101100111111111111111101111111111101111111111111111111110111111111111111111101111111111111111110110111111111011111111111111111111111111111101110101111111111111111111111111111111111001111101111111111110111111111111101111111101111110111111110110101101111111111111111111111111111101111101111111100110111101111111111111110111110110111111111111111111111111111111110111111111101111111111111100111110110111111111111111111111101111111111111110111110011101111111111111111111111011111111111111111111111111110111111101111111111111111101011111111011111111110111111111111111110111111111111111110111111111111111111111111011111101100111100111111000111111101111111111011111011111111111111111101111111111111111111111111101110111111111111111111111111111111111011111111111111101110111111111111111111111100111111111111111111110111101111111111111111111111111111101111101011111111111111111011111111111111111111111111111111111111111011111111111110110111101111111110111111111111111110111111011101111111111111111111111111111111111111111111111111111111111111101111111111111111111000101111111111111111111111111111111110101111110101111111111111111111111111111111011100111111101111111111111101111111111111111111111111110111011111111111111111101111111110111111111111111111111111000110111001110110111111111110011111111111111011011101111111110111101100111101111111111110110111011110111111011111111101111110111101111111111111111111111111111101111111111111111111011111111111111111111111111111111111111110111010111111111111111111101111111111111011111011111101111111111011111111111111111011111111111111111111111111110011010101111111111111101111111111111111111111111111101111011111111111110110101011111111111110111111111111111111111101111111111111111101111111011101101111010111111111111111111111111111001001011101111111111011110111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111011110111111111111111011111101101110111110111111111111111111111111111111111111111111111011111111111111011110111111111111110101111111111101111111101111101111101111111111111111101111110111111111111111111111111111111101111011111111111111111111011110111111111100111111101111111111111101111111011111111111110011111111111110111111111111111111111111111111011111111111011111110111111111111111111101111111111011111111111101111111111111011110111011111111111111111101111111010111111111111110111111100111111111111111111111011110111111100010101101111111111111110111111111111111111111001111111111111110111111111111111110111111111111101111101111111111011111111110101111101111111111111111111111111011111101111111101001110111111110110111101111111111111111111111110111111110111111011111101101111111100111101111011110111111111111111110000111011110111101111111111111111111111011111110111111111111111111111011111011111111111111111111111111110011111110111111111111110111111111111011111111111111101101101111011010100111101111101111101111011110111111111110111111111111101111111001111110110111111011111111011101111111111111111111111010111111111111111111111111111111111110111111111111101111011111101111111101111101101111110111101111111111110111110111111111111111111111111111110110110111111111111111111111111111111111111111111111111111111111110111111111111011111111111111101111111100010111111111110011101111110111111101101101111111101111111111111111111111111111110111111111111111011111111111111111111101111111111111111111011111101111110111111111111111111111110111111111111111110111111111111111110111110111111111111111111111111111111011011111111111101111011111111111111110111110111111111011011011111111110111111111011011111110111111111111111111110111111111110111001111011101111111111111111111111111111111001111110111111111111101111010011111111111011111111111111111101111111111111111111011111111111111110111111111111111111101110111111111111011111111101110101111011111111111111001111111111001011011111111111111011111111111111101111111111111111111111110111111111111111111110101111111111111111111111111110111111111111111011111111111111101111110111111111111111111111111111111111111111111011111111110111111111111111111111110111101110111110111110011111110111101111011111111111111111111111111111111111111111111111111111111111011110110011111111111111111111101111111011111111111101111111111111111101111110111101111111111111111111011111111110111111111101111101111111111101011111111111111111111111101101111001111011111111111111111111111111111111111111111111111111111111101111101111111111111011111111011111111100110111111111111111101111111101111111111111111001110111111111111110011111111111111111111110011111101111111101111111111111110111111011111111111101110111011101111101101111111111100111111111111111111011111111110111111111110111111111110101111111111111011111110110110111111100111111101101111111111111111110011111111111111111111011111101111111111111111111111111101111111111110111111111111111111111110111111111111111110111111111111101111011111111111101011111111111111110011100111111111111111111111111111011111111011111111111111010111111111111111011111110111111011111111101011001111111011111111111110111111111111111110111111111111011011101111111011111110111111111011111111111110111111111111111101111111111001111111011111111110111111111111111111111111101101111111111111110111111011111011111111111111111111111111110111111111111111111111011111011111111111111111111110011011110111111111011111111111111111111011001110111111101111011111011100011101111101111111111001111111111110011111111111101101111111111111110111111111111111111111111110111011101111111111110111111111011111111111111111110111111111111111111111111111111100111111110111111111111111101000111111111111111111011111110111011111111111101101111111100111110101101111111111111111111111111111111111111111011111111111101111111111011111111111111111111111111110111111110111111111111101111011001111111111011011111111111111111111111111111111111111111111111111101111111101111111111111011111111111111111101100110111111111011111111111101111111101001111111111111101010111111110011111111111101111111110101110101101111110111111111111111111111011111111011111111111011111011101011111111101111101111111111111101111011111111110111111111111010111111111111111111111111111111111111111011111011111111111111111101111111111111111110111111111111111111111100111101111111111111111011011111111011111111110111111111110101011110111111111111111111111111111111111100111011111101101111101111111110111111011111110111111110111111111010011110111111111011110010111111011111111111101111111111111111111111110011111111101111111111111111111111111111110111111011111111111111110111111110110111111111111111111011110011111111111101111111100111111111111111111100111111111111101111001110111111111111111110111111111111111101111011101111101101110111111011111010010111111110111111101001111101110111111111111101111011111111101111111111111111111111110111111111111101101111011111111111110110111111111110111111111111111111110111111111111111011111111101111111111111111111111001111111111111111111001111111101110111011111111111110111111011111111110111101111111111111110111110111111101110111110111111111101111111101111011111111110111111111101111111111111111011111110111011111111111111110101111111111111111111111111111111011111111111011101111111111111111110101111111111111111111111111111111101101111111111110111111111101111110111111111111101111111111111111111111101110111111111111101111110111111111111101111111011111111110111111110111111111111111111111111101111111111111111111111111111111111011110100111111011101111111111111111111101101010110111110111111111011011111110101111111011111111111111011111111101011111111110111111111011111111111011111111111110111110111111111111111111101111111110111111111111111111111110111001111111110111111101111111111111111111111111111111111111101111110111111101111111111111111111111111111101111110110001111110111110100111111111001111111111111101111011111111111111110111011111101111101111111101111011111111111111110111110111111011111111111111110111111110011111111111101111111111111111111111111111011111111111110111111011111101111111111111111111011111101100111101111111101111101111111111111111111111101111110111111011111111111111111011101111111111101111101101111011101111111111110111111111101111011111111111111111111111110101111111111111111111101111110011111111111111111111111111111110111111111111110111111110111111111111111111111111101011111111011111111111011111111111111111111111111110111111111011111111111111110111111111111101111111111111111111111111111011111111011111111111111111101011111111111010111111111111111101111111111011011111111111101111111111111111111111111101111111111110111111111111111111111101111010100110111111111111111111111111101111111111011111111111111111111111111111111111111110111111111111110111111111111111111111011101111111111101111111111111101111111101111111111111111011011111111111111111111111011111101110111111111111111111110111111101111111110011111101111111111111111111111110011111111111111111111111111111101011111111111111111111111111011111110101110111111111101111111111011111111111111111111111111111111111100100110111111111111111111111111111111111111111111111111111111111111111111111111111110110111111111111111101111111111111011111111111111011111111111110111111111111111111111011111111111111111111011101111111111111101111011110011011110101111111110110111111101110101111110111111111111111111110011111111111111111111111111011111111111111101111111111111101111011100111111111111111111111111111111111111011101111111111111110111111111011110111001110111101111111111111111111011101111111111111111111111111100111011110111111101011111111011111110111110111110111111111111111001111101111010111111111111111111001111111111101111111111111101111110111111111011111111101111111111101111111111111111101111111111111011111111111111111111101111101111110111111111011111111011111111111110011111111111111111111111111111101111111110111111111111101110101101111111110111111111111111011111100111111111111111111111111111111111111111111111111111111110111101111111111101111101101110111011101111011111111111111111111011011111010111111111111111110101111111111111110011111111110111111111111011111110111111111110101111111111111111111111111011110100111111111111111011111111111111110111101111111111111111011111111111111111111101111111110111111111111111110111101001110111111011111111110111011011111111010111111111111111111111110111111111111111111111111101111111110101111111111110101111111011111101111011111111011011111111111111101101111111111111110111101011111111111110111111011111010111111111111111111111101101111111111111011111111111111111111110111111111111111111111011110011111111111111010110101111110111111111111111111111111111111111111111111011111111011111111111111011111111111101110101111111111111010111111111101011110111111111111111111111110111111111110111111110111111111111111111111111111111111110111111111111101111111111111101111111011110111111111101111111110111111111110111111111111111111101111011111111111111111111011111111101111110101111111111111111111111111111111011111111111111101111111111111111111111111111111111111111111111110111111111111111110011101011111111111111011111110111111111111111111111111111111001111011011110111110110011110111011111111110100111111111011110100110111001111111111111111110111111111101111110111110111110111111111111110111111111111111111111011111110111111111111100111111111111111111111111110111111111111110111110111111111111111111110110111111101111111101101111111111111111111111111111111111111111111111111011101111111101111111101101011011011110111111111111111111111111011111101111011110110111110101111111111111111111111111111111111011111111010111111110111101111111111011111111111101111111111110011111111111011011111111111111111101011111111111011111111111111111111011101111111101011111111111111111111111111111111111111111111111111110111111111111111111111111111111110111111110111111110111111111111011111111011111111111111111111111111010111111111111111111111111101101111111111111111111111111111111001111111111101111111111111011111111111111111111111111111111110111111111111011111111110111111111111110111111111111111111110111101111111111111111111101111111101110111111111110111011111111101111101111111111111111111111111111111111111101111111111111110101111111100111111111111111011111111111111111111011111101111111111111111111010111101101111011110110111111110111111011111110111110111111111110111111111111011111111111001111101011111111011111011110011111111110011110111111101111111111111111111101111100011111011011101111111111110011111101111111111111011111110111111110111111111110111111011111111111110111111111111111111111111111111111111101111011100111111011111111111111011011111111111111111001111111111111101111101111111111111111111111111111111111011111111111111111111111111011011111111111111011111111111111111111111011111111111111110101111110111011111111111111111101111111111111111111111111111111111111111101111111111110111111111111111111111111111111111101111111111111111111000111111111111101111111111111111101111111111111111111111111110101101111101111111111011111111110111111111111111111111111111111111011110111101111111111111111111111101111111110111111100111111111111111111111110111111111111111111111111111111101111111111100111100101111111111101111111011110111111111111111101111111110111111111111111111111111111111111111111110111110111111111111111111111111111101111111111111111111111111111011110111011111111111111111111111010111111111111111111111111111111111111111101111110101111111011111111111101110101111111011011011101111111111111011101111011010111110111111111111111111111111111111111101111111110111111111111111011111101111101111111101111111101111111111111111111111111111111111111101011010111111110111101111101111101111111111111011111111111111111111111111111011111101111011111111111111111011111111111100111111111111111111111111101111111111010111111111111111111111111111111111111111111111011111111111111111111111111111111111111111011111111011111111110111111111111111111111111111111111111111111011101111111111111111111111111111111111111111111011111111011111111111111110111111111111011111111111111111111011011111011111101100111011111110011110111111111111111111111101010111011011110111111110111111111111011111111111011111011111000101111111111111111001111111110101111111111111111110111111110111111000111111111111111011111111111111011111111111111111111111111111011111111111101111111111110111111111111111011111111111111111101110111101111111111111111001111111101111111011111111111111111011111111111111111110111011111110111111110110111111111111111111111111111111101011111111111111111101111111111011101111110111101101101111111011111111111111111110011111110111111111111111011111111111111111111111111110111101011110111111100111111101111111111110110111111111111111111110111011101111111011011011111110111111111111111111111011111111111111011111111111111111111111111111111011011111110101011011111111111011111011111110011111011111111111111111111101111111111110111011111111111111101111101111110011111111111111111111111111011011111111011111111111111111111111011110111111111011111111111101111111111111111001110111111111101101111110011111111111111111111110111111111111111111111111111111011111111111111111011111111111111110011101110111111111111111111111111101111011111111101111111111011110111111111111110111111111111111111111111111111111111011111111111101111110111111111110111111111111111111111111111011111110111111111111111111111101100111111111111011111111111111111111110110101111111111111111110101111110110111111111111111111111111111010111111110111001011111111111011111011111011111111111111111111111111111111111111010111101111111111111111111110111111111111111111111001111111111011111111111111110111111111111111111111101111101101111111111111111111111011010111111101111011111111111110011101011011111101111011111111111111101111111111111110011111111111111111111111111111111011111111111101111111111111101111111101111111111111111111111111111110111111111110111101111111100111111111111111011111111111111111111111011111111111111111111111011101111111111010111111111111110111011110111111111100111111110111111011111111111111111111111111111110111111101111111111110111111111111111111111111111110111111111111011011111111110111011111111111110111111010111111111111111001111111111111111011111011111111111111111111100111111111111111111111111111111111011111111111111111111111111111111111110111111111111111101111111111111111111101111111111111001011111111111111111101111101011111110111111111110111111101111011111111111110111111111111110111111111111101111101111011111111111111101111111111011111111100111111011111111111111111111111111111111111011111110111111111111011111111111111111111111111111111111111111101111001111111011111101111011111011110111111111111111111111111110101111110111111111111111011111011111111111110111101011111101111101111111111111111101011111110111101111111111001111011111111111101110101111101111011111011111111101101111110000111111111111111101111111111111110111111111111111101111110111101111111111111111111111111111011111111111011110111110111110111011111111101111001111110011111111111111111111111111111111111101111111111101111111111111111111111111011111110111011111111111111110101111110111111111111111011111111111111111011111100111111111111111011111111111111101101111111111111111111110111111111111111011111110111111110111001111011111111011111111111111111111111111111111111111111111111111111111111111011111111101101111111111111111111111110111111111011011110111111110111111111110011111111111111111110111111111110111100111111101111101111111110110111111111111111111011111111111111111111111111111011111111110101111111111101111111111111011111111011111111111111101111101111011011111101110111110111111100100111111111011111101111111111111110111111111111111111110111101111111111111111110111111111111111101111111111111111001111111101111111111111011111100111111111011111011111110101110111111101110110111011111111111111111110111111001111110011111111111111111110111111111111010111111111111110111111111111111111111100111111111111111111111111111111110111111111111111111111111111101101111110111111111111001111101111111111111111111111111110111111111100111111111011111111111111111110111011111111110011111111111111111111101111111011111111111111111110111110111111111110111011110111111111101111111100111111111111111111111111111111111011111111110111111101111111111111111111111011110110111111111111111111111111110111111111111111111111110111111111111111111111111101111111111101111110110111111110110111110111111111101111011111111101111110111111111111110110111111101111111111111111111111111011111111110111111111111111101111111111111111111011111001111111110110111111110111111111111111111111101111111101001111011101111110101111111111110101110111111011111111111111101111011111111011111011101111011111111111111111111110111111111111111111010110111111111110111111111111111011111111111110111110111111111111010110111100111110111111110111111111111111101111111111111111111111111111111111111111011111111011101111111011101111111011011111011101111010111111111111110111111101110011111101101111011111110111111111111011111011111111111111111111011110110111111111111111111110111111111010100010011111111111111011111111111111011101110111111111111111011101011111011110111111111111111011011111111111111111111111111111111111111101011111111111111111011111111110011111111011101111111111111111111011111101111111111111111111111111011101111111111111111111111111111111111111110111111111011110111101000111111111111111111111110111111111111111111011111111111111111111111111101011111011111111101011111010111101111011111111111111111111110111111111101111111011111111110111101110111111111111111111011111111111111111111011111111111111011111111111111111111011111111111111110111011111111111111111111110101111111101110101111111111111111111111111111111110111011111100111101110111011111111111111111111100111101111111111111011101011111110111111111111011111010111111111111111111111111111011101111110111110111111111111011110111111111111011110111111110110111111111101111111111111111111101111111011111011110011111111110111111111011111111111111111111111111111111110111111111011110111111111011111111111111111110111111011101111001110111011010110011111111111111111111111101111111111111011111111100111110111111111111100111100111111101111111111111111111101111111111111111111111101111111111111111111111111010110111101101111101110111101110111010111111111111010111101110111111110111111011111101111001111111111111111101001101111111111111011111111111111111111001111011110101111011111110111011111111111111111111101111111011010111011101111111111111110111111111111111111111111111101111111111111111101111111111111111101111111111011111111100111111011110111111111111111111101111101111101111111111111111111101111111110111111111011111111111101110111101111110111011111111110111011111111111111111110111111110111111001111110111011111111111111100111111111111111111110111111111101111111011111111110111111111111011111101111111111011111001111110111100111111111111111111111111110101111110111111111101111111111111111111101111111111111111101111111111101111111111111111111011111111111111111101111011101111111111110111111111111111111111111111111011110111111110111111011111111110111111111111111111110111111111101101111101111111111111111111111111111111111110111111111111111111111111101011011111110110111111111111111111111111111111111111111111111111111111101111101111111110011111101111111111111111111111011111111111111111111111111110111111111001111111110111110111111111111111110111111111111110010111111111111111111111110011011111111110111111111111111111101111110110111111111111111111111111011111111111110111101101111101111101111111111111111110111111111111101111111011111111111111111111111101111111101111111001111111011111111011111011111111111111111111111101111111111111111111111101111111011101111111111011110111111111110111110111111111111111111011111011111111111111111111111011011111101101111111111111111111111110101111111110111111111111111001101111111111111101100110101111111111101101111111011110101111111111111111101111111101111111011111111111111111111111111111111011111101111101111111111111111101111111111111101111111111111111111111111111111111111111111110101111111111111111111110101011111101101111011111011111111111011111111011111111111111111111100111111011011011111111111111101111111011111111111110111111111111111111011110111101111111111111111111110101111111011111110110101111111111111111101111111101111001111111111111110110111101111111111011111111111111111111111111001111111111111110111111110111111111111111111111101111111111111101111011111111111111001011110111111111011011111111110111001111111011111101111111111111111111111111010111111111111110110101011111111101111101111111110111111111001111111111011111110111101110111111111111111111111011111111111111111111001110101111101111111111111111010111111111111110110111110111111111110111111111101111111111100111111111011111011111101011101111111111101111111111111111111011111111111110011111111111100111111111101111101111111110111111011111111111111110111011111111111111111011111111111111111111111111001111111111111111101111111110101111111111111111111111111101111111111111111111111111011111111111111111111111111101111111101111111111111111111111111100101111111011011101111011111111111111110101110111111111101101111111111111110111111101111011111111111111111011111101110111111111111101111110111110011111110111111111011111111111111111111111111111001111110111111111111111111111110111110111111111111011111111110101011110111111111111111110110111010111111111111111111111101111111111111111110111110110110111111111110111111111111111111011111111011111111111111011111111111110111111111111111111111111111111111111111111111111110111111111111111011111001110111110111111110011111101101111111111111111011111111111111100111110111011011010111111111111111111111011101011110111111111111101111111011111111111110101111111111111111111011111111110111111111111110111111111111011111110111111111110111111110101110111111101111111111111111111111111111100011111111111111111111111111101111111111111011111111111110111111111111111110111111111011111111111111111111111111110111111111111111111111111111111111011111011111111111111111111111111101111111111111111111110111101111111111111111011111111111101110101011101111111111111111110011110111111111101111110111101111011111101110111101011011111111011111111111111111111111111101111010101111101101111111111010111111111111111111011101111111111111111111111111111111111111011111111111111111110011111111111111111111111101110111110101111111111111111111110111110111111111111111110111111111110111111101011111111111111110011111111111110111111111111111101111011101111110111111101111111111111111111111010111111101111111111111101111101111111111111111111110111110111111111101111110111111100111111111111111111111011111111111101111101111111111111111101111111101110111111111111110110011111101111111011110111111111111111110111110111011101111111111111111110111111111111111111011011101111111111111111111111111111101111111111111011101111010111111111111110011111110111100111111111111111101101111111111111101111111111111111111101111111101111111111111111111110011011110111111111111011111111111111111111111111111111111101111011111110101011111001111111111011011111010010110111111111011101101111111111110111111101011111111111111111111111110111111101111111111111111011111001011111111011111111101111001110111111111111111111111111111101111111111111111111111111111011111101111111111111111111111111111111101111111111111111011111111111111111111111001111111111111111111111011111110111111111111101111101111111111111110111111111111111111111011111111111111101111111011111110111111111111111111101111111111101111111001101011111100111011111101111010011110111111111101011101111111100111110101111111111111111111111111110111111111011111111111111111111001111111111111111111111111111111111111101110111010111111111101110110111111111111110110110111111111111111111111111111111111111111111111111101111111111111111111100111111111101111111111011111110111111111011111111111101111111111111111111111110111011111111111111101111101111111111111111111111111101111111111010111111111111111110110111111111110101111100101111111111111111111111111110111111111111111111111111110111111111111111110111110111101111111111111111111111111111111111111111111111011111101110011111001010111111111111111110111111111111110111111010110011111111110111111111111101111111110111111001111111011011111110011111110110111111101111111111111111111111111111110111101111111111110111111111111111110111101111111110111111101111111111111111011111111111111111101101101101111111110011111111111111111011101111111111111111011111111111111111010111010111111111111010111111111111111111101111111111100011011001111111111001111111111111111111011111111101111111110110111110011111111111101111111111111101111111111111011111110111111111110111111110111111111111110111101111111111111111110111111111111111111101111111111011111010111011111111011111001111101111111111110111111111111111111111101111011101111111111111111101111011111111101111111100111111111111111111110101011111111111111111111111111111111111011111011111111111111111101101101111111111111111111111111111111111011111011011010111111111101111111111011111111111111111111111111011111111111111111111111110111111011111111110111111011111111111111111111111111101111111011111111111111111111100111111111111111111110101101111111111111111111110111111101011111111111111110101111011111101111011111111111111111111110111111111111111111111111111011111111010111111111111111111010110110111111111111111101111101111111111111011111111111111101111111111111101111111111111111111101111111001110110111111101111101111111111111111101111011111111101111111111111111101111101111111111111110101111111111111111111111111111111111110111011111011111111111110110111110111111101110111111111111111111111011111111111101111101111111111111110111111111111011111111111111110111101111100111111111111111111111110111111111111111111101111111111011110111011101111111111111111111111110111111111101111110111111111111111111111111101110110101111101111111111111011111101111111111111111111110111110111111111101111111111111111111111111111101101111111111111111110111111111111111111110111111011011111111011111111111111111111111111111111111111111111111111110110100111111111011011111111111110111010111111111110111011111111111111011111011111111111111111111011111111111011110110111101111111111111111111011111111111111111111111111111101011111011111111111010110111110111111111111111111111110111111111111111111111101111110110111111111111110111111111111011111111111110111110111111101111101111111111111110111111110101111111111111011111110111101111111110111111111110011101111111111111101111111110111111111111111111111111111111111111110111011111111111111111111110111111111111111111111111111111111111111111111111101110111011111111111111011111111111110111111111011011111101111111111111111111111101111111111111011111111111111101111111111101111111111111111111111111111101110111101111101111111111111111111110110011111111111011111111111111111111111111111111111111111011110111110111110111110111101111111111111010111111111111111111111111111111101111111111111111111101111110111111111111111111111111110110101111111111111101111111111101111101110101110110011111111111111111010111111111011101111110101101101111111111101111111111111111111111111111011111111011111111111111111111111111111101111111110111111101111111111101111111011100111011111110110110110110111111101111111111101110111111101111111111110011111111111111011110111010111011111110101101111011111111111111111111111111111111111111111011111110101111111111111111111111111011011011111111111111111101111111101011111111111111111111111110111111011111011111111111111111111101111101111110111111111111111111111111111111111111111110111111110111111011101110111011111111111111111111011111111111111101111111101111011110111111011111111111111111111100111111011111111101111111111111111111111111010111111111111111111101101111111111111111100111111101111111101111111101111111110111110110111111111011111110111111101111111111011111111111011111110111111101111111110111111111111111111110111111111111111111011100111011110111111111111111111110111111111101111111111101110111111111111110111111111111110111111110111111011111111111111011111111101111111111111101101111111111111111101111111111111111111111001111111011110111011101111111111111111111011111111111111111111101110111111111111101111111111111111111111111111111011111110111111111111111111101111111111111111111110111111111101111111111101111111110110011111111011111111110111101111111111111111111111111011110111111111101111111111111111111111111111111111101011110111111101111111111111111110111111011111101111111110111111111111101111111111111110111111111111011101111110111111111101111111111111111111111111011100111111111111111110111011111111001111111111111011111111111011101111111111111101111111011111111111111100101111111111011111101110111111101111101111110111111101111111111111111101110111111111111111011110111111111111111111111111111111111110111011111111011111111111111110111101111111111111111111111111111111111111111110110111111111111101111101111111111111101011111111111111111111111111011111111111111111111101111101111111101111111101101110111111111011111011111101110111110111111111111111111111111011111011011110110111111010111111101110111110101111111110111111111111110101111111111101111111111111111111111110111111111111111111110111111111111111111111101011011011101101111111111111111110111111011110111011111111111101111101101111111111111101111011111111111011111101110111111111111101111110111111011111110111111111111111110011111111110110111111111111010111110111111111111111111111111111011111111111111011111110111101111111111111111111111111110111111111111111111101111111111111111111111111111101111111111111111011111111111010111111111111011111111110101110111011111110111101110111110011111111111111101101111111111111111111111011011111101101111111111111011111111011111111111111111011111111101110111111101110111111111111111101111111111111111111111111110111111111111101111111111111111011111110111110110111111111111111111111111110111111111110111111111111111111111111111110111111111111111111111111111111111111111111111011111111111111101110111111111111111111110111111111111011111111111111111110011110101011101111111011101111111111111111110111011101111111101111011110011100111111011111111111111111111111111101111111111111111110011111101111111110011111111111111101111111111111111101011111111111111111111111111111101111111011111111111111101111111101111111111111111111111111111111011111110111111111111111111111011111111111101111111111111111111111111111111111111111111111111111111101111101111111111111110111111101111111111011111101111111111111110111111111111111101111111011011111111111111011111111101111101111101111111111111101111011111011100111111011111111111111111111011111110111111101101111011111110111111111111111111111111101111111011111111111111111101111110111110111111101101111111111111111111111111110111111010011111111111011101111110111111101111111101111111111111111111111111101111111111110101111111011111111111111101111111111011111100011011111011111111111111001111111111111011111111111011111111111101111111111111111111011111111111111111111111110110111111011111110111111111011111111111111101111011111111111111111111111111011111111111111111111011110111111111111110111111111111111110111111111111110111111111111110111111111111111011011111011111111111110111111111111101111011111111111111111111110110111101101111101111111101111111111111111111111111111111111111100111111111111011011111111111101110111111100111111111111111111011111111111111111111011111011111111011111101111110111111110110011101111111111111011011111111011111111011111110111111011111111010111111111111110101111111111101111111111111110011111111110111111111111111111111111111111101111110100111110111111111111011011101111111111111111111111011111111111110111111111101111111111111111111111111111111111111111111111111111111111101101111111111111111111011110110111111011111111110111110111111111101111111111011111111010101110111111101111110011101111011011110110111011111111010111111111011111111111111111111111111101111111111111011111111111110111111111101001111110110011111110011111111111011011111111111111111111111111111001111111111111000001110111101111111111111110111111111110111111111111111111111111011111111111111011101111111011111111111111111111111111111111111111111111111111111111111111111110111111101111110011011111011111111111111111101111110111111111111111111111111111111001111101101111110101111111111111110111111111111101011110111101011111111111111111111110111101110111111110111110111010111111111111111111111111111011111111110001011101111111111100111101110111111111111110111111111111110110111111110111110111101110111111111011111111111011011011111111101111111110111111001110110101111111010111110111111111111111111011011111011111111111111111101011100111111111111111011111011111111111011111111101100110111111111111111111111111111111111111111111111111111111111111111111110111111011111011010111111110111111111111101101111111111110111111111111111101101111111110111011101111110110111111111010111111111011111101111111111111111111101101111111111111110101111101111111111111111011111111110111110111111111111111110011111111110111111110111111110111111111111111111111111111111010111111111111110101011101111111111111111111111101011111101111011111101111111110110110111111111111101111110111111111111111110111100011111001111111110111111111111111111111001111111111111111101010111111111111011111111111111111111111111111111111110111111111001111101011111111111111111111111111110111111101101111111011111111111111110011111101111101111111111111010111101111111111111111111111110110111111111111101110111111111011111111111111101111111111111111111111111111110101110110111111111111101111111111111101111111011111111111111111011111101111111111111111111111101110100111011011111111111111011011111111101111110111111111111111101111111111110111111111111101111111111111111111111111011110111111111111111011111111111111111111111111111111111111011111111111111111011111111111110111111111111111111111110011111111111111111110111111111111110111111111111111001101001111111111111011111011111110111111111111111111111111111111101111101111111101111111101111101111111111111110111110100111111111001111111111011111110110011111111111111011010011111011111111111111111111111101101111111111111110111011111100101101111111111111100111111101111111111111111111111110111111110100111111101101101011111111110111111011111111010111111011111110111111111110111111111111101100111111111111111111011111111111111111011111011111110111011111010111101111111111111101111111111101111111111111111111111111000111011111111111111111111111111111111111111111111111111111111001111011111011111111111111111111011111111111111111111111111111111111111111010111100111110101111110111110111101011111111111111111111100011111111111111101101101111111111111111011111111111111111111111111111111111111111111111111111111111111101111111111101011111111111001111101111111111111111110111111111111111110111111111101010111111111111111111111111111111111111111011111111111111111101011110111111111111111111111111111111111111111101101110111111111111111111111110110111101111011111111111111111111011111101111111111011111111111111111111111111111111111111111111110111111111010111111111111111111111111011111111111111110111111011111101111111111111110111111111011111111111111111111111111111111111110011111111111111111010111111111111111111111111111111101111111101001111111111111111001111111111111111111111111111110111111111111111101011111111111111111111111111011111111111110111111111011100111111011110111111011011100111111111111011111111111101111111111111111111111100111111011110111111111011011111111111111011110111111111111111111110011111101111111010111110111111101011111110111011111111110010110111110011111011111111111111111111111111111111111111101111011111111111101111111111111111111111111111111111111101111111011111111111111101111101111011110011111111111111111110111111011111011111111111011111111110101011110111111011111111111110111111111110111111110110011110111011101111111111101111111111111111111101101111111111111101111111111111111100111111111110111111110111111111111111111110100111111111111111111011001111111111110111111110111111011111111111111111111111111111111111101111111111111110111111101111101111101111111101111111111111111111111110111111111101111111111111111111111111111111111111110111111111011101111111111111111110111111111101011100111111111111011111101111110111110111111111111111111111111111111111111111111111111111111111111111111111111111110110111111101111111111111111111111101101110111101111111111111111111101111111111111111111111111111111110111110111111111111111111110111001101101110111101111111111111111111111111111111010111111011101111111101111101011111111111111111111011111111111111111110011011110111111101111111111111111111111111001111111110111110111111111011111111101111111111010111111110111111011111101111111111111101111111111101111111111111111011111111111110111111111111110111111111111011110110111111111111111111110111101110111111011111111111111111111111111110110111111011111111111111011111111111111111111101011011111111111111111111111111111110111111111110111111111101101111111111111111111111111110101111111101111111111111111111110001111111111111111110111111111111111101111111011111110001111111111111111111111111111011111111111111111111111111111011101111010101110101111111111011111011111111011111001111011111111111111111101111111111111111110111111101111110111111111011111111111101111110111111111110011111111101111111111011111111011111111111111111111111111110111111111101011111101111100111111111110111110111111111111111111101111011111111011111111111111111111111111111100111111111111111111111111001111111110111001111110111111111111111111100111110111111111110111111111111101101111111011110111111111111111011101010111111001111111111110110111101111111111111111111111111011111111111111111111111001111111111111111111111111111111111111101111111111111111111101111011110111001111101111111111111101111101111101111011110111111111101111111011111011111011111111111111110111111111111111010110111111111111111111111111101111111111111111111111110111111110111111011111111111111101111111101011111111101111011110111111101111111011111111011101110111111111111101011111111111111011111011111111111110111010111111111101111101111111101111111111101111111111111111011110111111110111111111101111111101111111111110111111111110111111101111111101111111111111101011111101111111111001111100111110111111111101111111111010111111111111111111111110011011111011010111111111111100111111111111011111110111111111101111111111111111111110111111111111111111111111111111111111111111111110111101111111111111111011111111111111011111110001111110111111111111111111101111110110110101111111111010111111111010111111111111101111110011111111111111111111111111111111111111111111011111111111111111110111111101111111110110111111111111011111111111111111110101111111001101101101111110101111110011111100111111011111111111101111111100110111111111111111101100111111110111110111111111111111110110111111010111111100111101111111111111011111111111111111111111111111101111011111111111111101100111111111111111111111111111111110111111111111111101111111111111111111111101101111011100101111011100101011010101111111111111111111111111111111101101111111111111111111110111111111011111101110010111111111111110111111111111111111111111111111101111111111111101111110111111110111111111111011011111111111111111110111111111111111111111111111111110111111111111111111111111111111111111111010111000111111110111111111110110111110111111111110111100111111111111111011011101111001101111111110111111111011111111101111111011111011111111111011111111111111111111011111101111101111111111111111111111101110111111101111011111111111111101111111111110011111111111111111111011111111111111111011100101101111111111111111111110111111111011111011111111111111111101110111111011111111111111111110111011011111111111111101111111111110101111000111110111111111111111101111111111111111110101101111100111111111111101111101111111101111111111111111111111101101111101101110110011111111111011111111011111111111111110110111111111111111110111111011111111111111111111111111111111011111111110111111111111111111111111110011111111110110111111111100111111101111111101111110111101111100110111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111110111111110111101111111111111110101011111111111111110111110111111111111111111111111111111111111111111111001011011111111111111111111110111101111101111111011110111111111111101111111111011111110111111111111111111111101111111111111111111101101111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111001011111110111111111111111111111111111111111110111111111110111111111111111111111110111111111101111101111111101110111111111111111111111011111111101111111011011001110111111111111111101111111001111111111111111111111111101101111111101111110110111111111101111111101111011111011001110111011110111111111111111111111111111111011111011111111111111111111111111111011111111111111111111011110101101111111111111111111110011111011111111111110111111111111111111110111111110111110111110111111111101110111111111111111111011111111111111011111111111111111101111111111111111111111111101011111101111000111111111111011111101110101110111111011111111101111100111111011111111111111101111111111110111111111111011111111111111111111111111111011111011111111111111111101111111111111111111111111111111111111111111111110110111111111111111111110111101111111111110111111111111111111111111111101111101111011111111111111111111111110110111101111101111101111111111111011111111111111111111111101011111111111111010010111111011101111011111111111110011110111111111111111111111111111110111111111011110111111110111111111110011111111111111111111111111111111111111110111111111111111011111111111011111111111110111111111111111111111111111011111111111011111111111111101111101111010101111111111111101111111111111101111111111111111111110111111111101111011111111111010111111111110110111111111111110111011111111111101111111101111111111111111111111111111111111111111111111101111101111111111111111111111111111111101111110011111111111111111111111011111111111111111111011110101010111111111111101111101111111011111111111111011111111111111111111111111100111111111111111101111111111111111111111111101111101110111111111111111111111111111111111011111110110111111111110011110111111111111111111111111111111111111111111111111111101111111011111110110111111111111111111101101111111111011111111111111111111101111111011111111111111111111101111111111111111101110111111110111111011111111111111111111110110111110011111101011011101111101011111011111111011101111111111111111101111111111111111111111111101111111101111111011111111111111011111111111111111111111111111110111111111111011111101111111111110111101110111111111111111111101111111110111111111011111101111111111111101111110111111111111111111111110111000111110111011111111110111110111111111111111101111101101111110111101111111111111111111111111101111111111111111111111111101110101111111011111111110111111111111111111111011101110110111111111111111101111011111111111101111111111111111101111100111110111111011111111111011001110111110111101111011111111111111010111111111110111111111111110111111111111111111111111011011111111111111110111111111111111111111111111111111111111111111111011111111111101110111111111111011111111111111111111111111111111111111011111011111111111111111011111111111111111111110001111111111111011111111011111011111111111111110110111101111111111111110111111111011110100111011111111111101111011111111111111111111110111111111111111111111101111111111111101111111011111111111111111111010001100111111111111111111111111111011111111111111111111111111111111111111111111111111111111011111111111011111011111111011101111111101110111111111001111111111111011111111111111011111111011111111111101111111111111111111111111111011100111111111111111111111111111111101110101111111001011111101111111111111111111111111110111111110111011111111111111111111111101110111111110011011111111111110111111011111110111111111111001100111111100111111111111101110011111111101011101101111111111111011111111110011101111111111110111010111111110110111110111111111111111111101111111111110111111111011111101111111111110101111111111111111111111111011111111101111111111111110011111111111111101111110111111111111111011111111111110111111111001101101111101110111111110111111111101111011101101111111111101110110111101111111111101111111111111011111111111100110111111111111111011111110111011111011111111110111111111111111111111111011111111111111111111101111111111110111111111110111111111111100111011111111111111111011101111111101110111111111011111111011111111110111111111111111111111011111111111011111101111111110101111111111111110110111111101111111111011111111111111011011111111111111111111101111111101111101111111111110111111111011111111111101111111111110101111111011111111111111111111111110110111011111111111111111101101111111111111111111111111011111110101111111110111111111111111011111111111111111011111111111111111111110101111111110111111111110111111111111111111110111111111111111101111111111111111101101111101111111011111111111110111111011110110101111111111111111111111111111111111111111101111111101111111100111111111111101101111111011111111111111111111111011111011111111111111111011011111111111111111100111111101111111111111111110011001111111110111111111011110010111111111101111111111101111111001111111111101111111111010111111111111111111111111111111111111110111111111101111001110111111101101111111111110111111111111111111110111111111111111111111111111111111011111111011111111111111111011111011101111110110111111111001111111111100111101111111101111111111111111111111011111111111110111101111111111111011110111111111111111110111011111111111011101111111111111111010111101111111101111110111111011101111011111111111111011111111111111111111111111111111111111111111111111110101111111111011101111111111101111111111110111011111111110111111111111110110011111111111101111111111111110111110111101111111111101111111110111110111111101111111001111111111111111011111111111111011101111111111011111111111111111111111110101111111111110111101010111111111001101111110010101111111111110111111111111111111110101111111101011111111111111110111111111111111111111111111111111111111111111111111101111111111110001111111111111111111111101111101111111111111101001111101111111101111101111111111110111111111111111110111011011111111111111111111111111111111111111111111111111111111111110100111111111111111101110111111111101111110111111011111111111111111111111111011111011111101110111111011111111111111111111111111111111101111011011101111111110011111111111111111111111011111111101111111111111001110100011101111111101111110111111111111111111111111111111111111111111111111001111111111111101100111111101111110111111111111100111111111111101111111111111111111111001111111110111111110111111111111111111111110110111011011001011111111111111111011111111111111111110011110011111111110011111111101111111111111111111111110111111111111111100101111110101111111111111111111111011111111111111111010111111111111110111111111111111111111111111110011111111111101110011111110111111111111111111111101111111111111111111111110110111101111111111111111111111111011111101111111111111111111111111111111110111111111011111111111111011111101111111101111111011111111111111111001111110010111111111111111111101111011111011111110110001111111111111111111111111111111110111111111111111111101110111111111111101111111111111111111011111111111010111110111111111111110101111111011011111111011101111011111111111111111111101111011111101111111111111011111111111100011111110101111111111111111111111010111111111111111111111111110111111111111111110111101111111111111111111110111110111111101011110011111111111111011111111111111111111111111111111111111111111101101111111111111111011111111111110111111111110111111011111111111011110111111111111101111111111011111110110111111110111011011111111101111111011111111111101111111111111111111101011111111011111111111111111111111111111111111111011111011001111111111111110101111111111111110111011111111101111110111010111111111111110110111111111111111101111111111111111111111111111111111111111111101111011111111110111111011111111101111101110111111111110111111101101111111111110111111111011011111111111111111111011110111001111111011111111111111111011111111011111111111111111111111110111111111111111111111111111001111111011111111101101111111111111110111111011110110101111101011111111111111111111111111111111111111111111111111111111111100111111111111111111111111110111111111111110111111111111111110011111111111011111111111111111111111110111111110111111111111110111111111111111111101111011111111111111111111111011101111111111111011111111101111111111111100111111111111111111011100111111011111110111111110111111111111111111011110111111111101111011111111110111111111110111111111111111111110101101111111111111111111110101111101111111111011111110111101110111111111111111111111110111111001111111111110111111111111111111111111111111111101101111110111110110111101111111111101111111111111111011111110111011111111111111111111111111010111111111111111101111101111110001111111110111111011011111111111111111111111111111110111101101111111111111111111111111111111111111101101101101111111111101010101111111111110111111111111111111111111111111111111111101111111111011111001111111111111111111111111111110111101101111110011111111111111111111111110110111111111101110111111111111011111101111111100011111111111011111101111111110101111110111011111111111110111011111111111111111101111111111100111110101111111111111111101111111111111111111111111011111111111111111111111111111111110111111101111011111111111110111111111111111111111101110101111111111111101111111110011110111111111111111111110111111111111011111111111111111111111111111111111111111110111111101111111111111111111111111011110111111111111111101111101011111111001111111111111111111010111111111111111111011111111111101111101011111111111111110111101111111101111111111111111011111111010111111111111110111111111111111111110111111111111101111111111111111111111110111111101111101110101111111111101110110101111111110011111111111110111110111111110110111111101111111111110111110111111111111111101111111111101101011111010111011111111110111111111110111111111111111111111011111111111111000110111111110111111101111111111101111111111111011101011011101111111111010111011101101111101111111111111111111111111111011111011111010011111111111111111111111111111011101111111111111111111111111111101111111111110111111111111110111111111111101111111111111111111111111111111111111101111111111111111111111111111111111011111111101011111111110110011111111111111011111111111111101111011111111111111111111111111111111110111111111011110111111111011111110101111111111110110101101111111111111111111111111111111111111111111111111111101111011111111100101110110111111111111111101111111101011111111111111111110111111111111011111111011110111111100111111101011111111111011111011110111111111111101111111111111111111101011111011111111111111111111111111111111110111011111111110011011001111111101111110111111001111111111111111111111111111111111111111011111101111101110110111111010111101111111111111111011111111111111111111111111111111011111111111111111111110111111111111111101011110001110111101111111111111111010101111111111111111001111111011111111110110111111111110111110111111111101111111111111101011110111111101111111111111111111011101111111111111111101111111110111101111001111110110111111111101111111111111111111111111110111111111111111011111111111111111101111111111011111111111111111101011111111111111011111111111111111111111111111110110111111011111111111111111111111111111111111111111101111011111111111111111011111111111111111111111110111111111111101101111111101101111101111111111011111111111111111111111100111111111110111111111111111111111111111111111111111111111110011111111111111111101101111110011111011111111111111101111111111111111111111111111111111111011111111111111111110111111111111111111111011011111111111111111101111111110110101111111111110111111111111111111111111110111100110011111111101111111011111111101100111111011111111001011111001111101111111111101111111101111111101111111011111111111111111111110111111111101111011111111011110101111111111111111101101111110111111100110110111111101101111111111111111111111101111110111011111111111111111111101110111111111101111111111111111111111111110111111111111111111111111111111111111111111111111111111111111110111111010111111111011100111111111111111111011111111111111011111111111111111111111111111011111111111111111110111110111111101111111111111111111111111111111111111011111111111111111111111111110111111101111111111111111111101110110011011111110111111101111101110111011101111111111111111111111111111111111111111100111111111111111111111101011110111111011111111111111110111111111111111111011101111111111111111111111010011111110111111111111101011111101111111110110111110111111101111111110111111111111110111011111011111111111111111111111111011111011111101111101111011111111011011111111110111111111111111111111101111111111111111111111111111111111111111011111110101111111111111110100110111111110111101111110110111011111101111111011111111110111101111111111111110111111111111111111111111111111111011101111111100111111101110111111011111111111111111011110111111110101111111111111111111111111111111111101111111111111111110111111011111111110111111111101111100111111100111100111111111100111010011111011111010111110101111111110111111111111111011111111011111111111111011110111111111111101111101101111111110111111111111111111111110111111011111011111111111111110111111111111111111111011111111111011011011111111011111111111111110111111111111111111111111111111101111111110111111111111111110101111111011111111111111111111111111111110111111111011111111110111111110111111111111011111111111110111111110111111101111111111111111111111110111111111111111111010111111111111101111111101110111101111111111111101111111111111111111111111101111111111101111111110111101111111111111110111111111111110111110111111111011111110111111111111111111110111111011110101111111011101111111111111111111111111111111010111010111111101111010111111101111111111111111111111111111111111111111111111011111111111111111011101111110111111111111111101111111101111001111101111111111111111011011101111111111111111111011111111111101111110111110111111111111111111111110111111011101101011011111001111111111111111111101111110111111111100111111111111111011101111111101111111111111111001111111111111011011111111111111111111111111110011111111101111101110111111111111111111111111111110110111110111111101111111011110110111111111111100111011111011110111111111011111110110001111111111111111111111111101011111111111010111111111110111111111111111011111111111111111111011111111111111111110110111111111011100100111111111111111111111111101111111101111111111111111111111111111111011111111111101111101111111110111111111101110111111111111110101011111111110111111111111011111011111110010111111111110111111001111111110111011111111111111111111111111111110111111111101111111001111111111101111111111101111111110111110111111111111011110101111011110111111111111111111111110111111101110111110111111111111111110111111111111111111111111101111111111111111111101011011101111101110111111111111110111111111111011111110110110111111011101111111111111110110101111111111111111111110011111111110111111101111101111111111111111111111011111101011111111111111111111001111111011111101111111111111111111101111101111111110111111111111111101111110010111111111111101111111111111111111111100111111111111111111111011001111111111111111111110111111111111110111111111111111111111111111111111111110111111110111111111011111111111101011111111111111111111101111111101110111111111101111111101111111011111011111111111111111111111100111110110011011000111000111111111111111111110111111111110111011111111111111111011111111011111101111111111111111111011111111011111011111111111111111111111111111111111111111111111111111100111101111111111111111111111101111011011111111111111111111101111111111111111010111110101111111011111010111111111111111111111111111111111101111111111111011111111011111101111111110111111111101011111111111111011111111101111011111111111001111011011111111111111111111111111111111111111111111111111101111101111111001111111111111101111111110111111111111111110111111111111111111111111111111011111011111110111011111101111111111111111111111101111110111111111011111011111111111110011111111111110111111011111111111001111110111111111011111111110111101111111111111111101111111111111101111110111111101111110111111111011111111111001101101111111011111101111111111111111111110111111111011101111111111111111010111111111111111111011111111111011111111111111111111111101111111111011111111111111111111110111111111111111101111111111111100111111111101111111111111111111111011111111010111111111111110111101111111101111111111111111001110111111111111111111111111111111111111111111111111111011111111111111111001111101111111111111101111111111111010111111111101111111111111111011111111111111100111111111111111111111110111101111111111111111111111111111111101111111111111111111011111111111101111111111111111111111111111111111011101111111111111111111101111111111001111111111111111111111110111111110111111111101111111111111111111111111111111011011111111111111111111111111110110111101110111111111101011111111011111111111111111111111111111111111111111101111111111111111111111111111110111111110111111101111111011111101111111011111111111011111111111111111111111110011111101111110111111011111111011111101111110011110111111111111111111110111101111111111111111111100011011111111111111110111110111111111101111111111111111111111111001111111111111101111111111101111111111111111111101111110101111011111111110111111101111111111111011101111111111111111110011111011111111111101111111101111110111011111111101111011011111110111001111011111111111111101111101111111111111111111111110111111111101111101111111111101111011111111111111111110110111111111111011111101111001011111111011111111110111111111111111111111101111111111111101111111111111001111111111111110000111111111111011111111111111101111111011111011111111111111111111111111011111011111111110101011111110111111111111111111111111111111101111111111011111111111111011111110111111111111111111011111111111101111111111111111100111111111111101011111111111111111111111110011111111111111110110110111111111111111111111111111111101111110111111100111111111111101111111111111111111111111111111111110111111111011111111111101111111111111111111111111111111111111111110111111111111111111111111111111110011111111110111111111111111111101111111111011111111111111111111111011111111111111110111111110111111101111111110111011111111111111111111111111111111111101111111111111111101111101111111111111110111111111111011111010111111111111111111111111110111111101111111111111111111111110111101011111111110111111111111111111111111111011111110011111111101111111110101111111111111111011111111111111111111110111110111111111001011111011101111110111101111111111111111111111111111011111111111111111111011111111111111011111111101111111111111111111111111111111011111111111111111111111101101111111111111111111111111111011111111111011110111111111110111111111110111111011001110111111110111111111111111111111111111001111111101101111111100111111111111111101011101111111111111111111111111101101111011111111111110111111111111111111111111101111111111101111111111111111111111111111111111111110111111101111110011111111101101110111111111111111111111100111001111011111111111111111111111011111110111111111111111111001111111111111111011111110111011111111111111111011011111111111101101111111111111111110101111111111111111111111111111111011111101110101111111111111111111111011111011111111111111111111101111111110111111111111111111111111111011111111111111111110111001111111110111111111111111111111111100111011111111101111111111111011111111111111111111111111111111110111111111111111111111111101110111100101111111111111111111111111011111110111101111110101101111111111101111111111111110111111111111100111111111111111111111111111111111111100111111110111111111111111111111111111111111011011111110111101111110111011111111110111111111110111111111111111111111111110111010001111111111111111111111111111111111111111111111111101111111111111111111111111111111111001101111111111111111101111111111110111011111011111011111110111111111011111111111110111111110110111101111111111111111111111111111111000011111111110111110101111011111111111101111011111001111110111111111111101011111111111101111111111110011111111111111111111111011111101011111110111111111111101111111111111111111111111111111101111111111111111011110011011111011110011111111110011111111111111001111111111111111111111011011111111111111110111111101111111011111101011011111111111101111111111111110111111111111111111011111111111100111111111111111110111111111111111111111110111111111111111011111111011111110111111111111111111111101111110111110111011111111111111111111111101111111111111111011100111111111110110111111101111101111101010100111111111111111111111111011111111111101101111101111111111111111111101111111111111110011111111111111111101111111101111111010001110111111111111111111111111111100111111111111111111111111111111111110110111110111110110101011111111111111111111111111111111111111100111111111111111111111111111111111111011101101111111111101011111010011111111011101111111111111111111011111110111011110110110111111111111011110111011101011111111111111011111110011111111110111101110111111110101111111111111101101111111111111101111111111111111111111011110110111111011111111111101111110110011101111111111111110111101111111111110111111110111111111111011111111111011111101111110111111111111111111110111111111111111110111111111111111111111111111111101111101111111111111111111011010111011011111111111111110111111111111111111111111111111100111111110110011111111001111101111111111111111011111111011111111101111100111011111011101111111111110110101110111111111111111111111111111111011101101111111111111111111111111111111111111111101111011111111111111111111111111111111111111111111101111011110111101111101111011111110111111111111101111011111111111111111011111011011101011111011111111111111101011111111111111111111111111111101111111111111110111111111111011010111111101111111110111011111111110111111110111111011111111111011111110110111101111110111111011111111111111111111111111100011111111111111111111111111111111111111111111011111111101111111111111111111111011111101111111111101110110110111110111111111110111111111111111111111111111110111111111111111011111111111111111011111111111111110111101111111111111111111111111111111111101111110011111111111110111111111111111111111111111111111011111111110111011111101011111111101111111101101111111111111111111111111111100111111111110111111111111111111011111111111111101101111111011111111111111110111111011110111111111111111111111111101011111111101110101111111111101111110110110111111111111111111111110111111111111111111111111111111111111111111111111111011011111111111101111111111111101101111111101111111111111111111111111111011011111111101111111110111111111111111111111100111111111011101111111111111111101101111111111111101111111110111111111111111111011111111111111101111111101011110111111111101111111111001111111110111111110111111111111111111111111111011010110011111111110111111111101111111111111110111111111111111111111111111111111111100111011111111111101101011111111111111111111011111101111111111111111110111111111111111101110110110111111111111111111111111111111111110111111101111111111111111111111111101101111101111111001111111011101010111101111111110111111101111111110111111110111011111111111111111111011011111111101111011111111110111101111110111101111111111111110111111111111011111111111111110111110111101001111111111110111111111011011101111101111111111111111110111111110111011010111111101110111101111111011011111111111111111111111111111110111111111111011111011111111111111111111011011011011111111110111111111111111111111101011111110111111111110101111111101111110111101111111111111110111111111111111111111111111111111110111111110111101110011101111111111111111111111111111011111111111111111111111101111111111011111111111111111111110010111111111111111111111111111111111111111111011011011111101111111111110111111111111111100111111111111111111111111111010111111111111111110110111011111110110110111011111111111111111111101111111111111111111111111111101011101011111111011111011111111111111111111110011111111101111111010111101001110100111111111101111111110011111111111111011111111111111101110111101111111111111111111101111111111111110111111110101111111101111110101111100111111111111111011111111111111111111111110111111110111111111111111001111011111111111111111111111111111111111111111111111101110111111011111101111111111111101111111111111101011101111111111101111111111001111111111111101111111011111111110111101111111111111111111111111101111111111111111111111111011111001111111111101111111110111111101111111111111011111101111111110110111111111011111110111111111111111111111110110111111011111101111111111111111111111111111011111011111111111111111110111101111111111111111111111111100110111111100110111111111111111110111111110111111111111111111111111111111111111101111111111111111011101111111101111111111111111111111110110111111111111111011111101111111111111111111111111011111111011111111111111111111111111111111111111111111111111111111111001111011111001111111111111110001100111011110111111111111101111110011111110101111011111111111011111011111111111110111111110111011111111111111111111111111101111111011110111111111111111101111111111111111111011100111011111111010011011111111011011111111111111111111111110111111111111101011111111011111011111111011101111111111111011111111111111101111110111111100111111110101100111111111001111111011111111110111111111111111110111111111111111111111111111111111101111111111111111111111101111111011111111111011111111111111111111111111111111110111111110111111111111110111011111111111011111111111111111101111101001111111111111111111111111111111111111101111111101111111111111111011101111111010111110111011011110011011111111111111111111011111111111111110111111111011111111111111111110111111001111111111101111111111111101111111111111111110101111111111111110111111111001111111111011101111111111111111111111111111111011111111111111111110101111111111111110010111111111111111111111010111111011111110111111111111111111000111011111111111111101111111111111111111111111111111101111110111111111111111111111111111111111111110110111111111111111011111110111110111111111111111111100101011111111111110111111111111111111111111111111110101111101101111111101111111111111111111111111111011011111111101111111111111111111111111111111110011111111111111011111111111111111111111111111011111111111111111111111111111111111111111011111011111110111011101111111111111111110011111011111111111111111111111111111111111111111111111111110001101111111111111111101111110111101111111111111111111111101111111111111111111111111110111101111111111011110111111111111111111111111111111111111011111111111111111110111111111111101101111111111111101111110111011111111111111111111011011111111010111111110110111011111111111000111111110111011101111110111111111011111111111111100111110111011111111111101101110011111111111111111111111100100111110111011111110111111111110111111110010111110111111111111111111110111111101111111110110110111111111110101111111111111111110111101011111011111111111111111110111111111111111111111111111111111110011111111111111011110111111111111101110110111111111110111111111011101111111111111111111111111111011111111111100101111111111101111111101111101111111111001101111111111111111111111111101111111110010111111111111111111111111111111111111111101111111111111111010111111111111111101110111101111111111110111111111111111110110111011111110111111111101101111111101111111111111111111111111111111111110101011111101111111111100111101011111011111111101110111101111110011111111111111111111111111111111111110011111111111111111111110111111111111111011111111111111101111111111011111111111111101111111100111111011111111101101111111101011111111111111111011111111111111011101011111111011111111111111111111110011111111111111010011111110110101111110111111110111111110111011111111111101011011111101111111111011011111101111111111111111101110111111111111111111111111111111111011111111111100111111111111111111111111101110111111111001011111111111111111111101101111111111111001101011111111111111110111011111111111111101110111111111111111110101111111111111111111111111111111111111011111111111111111111111111011111111111111111011101111110111111101101011111111111111111111111110100111111110110111111111011111111111101001111111111110111111111111111111111110111111111111011111111101111111011011111011111111111111111100111111011111011111111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111110111111111111111111111111111111111011111111111111111111111111111111111111111111111111101111111011111111110110111111111110111011111111111111111111111111111101111111101101111101111111111111110111010011111111110111111110111111110111111111111110111110111111111111110011111111111111110111111111111110110111111111111111111111111011111111111110111111111111110111100011111111111111111111111101111111011111111111111111101100111101111110111111111101111111111111001011111111111111111111111101111111101111111011111111111111111101011101111111111111111010110111111111111010111111111111111111111111011111111101111101111111111111111111111011111111111111011111110101111111011101111111111011011101111001111011011011101111111111110111111111111111110111111111111111111111011111111111100111111111001111111111111111111111101111111000111011111111110011111111010011111111011111111111111101011111111111111111111111111111111111011111111111111111111111111101111111111111101111111010111111111110111111111111111111011111110101111111111111111011011111111010111011111111101111111010111101111110111111111111111011111111111001101111111111111111111111111111011111110111111111111111101111110111111111110111111111111111110101111111111111111111011111111111111111110111111111101111111011111111101111101101111111010110111111111111111111111111111111101101010111111110111111001111111111111110111111011111111111111111111111110110111111111111011111111011101111111111101111111111111011110111111111111111010101011111101111011111110011111101111011111111111111011111101111111111111111101111111111110111110111111111101111011111101101111001111111111101111111111101101111101011111111111101111111111111111111111111111101111111111011111111111111111101111111111011111111111101111111111111111111111111111111101111111111111111111111111111011111011111101111111111001111101111111111101111111111111101111111111111011011111011101111111111111111111111111111111111111111111101101110111111111110111110111111011111111111101100111111111111111111001111111111110111110111111111111111111111010111111111111111111111101001011111111101111111111111111111111101111111011111110111111110110111111111111111011111101111111011111111111111111111110011111110011101111101111101111111111111111011111101111011111111111111111111111011011110111111111111111111111011111111111111111101011111111110011010111101111110111111111111111111110111111101111111011110110110111111111111111111011111111111111111111111111001111111011111111111110111111111111111111111111111111111111111111111011111111111111111111011110111111111111101111110111111111101111100111110111111011111110111111101011111111011111101111111110111111111111111111111111101111111111111111111111111111111101011101111111101101101111111111111111111111111111101111111111110111111111111110111111111111111110111111111111111010101111101110111111111111111011101111111110110111110111011111110111111111011111101101011101111101111111111111111111101101111101011111110110111111111111111111111111111111111011111111001111111111111111111111111111111111101011111101101101111111111111111111111111111111111111101111111101111111111111111111100111101011001111111110111111111110111111111111001111110111111111111101111101011011111111110111101011111111111110111111011101111111111111111111110111111111111111110111011111111111111110110111111011111111101111111110100111111111111111111011101111111111110111111111111011111111111111111111111011111111101111111111111111111111111111110010111111111111110111111111111011111111011111111101111111111111101111111111111111110101111111111111111111111101111111111111111111100101111110111111011111101111101111111110111111111111110110111111111011111111111111101111111111111111111111111111111111110111111111111111111111111111111111111111111111111011111111111111111111111111011111111101111110111011011111111110111111110111111111101111111111101111111111110111111111111111011110111111111111111111111011111111111111101111111111111111111110111111111011111111111101110111111110111111111100111001111101111101111110111111111111111111101011111111111111111111101111110111111010111111111111110110111111110011111011110111111010111011111110011111011111111111101110111111110111011111111111111111111111111101111111011111110110110111111111011111111111111111111111111111011111011111101111111111111111111101111101001001111111101011111101111101111111111111111110111101111111111111111111101111011111111111111111101110100101111111111111110101111111111111110111101001011101010111110111111111111101111111111111111101111111111111101111111001111111011111011111111111111111111111111111111111101111001111111111111111101111011011111111111111011111111111011111111111111101111111111111111111111111010111111111111101111111011111110111111111110111111111011111111111111111101111111111111111011111110111011111111111111101111111111111111111101101011111100001111110111111111110111111111111111110111011111001101101111111011111111111111111111111111000111111111101111111111111111111001111111111111111111111111110011110111111111111101111111111111110110011110111111111111111111111111111101101101111111111111011111111111101111111111111111111111011111111111111111001111011111101110111101111111111111111111100111111111110111101111111111111111111111011111111111111110011110111111111111110111111110111101111111111111111111111111101111101111111111111011111111111011101111111110110111111111111111111111111111011111110111111011101010111101111111111110111111111101111111111101110111011111111101110000111111110011111111111111011111101111111110111110101111110111111111111111101111011010111111111111011111111111111111111111101110011011111111111111011101011111110011101110111111111111101111101111111111111111101111111111111111111111111011111111111111111111111111011111111111111111011111111111111111111111111111110111011110111111110111111111111111111111110011111111111111111111111111110101111101111111111111111111111101111111111111111111111111101111111111101111111111111011111111111111110111111111110111111111111111101111111011110111111111111111101111110110011110111110111111011111111111110111111101111110111011001111101111101110111111111111111111111111111111110011111111110111111110111111111111001111111111011100111111011111111111111101111111111111111111110101100111111111110111110101111111111111110111110111110111111111111111111111111110111111111111111111011101111011111111111111011111101101111111010110110110111111110111111110111111111111111111111111111111111111111111111111111111110101111101011111011111111111111111111111111111101111111111101110111111111111101011111111111101011111111111111111111111101111101110111111111110111111111110100111111111111111110111101111111111111111011011111111001101111111001111111111111111111001110001111111011111111111111111111111111111101101111111110111111111101101101111111111111111111110111101111111111111111111111111111111110111111111111110111111111110011111111111011111111111111111111111111101111110111111111111111111110111111100111111011011101011110111111111011111111111111111101101110111101101111111111111111101111111111111111111111000101111110111011111111111111111110111111111111111111100111111111111011111111101111111111111111111111011110111100111101111111111111111111111100101101111111111111111100110110111111111111111111111111111101111111111111111101011111111110011111111111110111111111111111111010011011111111111111111111111111111110111111100111010111101111110111011011111111111111111111111111011111111111111101111111101111111111111111111111111111110111101101111111011111011111111111111110110111111110111111111011111111101111111111111111111111111111001111111111111111101110111100100111011111111111011111111111111101111111111111111111111101001111111110111101111111011111111110111111111110011111111111111011111110011111111111111111111110111101101111111101111011111011110110111111011111111111101111111111101111111011111011111111111111111111111110111101111101011111111010101110101100111111101111111011111111101111101111011111111111110111111111111111111111111111111111110111111111111111101111111111101111111111111101111111101111011111111111011111111110011111111011111101111101111111111111001111111111111101110111111111111111111111111011111111111101111111111011111111111111110111111010111111111111111111101010111101111101111111110110111001111101101111111111011111111110011111111111111111111111111011111111101111111111111111011110111111011111101111101101011111111111111110101111111111111111011111110111110111011111111111011111111111111111111111111111111110111111111111111011111011111101111111111111111111011111111111111111011111111111111111111111111111111101111111101111111101111111111111111011111011011111111111111111111111111111111111110111011010111111111111111111111111110111010001111111111111101110111011111111111111011111111111111111111111101111111111101111111110110111111111111111111011111111111111111111111011111111111111111110111111111011111011111010111111111111111111111110111111110111111101110111111111111111111111111001111110110101111011111111011111111111011111010111111110111111111111011011011111111111111111111101111111111111111111111111101110111011111011111111111111111110111111111111111111111111111111101111111111111111100110011111111111111101111111101101111111111111111111111111111111011111111111111111111111111111111111111011110111111111111111111011111101111111111111111111111111111111111111111111011111111111111111110111111111111111011111111111111111101111011111111101111111111111111111111111111111111110111110010011111111100111111011111101111111111111111011111011111111111110111111101111101111111111111111110111111111111111110110111111111011111111111111111111111111011110111111011111111111110111101111111111111111111111110010111111101111111111111110111111111111111110111111011101111111111111111110011111111101101111111101111101111111111111111011111111111111111111111111111111111111111110111001111111111011101111111111111111110111011111110111111111111111111111111111111011111111111111111111111111111111111010101111111111111111111111111111111111111101111110111111111111111111111111101111111111110101111111110111111111101101111111111111100101110111111111111111101011111011111111101111111111110111111111111111111111111101111111101111111111110111101111111111111111111111111110111111111111111011110111111111111111111111111100111011111110111111111111111011110011111111111111111011111111110111111111111101111001011111111111111111101101111101110111111111111011101111111111111011111101111111011111111111111111101111111111111111101111111111111110111111111111111111111010111111101111111111111111101111111111111011111111110111111111011011111111111011111101111111110111110011111110111101011111111111100111111111111111110111010110111111111111111100111101110011111111011111111111111111111011001111010111111111111011001111111111111111111111101111111100111111111101111110111111111111111111111111111111111110111111111111111011111111011111111111111110011111111111011111111111111111111111011101111111111011111111111111111111110111111111111101111111111011111011111111111111111111110111111111111111011110111011111111111111111011111110101101011111111101010011111111111110111111111111111110111111111111111111111011111101111101111111111101010111111011111111110101111011111011111111101111111111111101011111111111111011011111111111011101111111110101011111101111111111101011111111111111111111111110111100011111111101111111101111011111111111110110111111111011111111111111111111101111111110111111111111111111111011111101111101110111111111001111001101111111111111011111111111111111111111111111110111110111011111111111111111111111111110011111111111111111111111101111101111111111011111111011101111111111011111011111111111111111110111110111111111101110111100111111111111110111110111011111111011111111011111111111110011111101111110010111111111110101111111111110111111111111111111111101111111111111111111111011101111111111111111111111111111111101111110011111111111111111110111111111011111110111111111111111111111110111111111111101111111110111111111111111111111111110111111110111111111111111111111110101110111111111111011111111111011111110111101111111111111111101111111111111111101011111110111111111111111111110111111111111111111111111111111111111101111111111111101111111111111111111111111111111101111111101011111111111111100111011111011101111101111111111110111100111111111011111111111111101111111110111101111111111101101110111111111110101111111111111111111111111110101110111111011011011111111111111111111111111111111111111111111111111111101001111111111111010111110011111111111111111011111111111111011111110111111111111111111111111111110111111111111111111101111111111111111111111111111111111111101011110111111111110111111110111111111111111101111111111111111111101111111111111111111101111111111111111111011111111111111111111111111011111111111110110111111101111111110111111101110110110111111110011111101001101101111110111110110110111111111011111101011111111111101110111111111101111111011101110111111111111111011101001111111111111111111111111110111110111111011111101111111111111111111111111111111110111010111111111111111011101111111101011011011111111111111111111110101111111110111111110111101111111111111111111111111111011111111010111111101111101011111111111111111111111101110111111111111101111111111110010110101111111111111111111111110111111101011111111111111011101111111111110111111111111111111111010111111111111011111110111101111111111111111011111111111101111101110111111101011111011111111111100101111111111110010111111110111011101111111111100101011111110111101111111111111111111110111111110011111101111111111111111111111111101011111110101111111111111111111111111011111111111101111111101111111111111111111111111111111110110111111111111111101111110111111111111111101111111111111110111111111111011111111111111111111111111111111111011111111111111111111111111111111001111111111111110111111100111101101111111111111111111111111111111110111110111111111111111111111111111111111111111110111111110110111111111010101011101111111111111111101111111011011111111111111111110111011111101111111111111111100111011001111110111111111111111111111111011111111111111111111101111111111111111111011111111111110101111110111111111111110111111011111111110111111111111111111110101111111111111111111111111111111011111101111111111111111111111111111111111111111111111011111111110110101111111111111111011011111111111111111111111111111111111111111111111111111111111111111111111101010001011111110111101100111111111111111111111010111011111111011111111111110111111110110111100111111111111111111111111111111111101111111111111111111111111111111111111111111011111100110111101111111101111011111111111111111101111111111110111111101111011111001111110111111111111111111111111111011111101111111111111111100101101111111001111111111111111111111101101111110011111111011101111111111100111101011111111110111101111111111111110111111111111101111111111111110110111111101111111111110011111011111011111111111111111111111111111110111101101111111111111111111111101111111111111111011111101110011111111011111111011101111110111111111111111110101111101111111111110111111111100111111111111111111111111011111111111111111111111111111011110111111111111111110101111111101111111111111111101110011101101101110111111111111101111111111111101110111111111111011111111111111111111011111111111111110011111111111111111111111111011110111101111111111111111111110111101111111100111111111111111111011111101111111110100011111111111101111111111011111110011101111011111111111111111111011111011110111111111111011111111011111111110111111010101111111111101111111110111111111111111111110111111110101101111111111111111111111111111110111111111111111111111111111011111111111011111111111011111111111111111111111111111111111111111111111111111011111111111111111111111111111111110111111111101111111111011111111011111011111111111111111111111111111011111111101111111111110111111111110011111111011111111111101111111111111111111111111111011111111111111111001111111111111111111111111111111111111111111111011111111111011101111101111111011111111111110111111111111111111111111111111111111011111111111111111111110111111100101111111011111111111101110101110111111111111111011111111101111110111111111101111111011111111110111111111111111011011111101111111111111111111011111111111110111111111111111011111111111111111111011100111010011111111110011111111011111111111111011111111111011111111111111111011111111111111111111111110111110011111111111111111111111101111111111111111010111111111111111111111011111101111111111111111111111111011111010011110101111101111111110111111111111111111111111111111111111111111011011111111111111110111111110111001111001111111111111011100111111111111111111101011111101111111111101111111111011111111111111111110110011111101111111101110111100111111111111111111110101111111111111111110111110111111111001111111111111011111111111111001110111111011111111111111111110111101111111101111101111111100111111111011111111111110111110111111101101111111111111111111111011110111111111111111111111111111111111101111110011111111110111111111111110111111111101011111011110110101110111111111111101101011111111111110011011011111111111111111111101111111111110110111111101111111111111011111111111111111101111111111011111110111101111111011101110111111111111110111110111111111111011101100111111111111111111111111111111111111011111111111111111011111111101111111111101111111110110110111111111111111011111111111110111110111111111111011111111111111101111111111110111111111011100111111111111011111111111111111111111111111111111111111111111101110111111111111011110111110111111111111111111111111111111110111111111110111101111110111111111111011111111101111111111110111111111111111111111011111111011011011111111100111111111111111111111111111111111011111001110111101111111111111101111111110101111110111101011101111111111111111111000111111111111111111011111111111101111111111111111111111011111111110101111111111111111111111011111111100111111111111011111111111111110111101111111111111111111111011111110111111001110111011111111111110110111111111111111111111111111001111111111111111111101111111011110111111111111111111101110111111111111111111111111111111111111111111111111011111101111111111111101111101111111101111011111111111111111111111110111101111111111111111111011101111111111111111101111111111111111111111111111101111110111110111111111111111111001111111111111111111111111111111111111111011111111100111001111111110101111011111101111111101111111111011111111110110111011101111000101111101111111110111111101110111111111110111111111111101111111111111111111111111110111011101111111111110111111111110011111011111111110111110101111110111011111111101111111101110011111110111111111011011111110111111111111111111011111101111111111111101111111111011111111111111111111110111111111111111111111111110111111101111111111111111111111111011111010101111101111111111111111101111111110111111111111110111111111011111110111101111111111100101111101111111011111011011111111111100110110111111111111111111111111110011111011111111111111111111011111111111011111111101111110111111111011011100111011011111111111011111111111111011111111111111111111111011111111111101101111111011111111111111111111111111100110111111011111111111110111111111111101111111111111110111011111110101111111100111011011110111111111111110111111110111111111111011011111111101111111111111110011111111011111111111111111101111111111111111111111111111011011111111111001111111111011110111101111111110110111111111111111110111111111111111111111111110111011111111001110111111111111111111110111111111111111111111110110111111111111111111111111111111111110111101111001111111101111111011101111111111111111000010111111111110111111111001110111111111011111011111001110111111101110111110011111111101111111111111111111111111111111111111101111011111101111101111011101111111111111111011111110111100111110111010111111111110111111111011010111111111111110111011011101111111111111101111111111111010011111111111111100101111011111111111111011111111011011101111111111110111111010111111011111111111111011111101111111111111101001111111011111101111111111101111111011111110111101111111111111111111111110111111111111111111111111111110111111101111111110111111111111111111111111111111111111111111111111111111111111011010111110111111111111111111111111111111111111111111111111111111111111111110011111111101111011111111101111111111111111111111111101111111111111111111101111111111111111011111101111111111111110111111101111111111111111011111100110111111111111111111111111111111111101011111001011111111011111111111101111110111111111111111111111111111011111111111111111111101111111111101111111111111111111101100111101111111101111111111111111111111101111111111101111011111111111111111111111111011111111111001111011111010110111111110111010111111111111111110110011111111111111111111100111011111111111101110111111111111111111111101111111111111111111111111111110110110101101111110111111111101111000111111111111101011011111111111101111111111111111111111101111111101111111111111101111011111011111111011111111111110110111111111111111111111111111111110111111111111101111111111111111111111101111111111111111111111111111111111111110111110111110111111111111111111101111111111111111111111111011101111111111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111110111011111111011111110110111110110111011110011110111110110101000111111111011111111101111111111111111111111111111111111011011111111101111101111111111111111111100101111111111111111111111111111110111011101111101101111111111111111111011111111111111011111111111111100111111111111011111111111011111101111111111111111111111111111110110111101010111111111101111111110111111111011111111111111011111111111111111101111111111101111111111111111111111111111100111111111101111111011111111111011110111111111110111111111111111111110011101011111111111111111111101111101111111111110111111111011111111111111111111111111111111111111110111111101111111001111111111111111111111110111110111111111101111111111111011111111111101111111011111111101111011111111111011111010111111111101111111110111111011110111111111111111111011011111111011101111111111111110111111111111111111111111111011111011110111111110111111111111101110111101111011011111111111111111111111111111111011111110111111111111111110111111011111111111111111110111011111111111111101101111111110011111111111101010111111101111111111010111111011111110111111101111111110111111111111000101101101111101111111111111111110111101111111101111011111111101111101111111111111111111111111111011111111111110111101010111111111111111111111111111111111111111111111111111111111111111111111100111111111111111110111111111011111111110111111111111111101101110111011111011111101101011111111110101111111011111111111111111111111111111101101110111111111111110101111111110111111011111111111111111111101111111111111101110111111010111111111111111111111101111111111111111111111111111111111101111110111100111101111110110111111111111111011111011111111111111111111111011011101011111111111111101101111110111111111111111111111111111111111110011111111111110111111111111111011111011111111110001111111111111111110111111111011011111101011001111100111111111111110111111111111101111111111110010111111111011111111111111111111111111111111111111101111101111111111111111111111111111111111111111111111111011011111011011111111111001111111111111111111111111111111111111110111111101111111111110011111101111111011111011111111110111110011111101101111111111101111111111111111111101111111111111111111111111111111111111011111111110111111110110111011001101111111111111110011111111010111111101101101111111111011111111111101111111111111111111111111010111111011111111111111111111111111111111101111111101111111111111111110111111111111111111101100111111111111111110111101111111111111111111011111101111111111111111111101011111111111111101111111111111110101111111111111100111111111111111111111101111011111111111111101111011011111111011111111110011110111111111101111111011101111111111110111111101111111111111111111110111111111111110111111111111011111110111111111101011111111111111111111111111111111111111111111111111111110100111111111111110111110111111111111111101111111011111111111111111101111111111111111111011111111111111111011111110110111110110111111111111111111111100111111111111111111111101011111111011111111111101111111111111111111110111011111111111111111111101111111101111101111111111111101110111111111111101111111111111111111111111111110111111110111111111111111111111111111111110111111111100110111111111111111111001110111111111111111111110111111111111111110111111111111111111111111011011111111111111111111101111101111111111101111111011110111111111111110111110101111101111111111011111111101111100111011011111111111111111111101101100111111101111110111111110111111110111111111111111111110110111111111110111111111111101111111011111101110111111111111111111010111111111101111111011111111011111110111111111111111111101011111101111011111110111111111111101111111011010010001111111001101111011101110111111111110111111010110111111111111110110111111111111111101111110111111111111111111111111111111111111111111110101011111101111110101101111111110101011110101111111111111111110111111110011111111111111101111111111111111111111111111001111111101111111111111111111000111111111111111111111111111011111111111111111111111111111111111101111111111111111111110111111111111011111101101101111111111110101101111111111011111111001111111111110111111111101111111111111111111111010010111111111111111111111111111111111111110111111110111111111111111110101011111111111111111001111011111101111111111111111111111111110111111111111111111111111111111111101101111111111011111110111111111111111110111111111111110011111111111111111111111111111111111111111111111101111111111111111101101111101110111110111111111111111101111111111011111111111101111111111110111111111111110111011111111111111111111111101111111111111110111111111111111111111011111111111111111011100111111101011111111111111110101011011100111110110111111111111111101101111111111111111111101111100101111101111111111111111111111111111110111111111011111111111111011111111111111101111111101111011111111011111111111110111111111111111100111110101111111111101111111111111111011111011111111111011111111111111111111111111111110110111111111111011111111101111111111111111111111101011111111111111111111111010110111111111111111110111110111111111111111111101111111111111100111101110111111111111111111111111111111101111111111111111101101111111111111101111111111111111111011111111011111111011111011101011101111111111011111111111111100110101011111111111111111011111101111111111111111111111111111111111111111111110111101011111111111111111111111111011101011111111101111111111101111111111101111111111111111111111111111111011011111111101111111111111111111111011011111111111111101111111111111100111111110110111111011111111011110111111110111111111101111110111111011110111111111111111111101101011111111111111111111100011111111011111011111111111111111111110110110101011111111111111011100011101111111111111111011111101100111111010110111111111111111111101111111100111110111011111111110111111111101111111111111101111111111111111111111111111110011111111111111111111111111101111111111111111101111111111101011111111011111101111110111111111111111111111111111111111101110111111111111111110110111111111111111111111111111111111111101111111011011010111111001111111101100101111111111111111111101111011111111101111111111111111111111111011111110111111111111111111111111111111111110111111111101111001111111111111111111111111111111111111111111111111111111111111111101111100111111111111001011011111111111111111100101111110111111111111011101111111111111111010111111111011111111010111111011111111111111110111111111111111111111110110111111111111111011111111111111001111011111111111111111011111111111111111011111111111111111100111011011111111111111111111111111111101111110111111111111111111111111111011111111111110111111110111111111111111111111110111111110111111111101111111111111111101101111111111111101111111011110111111101111111111001011101111010111111111101111111111111111111111111111111101111111101111111111111111111111111111111111111111111111111110010111111111111111110111010111110111101111111111111111111111111111111111111110111011110111111101100011011101111111111111111010111110111111111111111101101111111111111111111110110101110111111100111111111011011111111110111111111111111111111111111111111111111111110111111111111111111111111110011101111111111111111111111111111111110111101011111111111111111101111111111111110111101111110111111111111111111111111111111111111111111111110100111111110111101111111111010110111111111101111111101111111110111111011111111110110111111111111111111001111111111111111111101111110111111101110111111111111111111111111011111111110011111111111111111111111111110101111111111111111111101111111111111101111110111111101111111111111111111111111101111111111110111111111101111111111011011011111111111111011111011110111111111111111011111111001111111110111111111111011111111111101111110011111111111111111011111110111111111111111110110111111011110111111111111011111011111111111010011111101100111011111100111111111111111111111111111111111110011111111111111011111111111111111111010111111111111111111111111110101110011111111111011111111111111111111111011111101101111111011111111101111111011101111111111111111111111111111111111111110111111111110111111011101111111011111111111011111110111111001011111111111001110111111101111111111111111011111111111111111111111111111111111111100111100111111111111111011111110111111111111110011111111101111111111111111111111111111111111011111111111111111111101111111111110111111010111111111110010101111111111111111111110111100111111111110011111011111010111101101111111011010111111111111011111101110111110111111111111111111111111111011011111111111111101101111111111110110111101111111011111111111111111111111111111111111111111111111100011111111011111101111111111011111101011110111111111100101111111111111111111111110111111101110111110111111101111111111011110111111110111111111111110101111111111111111110101111111111101111111111111111111111111111011110111011110110111111111111110111111111111110111011111111111111010111111111111111111111100111111111111111101101101111101110100111111111111111011111111110111111111101111111111111101111101010111110101111011111111111111111111111111111111111101111110111101111111111101111111110111111111111110111111011111111101011111111111111011111110011111111111111111111101011111111111111111110111011011011111011011111110101111110111111011111111111111111111111111111111111111111101111111110101111010111111111011111111111111011110111011111111111111011101101111111111111110110111111111111110111110111110111111111111111101111111100111111100111111100111101011111101110111111011111111111011111111110011111111111111111111111111111111110110111111111111101101111111111111010111111111111111111111111011011011101111111110111101111110110101111111011111011111111111110011111111101011111011101111111111101011111111110111110111111111011111011111111111111101111011111111111110111111101111111011011111111111111101111111111111111111111111111101111111111111111111111111111111111111011111100011111111110111111111111111111011111111111111101010111111111111111111111101110111111111011011110111111111111111111011111111111101101110111111110111111111111111111111111111111111011011111111111110111111011111111101101111111111111111011111111111111111111111101111111111111111111111001111111111111111111111111111111111111110111111111111110110111111011111111111111111111111011111111111111111111110101111111111110010111011111111111111011111101111111111111111111111011011111111111111111111111001111111110111111111111111101111111111101101111111011111101111011101111111111111111111111111110111111111111111111111011111111111111111101111111101111110111111111111111111111011111110101111011111011111111111111101111111111111111110111111111111111111111111011111111111111111010111111111111111111111111011011101011111111001111111011111111111111110111111111111111111111110111110111001101111011110101111111111111100111111111111111111110111101111101111110111111101111111111001111111101111111010111111111111101111011111111111111101101111111110011111111111111110111111101110111111111111111111111111011111111001111111111111111111011111111111011111111111110111011101111011111111111111111111101111110110111111111111111111101011111111111111110111111111111111111111111110011101110111111110110111111101111111101111111111111111101111110111111111101111111101011111111111111111111111110011111111110111111111011011111110111111111011111101111111111011011111011111111111111001111111111111111111111111111111111111111111111111111111111111100011111111110111111101111111011101111110111111111110111111111111011111111011111111101111111011111111101111111111111111111111111111111110111111111111101111111111111111101111111111111111111111111111011111111111111111100111111110111111111111111111111111111110111011111101110110111111111111110101111111101111101111101011011111111111111110110111011111111101111111111111101110111111111111011111111111111001111111111111111111111111011111010111101111111111011111111111101111111111111111011101101111101011111110110111101101111111111111111111111111111101111111111101111111011100101111111111111101111110110111111111011111111101111111111111111011110111110111111111011111101111111111101111111110111011111110111111101110110111111011111111110111111101111111111111111111111111111111110010111111111111111110111111111101111111111111111011111111111111111111011111101111111100111111111111111011111111111111111111111111101111111111111111111111111111111111111101111111111111110101111111010111110110011111011111111111111111111101011111110111111111111110111111111001111111111111110111111110111101001111111111111111111111111111111111111110001111111110011111111111111111111111011111111111011111111111111011111111111011010111111110111111101111011101111110111111111101111011110111011111111111111110100111111111111111110111111111111111111111111111101111111111111111111111110111111111110111111101111111111110101111111111111000111111111111101111011111111111111111111100100111111111111111111111111110111010111110111111011111111111111111111111110111111111111111111111111111111110111111110011011111101111111111111111111011111111111111101111111111111111111111111111011111111111111011111111111111101010111111111111101111111111111001111111111010111001011111111111110111111111111101111111111111110111111110011111111111111110101110111110111111111101111111011111111101111111111110101011111111111111111111111111111011011111111111011101111111111101111111111111101111111111111111111111100111101111111111111111111101111111111111110111011110111101101111011101111111111100111111111111111011011111111111011111111111110111111011111111111111111111101111111111111111111111111111111010011111111111111111111111011111011111111111111111111111111101111111111011111011110111111111001101011011101111011111111101001111111111110111111111111111101111101111011011111111111111011011110011111111011111101111111111111111111111111111111111011111110111011110111110011111110110111111111111111111101111101111101111111111110111111111101111111111111111111101111111101110101110111111011100101011111111110111010101111111101111111111011111111111111110111111110110111111111111101111111111111111111111111101111011011111111111111011110011111111111111111101111110111111110111111111110111100111111011111101101111111111111011111111111111111111111111111010111111111111110101011111101111111111111011111011111111111011111111111011101111011111111111111110111011011111111111111011111111111111111101011111111111111111111111111101111111111111101110111101111111111111110111111101111101111111111111011110110101111101111011111111110111111011111111111110011111110101111111110110111011111110111111111101111111011111110111011111101111111111111111111111111111101111111111111110101111111111111011111011111111011111100111111111111111111111110111111111111111111111110111111111111111111111111111111110111111111111111111111111011111111111111111111101111111111111111111111101111111111111110101110111011101111111111111111111111111101111111011011110110111111111111011101111111101111111111111111111000111111111111111111111111111111111111111111011111111111111111111111111111111111111101111111111111011011111111111110101111111011111111111111110111101111111111101010011101010101111111111111111111111110111111111111101111111011111111011111100111111111111111111111111111110111111101111111111111111111111111110111111110111111111111110111110110111111111111111111111111011111111111111111101111111111111111101111101111111111111111010111111111101101111111111111111111011111111101111111110011111101111111111111111111111111111111111111111111111111111111111111101111011111111101111111111111111111110111101111111101111111111111111110111111111101111111111001111111111101111111111111101110111111111111111111110111111110111111111111111111110111101111111111011110111011110111111111111111111110111111111011111111111111111111111111111111111111101111111111111011111111111111010111111111111011111111110011111111111111111101011111101111111111101111111111111111111111111111111111111011111111011111111110111111111111011101111101111111011011111011111011111101111111111111111111111110111111111111111111111111111011111111111110111101111111000101101111011011010111111111111110111111111111111111111111011110111111111101111100111101011111011011100111111111111111111101111111111011111111111000111111110111011111111110101111111111111110111111111111110110111111111111111111111111111110111011111111111111110111111111111111111111111110111111011101001111111111001011111111111011111111111111111111011111111111111111101111111110011111011111111111101111111111111111111111111111101111111111111111011111011011100111011011111111111111111111111111111111101111111111110101111111111111101111101111011111111101111110011011111101011101111111111101111110111011111111011111011011111111111111010111110111111111111101111111011111011111011111111110011111111111111111111111111111111111110111110111111101111010111111111111111111111111111111111111111111111111011111111111011111111111111111111111111111111111101111111101111101111111011111111111111111111110111111111011111111111111111111111111111110111111111111111111111110111111111111110111111111110111111111001111111111100111011111111111111101111111111101111111101111111110111111111101111111111111011111111101111111111111111101111111101101111111111111110011111110110011111111111101111011111111011011111100110100111111111101111011101111011111101111111110110011110111111111111111111111110111111111111111101101111111111111110011111111110111111101011111011110111111110111111111111111111111111111011111110111111111011111111111111110101111110111111111100111111110110111111111011111110111111111111111011111111110111111111111111111111111111011111111110111111111111111111111111101111100011111111111111010111110101111111110110111111111011111110111111101111101101111111011111010111111111101110111111111011111111111111111111111111111111111110111010111111111110111011111111111101111111111111111101101111011111111111110111111111111010110111011011111111111111110111101111111111111001111111111101011101011111111111111111111111111011111111111111111110111111110111111111101111110110111011111111110110101110111111111111111101111011101110111110111011111111111111111111111111111111111111101111111010111111101111111111011101111111111111111011111111111111111111111101100111101111111111110111101111111111110111110111111111111111111111101011111111111111111011111101011111101111110111111111111111101111101011111011111111111111111111111111111111111111111001111101111111101111111111111111011111111101111111111111010111111110111111111111111111111111111111011111111111111011110111111111111101111111111111101111111111011111111111111111111111111011111111111111101011111011011111110111111101111110011011111111111111111111101111111101111111111111111111101111111101111111111111101111111111111111101111111110001111111101101111111111111111111111111111111111011111110111111111110111111111111111111111111111011111101111110111110111101111111111111111111111110011111101101111111111100111110111110111111111110111111101111111111111111111111110111011111111011111111111011101111111111001111111111111100101111111111111111111111111111111101011111110101111111111111001011110110101101101111111111111111111111111101111111111111111111111111111011111111111111111111111110111111111111111111111111111011111101111111111111111110111111111111111110110011111111111101111111111111111011110111111111111101111111111111101111111111111111111111111011111011111111110111111111111111011111111111111111111111111111111111011111111111100111111111110101111111101111111001111101111111101111101111111111111100011111011111111110111111101010111101111111111111111111111111111111111111011111101111111111101111111101111111111110111111111110111111011011011010111001111111111101111001111111111010111101111111111111111111111111111111111011111111011111110101111111111111111111110011111111111111111111111111111111011111111011111111111111111111110111111111111111111111111010111111101110111111101111111101111111111110111111111100111111001111111011111111101110111111111111111110011111111110111111111111111111111111111111111111111110111110111111101111111111111111111111111111011011011011111011111111111110111111111111110001111111111111111111111111111111111110111111111101111011111111010111111111111111011111101111111111111111011110101111101011110111110111111111011111101111101111111011111011111110111111111101111111110111111011111111111111111111100111111111111111111101111110101111111110111111111111111111111111111111110111011111111111111111101011111111111110111111111101111111111111110111111111111011111111111111111111111111111111111111111111110111110111111111111111111111101110110111111111111111111111111110111111111111101111111110111111110111111111101101111111111111111111111111111111111011111111111111111111111111101111111111111111111111110111110011111101110101111111110111111111111111111111101011111111111011111111111111111111011100111111111111111111111111111111111111111111111111101111111100111111111101111111111111111011111011111111111111111111111111111111101111111011111111111111111111101111111111111101101111101011111011110111111111111111111111111111111111111111111110101011111101110111111111111111111111011111111111111111011111111111111111111111010110110111111110111111111111111010110111111111101111111101111111111111111111011101111111111111101110111111111101111111111111111110111011100111111101111111111110101111111111101111111111101111111111111111111111110111111110111111101101111111111111111111111111110111111111111011111111010111110111111101110111111101111111111111011011111111111111111111111011011111111111101111111111111110101111111111111111011111011111110111011111111111101010111101111111101111111111111111111011111111110110111111111111111111111111111111111111111111111110111111111111111111111111011111101111011111111111111111111111111110001111111111111111111110111111111101111111111110111111111011011111111111111111111110111101111111111111111111101111111011111111101111111111111101001111111111011110111111111111111101111111011011111010111111111111110100111111011111111111110101111110111111011011111111101101111010111001110111111111111111111111111111111110111111111110111111111111111101111111111111111111111111111110111111110111111011110111111111111111111111101111111110111111001111111101111111011111111111111111111111111111111111111111110111111101111011101011111111110111111101111101111111111111111110111011111111111101011110100111111111111111101111111111011110101111111110110111110011111011111011111111111111011111111111011111111111111111111111111111111110111111111111110011111111101111111111011111101111111111110111111110101111111111110001011100011111111111111111011111111111110110111111111111111110010111111111111111111111111111111111101011111011001111111111111101111111011011111111100111101111011110111111111110111111110000111111001010111111111111111111111101111111111111111011111001111111011111101110111111111111111110111111111111111011111111101111111111110110111101110111101110111111111111111111111111110110111111111111111111111110111111111111111111111111111111111110111111111111111111111111111111110111111111111110111111111111101011111011111111011011111111111111111111111011111101111011111111111011101111111111111011100111110010011111111111111111111101111111111111010101111011111111111101111011000011111111110111111111111111111111111111111011111111111111111111001111111111111111101111010111001111111111011111111111111111111111111111111111111011111011101011111111111111101111111110111111111111111111111110011111111111111111111111111111111111011111111011111010111111111111011111101111111111111111111111111101110111111101111101111111111101111011111111111110111111111111111110010101111111110101111111111111111101011111111111111111111111111111101011111111111111111111111001111111010111011110111011101111111111111111111111111111111111111011111110111111111111111111111111111111111111111110111111111101101110111111111111111111011111111011111111101111111111111111111111111101111110111111111101111111011111111111011111011111111110111111111111111111111111111011110111111101111101111011111111111010111111111111111111111111101111111011010011101111110111011011111111111110111111111111111111011111111111111111111111111111111011111111110111111111111111110111111111111111111101011111011011111111111111111111111111111011111011111111111011111110101111111111111111111111111101101011111111101111111111111111110111101111111111111111111111111101111011111111101101101111111111111110111111111111010111111111111101111101111111111111111111111111111111111001110111111110011111111011111101111111111111001101111111111110111101111111011111111101111111111110111111111111111111111111111111111111111111101111111111101111111111111111111101111011111101111111011111111111111111111111111111111110110111101010111111011111110111111110111101111111101111111110110111111111111011111111111101111111111111110110111111111101111111111111011100111011111111111101111111111011111111111111110111101011110111101111101111111111111111111111111011111111111101111001111011111111111111101111111111111111011111110111111111111111111111111111111101111111111111111111111111111111111111111111011110111111111111111111011111111111111011111111111111111111111111111111111111111111111111111111101111111111110111111111111111111101110111111111111111111111011011111111101101011101111111111111101111111111111110011011111111111101011101101111111111111110111111101110111111101110111111111111110110111110111111011111111101111111111011101011111111111111101111111111111111111111111110111111111110111010111111111111111111111110111111011010110111111100111110111111111011111111111111111111111110111111111101111111101110111111111110111111111111111111111110110111101111111110111111111101111111111011111111111101111111111101111111111101111111111111111111111111101111111110111111111100111111111111111111111111111111111111011111111111111110010101111011110111110111111111101111111110111111110111110111111111111111111110111111111111111111111111111101111111111111111110111111100111111111111101011111111111111110111111111011111111111111011111111111111111111111111111111111011111111110011110111110110111111111111101110100111111101110111111111011111111111111111111111111101111110101111111110110101111111011111111111111111011111111010111101111111111111111111111111101111101100111111111111111111111110110011111111111111001101111111101111111111111111111111111111011111111111110110111111100111111110101011101111111110101111111111111101111111111111111101111111111111111101111111111111111111111110111111111111111111111111110111111100111111111010111111110111111111111110111111111111111111001111111111111111111111101011111111111111101101111111110111111110111111101110111111111011111111111111111111110111111111111111111111111110111111011101111111011111111111101111111111111111111011111111111111111111101111111110101111111101111111111111111111111111111111111111111111111111111111111111111111100111111111011111111111110111111111111111111111111101011101111011111111110111011111101101011001110111111111111111111111111111111011111110110111111111011111111011111110111111111111111010111111111111000111111111111111111001011101111111111111101101100010110011111111111111111101111111100110101111111111011111111111011111111111111111111010111111111101111011111011111111101111111110111111111111111111111110111111111111111111111011011111111111111110111111111111111111101111011001111101111111111111101111111111111111111111111111011011111111111111111111000111111111111111111111111111001111101111001111111111011111111111111111111111111101111111111111111101111111111111111111111111111111111011111111111110111111111111101111111011001111011110111011111111111111101101011111111111111111111111111111011111110111111011011111111101111111111111111111111111111111111011101111111111111111111111011101111111110111110111110110111110011111101111111101101111111111011111111111111011111111110111111011111101111111111111111111111111111111011111111110111111111101110011111111011111111111111111111101111111101111111101111111111111111111110111111111111111101111111011110111111111111111111111111011011111111110111111111111111101111110111111001111111111111111111111111111111011111111111101111101111101111110010101111011111111101111011111111111100111111111111111111101001111111111111111111111111111111111111011101111111111111111111011111111111111111111011111111111111101111110111111111111111111111111111111111101111111111111111111111011011111110110111111111111111011111011111111111111101011111010111111111111111111111111110111110111101111111011110111111111111111111111101001101111111111001111111111101111111111110111111111111111101011111111011111111111110111111100111111111111100011111111110111111111101101011111111110111110111110101101111111100011110110111111111111110111110111111111111111110110111101101111111111111110101111110111001111111111111111111110011111111111111110110111111111101111111111111101011111111111101111111110101111111101111111010111111111010111111110101111111111111111001111111111111101101111110111011111110101110111111000111011111111111111111111101111111111111111111011110111111111111111111111111011011111111011110111111100110101111110111111111111111111111111111111111111111110111111101101111111011111111110111111111111111111111111111111111111111111111111111111010110111011111101101111110111011111111111110111111111111110111101001111111111011111111111110011111101111111101111111111111111111111111111111111110111111111111111111111111101111111111111111111111001111111111011111111111111111111111111111111010011111101111111110111111111111111111111101111111111111001111111111111111101111111111111111111111101111111111111111101101011101111101111011011111111111111111111110111011101111111111111110001111110111111111110100110111111111111111011101111111111111110111111110101111111111111111111111111111011111111111111111110111111001111101010111111111111111111111111111101111111110011011111111111001110111111111111111111111101011111101110110110111111111101111111111111111011111111011111110100011101111111111111110111111111111101111110111101111111011011110111111101110010111111111111111111111111111111111111111111111111111111111111111111111111111011011101110111111111111111111111111111111111111111111111111111111011111011111111111110111111011111111111011111111111111111011111011111111101111101111111111111111111111011011101001011111111011111111111001110011111111101111101101111111111111111111101111111011111011111001111110111111101111111111011111111011110111111110011111111111111111111111111111101111111111101111111111111111111111111111111111111111011111111110111101111111111111111111101111011110011101111111111111111111111111111001101001110011111111111101011111111111111111111111111111111111111011111011111111111111111111111111101111111111111111101111101111111111101111111111001111101111111111111111110111111111111111111101011111101111111110111111111101111011100011111111011111111111111101111110011111111111111110111111111101111111111110111111111111111011111101111111111111101110111011111111111111011111111111011111111110111111101110110111111111111111111101111111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111110111110111111111011111111111110111111111101111111101111111111110111011111101111100101111111111111111111110111111110110111111111110111111011111111111101111111111101111111011111111111110111111111111111111111111111111111111110111111111111101111111111111111011111111011111011111111111111101101110111111111111111111011111111111111111111111111111111111111111111111111011111111111101011110111111110001101011011111111111111111111111111111101111111111111111111110111111111011111111111111111011111111111111111101111011101111111111111110111110111111111111111111111111111111111100110111111111111011111111110101011011111111110110111111111111111011110111111111111111010111111111101111111011111111111111111111000111011111011011011111111110111111111111101101111011111111010111111111110111111111111111111101111101111110101101111111001111111011110111111111100111111111111111111111011010110111111111111111111111111111011111111111011111011111111111111111111011011110110111111101111011011111011101111111111111110011111011111111111111111111111111110111111110111111110111111101011011111111110111111111111111111110101111001110111001111010101000110111111111001110100011101111110111111111110101111110111101111111111111011111111111111011111011111101111111111111011111111011110111110111111011111111111111111110111111111110011111111111111001010111011111111111111111111111111111111111110101111101111111111111111111111101111111111111111111101111111111111101110111111111111111111111101110111111111111111110111111111110111111111110110110111111111111111100111111111111101011111111111111011111001110101011111111111100011111111111111111111111111111111111111111111111111111011100101111111111111110111111111111111111100111101111111111111111011111111111110111101111111111111111110111001111111101111111111111111101111111110101011111111111100111111111111111111111111111111111111111111101111110111110111111111111111111111111111111111111101111011101111111111111111111111111011011111111111111111101111111111111111111101011101011111111101011111111101111111101111111011111111111111111111111011111111111111111111111111111111111111111111111011111111101111111111111111110111111011111111110111111111111111100111111111111111110111111111111001011111111101111111111111111111111111111011111111110110110011111111111111111111111111111111111111111001111111111011111101111111111011111110001111111111111111111110111111001010111111111111111111111111111111101111111011101101101111111111111111111111111111111110111111111111011010111101111101111011110111111111111111111111111111111111111111000111111101111101011111111111111111111111111111111111111111111110111111010101011111111111111111111111111110111011011111111011111111101111101111111101111111111111111111111111101111111110101111111111111101111111111011110111111111101111111111111111111101111111111111110100111111101111111111111111111111111111111111111111110101111111111101111110111110111111111111111111111111100111111100011111011111111110111011111111111111110111110111111110110111111111111011101111111111111111110111111110011111101011111111111111111111111111111111111111111111111101101011111111111111111111001111111111010111111101111111101111111111111011111111101111111111111111110101111011011111110111111111101111111111111100111111111111110111110111110111101111111111111101111111111111111101111111101111011101111110111111111110111111111111111111101011111111111111111111111111111111110111110111111111111101111110111111110111111111111111111101111111110001