Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Ghosts Age by Anne29
def checkio(ooooo):
boooooo= { 0b10011100010000:0b0,
0b10011100001111:0b1,0b10011100001101:0b10,
0b10011100001010:0b11,0b10011100001011:0b100,0b10011100000110
:0b101,0b10011100000111:0b110,0b10011100001000:0b111,0b10011100000000:0b1000,
0b10011100000001:0b1001,0b10011100000010:0b1010,0b10011100000011:0b1011,0b10011100000100:
0b1100,0b10011011110111:0b1101,0b10011011111000:0b1110,0b10011011111001:0b1111,0b10011011111010:0b10000,
0b10011011111011:0b10001,0b10011011111100:0b10010,0b10011011111101:0b10011,0b10011011111110:0b10100,0b10011011101001
:0b10101,0b10011011101010:0b10110,0b10011011101011:0b10111,0b10011011101100:0b11000,0b10011011101101:0b11001,0b10011011101110:
0b11010,0b10011011101111:0b11011,0b10011011110000:0b11100,0b10011011110001:0b11101,0b10011011110010:0b11110,0b10011011110011:0b11111,
0b10011011110100:0b100000,0b10011011110101:0b100001,0b10011011010011:0b100010,0b10011011010100:0b100011,0b10011011010101:0b100100,0b10011011010110
:0b100101,0b10011011010111:0b100110,0b10011011011000:0b100111,0b10011011011001:0b101000,0b10011011011010:0b101001,0b10011011011011:0b101010,0b10011011011100
:0b101011,0b10011011011101:0b101100,0b10011011011110:0b101101,0b10011011011111:0b101110,0b10011011100000:0b101111,0b10011011100001:0b110000,0b10011011100010:0b110001,
0b10011011100011:0b110010,0b10011011100100 :0b110011,0b10011011100101:0b110100,0b10011011100110: 0b110101,0b10011011100111:0b110110,0b10011010110000:0b110111,
0b10011010110001:0b111000,0b10011010110010: 0b111001,0b10011010110011:0b000000000000111010, 0b10011010110100:0b111011,0b10011010110101:0b111100,
0b10011010110110:0b111101,0b10011010110111 : 0b111110,0b10011010111000:0b000000111111 , 0b10011010111001:0b1000000,0b10011010111010:0b1000001,
0b10011010111011:0b1000010,0b10011010111100 : 0b1000011,0b10011010111101:0b01000100 , 0b10011010111110:0b1000101,0b10011010111111:0b1000110,
0b10011011000000:0b1000111,0b10011011000001 : 0b1001000,0b10011011000010:0b01001001 , 0b10011011000011:0b1001010,0b10011011000100:0b1001011,
0b10011011000101:0b1001100,0b10011011000110 : 0b1001101,0b10011011000111:0b0001001110 , 0b10011011001000:0b1001111,0b10011011001001:0b1010000,
0b10011011001010:0b001010001,0b10011011001011 :0b1010010,0b10011011001100:0b0000001010011, 0b10011011001101:0b1010100,0b10011011001110:0b1010101,
0b10011011001111:0b0001010110,0b10011011010000: 0b1010111,0b10011011010001:0b000000000000001011000 ,0b10011001111000:0b1011001,0b10011001111001:0b1011010,
0b10011001111010:0b0000001011011,0b10011001111011: 0b1011100,0b10011001111100:0b1011101,0b10011001111101: 0b1011110,0b10011001111110:0b1011111,0b10011001111111:0b1100000,
0b10011010000000:0b1100001,0b10011010000001:0b1100010,0b10011010000010:0b1100011,0b10011010000011:0b1100100,0b10011010000100:0b1100101,0b10011010000101:0b1100110,0b10011010000110:0b1100111,
0b10011010000111:0b1101000,0b10011010001000:0b1101001,0b10011010001001:0b1101010,0b10011010001010:0b1101011,0b10011010001011:0b1101100,0b10011010001100:0b1101101,0b10011010001101:0b1101110,
0b10011010001110:0b1101111,0b10011010001111:0b1110000,0b10011010010000:0b1110001,0b10011010010001:0b1110010,0b10011010010010:0b1110011,0b10011010010011:0b1110100,0b10011010010100:0b1110101,
0b10011010010101:0b1110110,0b10011010010110:0b1110111,0b10011010010111:0b1111000,0b10011010011000:0b1111001,0b10011010011001:0b1111010,0b10011010011010:0b1111011,0b10011010011011:0b1111100,
0b10011010011100:0b1111101,0b10011010011101:0b1111110,0b10011010011110:0b1111111,0b10011010011111:0b10000000,0b10011010100000:0b10000001,0b10011010100001:0b10000010,0b10011010100010:0b10000011,
0b10011010100100:0b10000101,0b10011010100101:0b10000110,0b10011010100110:0b10000111, 0b10011010100111:0b10001000,0b10011010101000:0b10001001,0b10011010101001:0b10001010,0b10011010101010:0b10001011,
0b10011010101100:0b10001101,0b10011010100011:0b10000100,0b10011010101101: 0b10001110,0b10011010101011:0b10001100,0b10011010101110:0b10001111,0b10011000011110:0b10010000,0b10011000011111:
0b10010001,0b10011000100000:0b10010010,0b10011000100001:0b10010011, 0b10011000100010:0b10010100,0b10011000100011:0b10010101,0b10011000100100:0b10010110,0b10011000100101:0b10010111,
0b10011000100110:0b10011000,0b10011000100111:0b0000010011001, 0b10011000101000:0b10011010,0b10011000101001:0b10011011,0b10011000101010:0b10011100,0b10011000101011:0b10011101,
0b10011000101100:0b10011110,0b10011000101101:0b10011111, 0b10011000101110:0b10100000,0b10011000101111:0b10100001,0b10011000110000:0b10100010,0b10011000110001:0b10100011,
0b10011000110010:0b10100100,0b10011000110011:0b000010100101, 0b10011000110100:0b10100110,0b10011000110101:0b10100111,0b10011000110110:0b10101000,0b10011000110111:0b10101001,
0b10011000111000:0b10101010,0b10011000111001:0b000010101011, 0b10011000111010:0b10101100,0b10011000111011:0b10101101,0b10011000111100:0b10101110,0b10011000111101:0b10101111,
0b10011000111110:0b10110000,0b10011000111111:0b0000010110001, 0b10011001000000:0b10110010,0b10011001000001:0b10110011,0b10011001000010:0b10110100,0b10011001000011:0b10110101,
0b10011001000100:0b10110110,0b10011001000101:0b10110111,0b10011001000110:0b10111000,0b10011001000111:0b10111001,0b10011001001000:0b10111010,0b10011001001001:0b10111011,0b10011001001010:0b10111100,
0b10011001001011:0b10111101,0b10011001001100:0b10111110,0b10011001001101:0b10111111,0b10011001001110:0b11000000,0b10011001001111:0b11000001,0b10011001010000:0b11000010,0b10011001010001:0b11000011,
0b10011001010011:0b11000101,0b10011001010100:0b11000110,0b10011001010101:0b11000111,0b10011001010110:0b11001000,0b10011001010111:0b11001001,0b10011001011000:0b11001010,0b10011001011001:0b11001011,
0b10011001011011:0b11001101,0b10011001011100:0b11001110,0b10011001011101:0b11001111,0b10011001011110:0b11010000,0b10011001011111:0b11010001,0b10011001100000:0b11010010,0b10011001100001:0b11010011,0b10011001100010:0b11010100,
0b10011001100011:0b11010101,0b10011001010010:0b11000100,0b10011001011010:0b11001100,0b10011001100100:0b11010110,0b10011001100101:0b11010111,0b10011001100110:0b11011000,0b10011001100111:0b11011001,
0b10011001101000:0b11011010,0b10011001101001:0b11011011,0b10011001101010:0b11011100,0b10011001101011:0b11011101,0b10011001101100:0b11011110,0b10011001101101:0b11011111,0b10011001101110:0b11100000,0b10011001101111:0b11100001,
0b10011001110000:0b11100010,0b10011001110001:0b11100011,0b10011001110010:0b11100100,0b10011001110011:0b11100101,0b10011001110100:0b11100110,0b10011001110101:0b11100111,0b10011001110110:0b11101000,0b10010110001101:0b11101001,
0b10010110001110:0b11101010,0b10010110001111:0b11101011,0b10010110010000:0b11101100,0b10010110010001:0b11101101,0b10010110010010:0b11101110,0b10010110010011:0b11101111,0b10010110010100:0b11110000,0b10010110010101:0b11110001,
0b10010110010110:0b11110010,0b10010110010111:0b11110011,0b10010110011000:0b11110100,0b10010110011001:0b11110101,0b10010110011010:0b11110110,0b10010110011011:0b11110111,0b10010110011100:0b11111000,0b10010110011101:0b11111001,0b10010110011110:0b11111010,
0b10010110011111:0b11111011,0b10010110100000:0b11111100,0b10010110100001:0b11111101,0b10010110100010:0b11111110,0b10010110100011:0b11111111,0b10010110100100:0b100000000,0b10010110100101:0b100000001,0b10010110100110:0b100000010,0b10010110100111:0b100000011,
0b10010110101000:0b100000100,0b10010110101001:0b100000101,0b10010110101010:0b100000110,0b10010110101011:0b100000111,0b10010110101100:0b100001000,0b10010110101101:0b100001001,0b10010110101110:0b100001010,0b10010110101111:0b100001011,0b10010110110000:0b100001100,
0b10010110110001:0b100001101,0b10010110110010:0b100001110,0b10010110110011:0b100001111,0b10010110110100:0b100010000,0b10010110110101:0b100010001,0b10010110110110:0b100010010,0b10010110110111:0b100010011,0b10010110111000:0b100010100,0b10010110111001:0b100010101,
0b10010110111010:0b100010110,0b10010110111011:0b100010111,0b10010110111100:0b100011000,0b10010110111101:0b100011001,0b10010110111110:0b100011010,0b10010110111111:0b100011011,0b10010111000000:0b100011100,0b10010111000001:0b100011101,0b10010111000010:0b00000000000000000000100011110,
0b10010111000011:0b100011111,0b10010111000100:0b100100000,0b10010111000101:0b100100001,0b10010111000110:0b100100010,0b10010111000111:0b100100011,0b10010111001000:0b100100100,0b10010111001001:0b100100101,0b10010111001010:0b100100110,0b10010111001011:0b100100111,0b10010111001100:0b100101000,
0b10010111001101:0b100101001,0b10010111001110:0b100101010,0b10010111001111:0b100101011,0b10010111010000:0b100101100,0b10010111010001:0b100101101,0b10010111010010:0b100101110,0b10010111010011:0b100101111,0b10010111010100:0b100110000,0b10010111010101:0b100110001,0b10010111010110:0b100110010,
0b10010111010111:0b100110011,0b10010111011000:0b100110100,0b10010111011001:0b100110101,0b10010111011010:0b100110110,0b10010111011011:0b100110111,0b10010111011100:0b100111000,0b10010111011101:0b100111001,0b10010111011110:0b100111010,0b10010111011111:0b100111011,0b10010111100000:0b100111100,
0b10010111100001:0b100111101,0b10010111100010:0b100111110,0b10010111100011:0b100111111,0b10010111100100:0b101000000,0b10010111100101:0b101000001,0b10010111100110:0b101000010,0b10010111100111:0b101000011,0b10010111101000:0b101000100,0b10010111101001:0b101000101,0b10010111101010:0b101000110,
0b10010111101011:0b101000111,0b10010111101100:0b101001000,0b10010111101101:0b101001001,0b10010111101110:0b101001010,0b10010111101111:0b101001011,0b10010111110000:0b101001100,0b10010111110001:0b101001101,0b10010111110010:0b101001110,0b10010111110011:0b101001111,0b10010111110100:0b101010000,
0b10010111110101:0b101010001,0b10010111110110:0b101010010,0b10010111110111:0b101010011,0b10010111111000:0b101010100,0b10010111111001:0b101010101,0b10010111111010:0b101010110,0b10010111111011:0b101010111,0b10010111111100:0b101011000,0b10010111111101:0b101011001,0b10010111111110:0b101011010,
0b10010111111111:0b101011011,0b10011000000000:0b101011100,0b10011000000001:0b101011101,0b10011000000010:0b101011110,0b10011000000011:0b101011111,0b10011000000100:0b101100000,0b10011000000101:0b101100001,0b10011000000110:0b101100010,0b10011000000111:0b101100011,0b10011000001000:0b101100100,
0b10011000001001:0b101100101,0b10011000001010:0b101100110,0b10011000001011:0b101100111,0b10011000001100:0b101101000,0b10011000001101:0b101101001,0b10011000001110:0b101101010,0b10011000001111:0b101101011,0b10011000010000:0b101101100,0b10011000010001:0b101101101,0b10011000010010:0b101101110,
0b10011000010011:0b101101111,0b10011000010100:0b101110000,0b10011000010101:0b101110001,0b10011000010110:0b101110010,0b10011000010111:0b101110011,0b10011000011000:0b101110100,0b10011000011001:0b101110101,0b10011000011010:0b101110110,0b10011000011011:0b101110111,0b10011000011100:0b101111000,
0b10010010100011:0b101111001,0b10010010100100:0b101111010,0b10010010100101:0b101111011,0b10010010100110:0b101111100,0b10010010100111:0b101111101,0b10010010101000:0b101111110,0b10010010101001:0b101111111,0b10010010101010:0b110000000,0b10010010101011:0b110000001,0b10010010101100:0b110000010,
0b10010010101101:0b110000011,0b10010010101110:0b110000100,0b10010010101111:0b110000101,0b10010010110000:0b110000110,0b10010010110001:0b110000111,0b10010010110010:0b110001000,0b10010010110011:0b110001001,0b10010010110100:0b110001010,0b10010010110101:0b110001011,0b10010010110110:0b110001100,
0b10010010110111:0b110001101,0b10010010111000:0b110001110,0b10010010111001:0b110001111,0b10010010111010:0b110010000,0b10010010111011:0b110010001,0b10010010111100:0b110010010,0b10010010111101:0b110010011,0b10010010111110:0b110010100,0b10010010111111:0b110010101,0b10010011000000:0b110010110,
0b10010011000001:0b110010111,0b10010011000010:0b110011000,0b10010011000011:0b110011001,0b10010011000100:0b110011010,0b10010011000101:0b110011011,0b10010011000110:0b110011100,0b10010011000111:0b110011101,0b10010011001000:0b110011110,0b10010011001001:0b110011111,0b10010011001010:0b000000000000000000000110100000,
0b10010011001011:0b110100001,0b10010011001100:0b110100010,0b10010011001101:0b110100011,0b10010011001110:0b110100100,0b10010011001111:0b110100101,0b10010011010000:0b110100110,0b10010011010001:0b110100111,0b10010011010010:0b110101000,0b10010011010011:0b110101001,0b10010011010100:0b110101010,0b10010011010101:0b110101011,
0b10010011010110:0b110101100,0b10010011010111:0b110101101,0b10010011011000:0b110101110,0b10010011011001:0b110101111,0b10010011011010:0b110110000,0b10010011011011:0b110110001,0b10010011011100:0b110110010,0b10010011011101:0b110110011,0b10010011011110:0b110110100,0b10010011011111:0b110110101,0b10010011100000:0b110110110,
0b10010011100001:0b110110111,0b10010011100010:0b110111000,0b10010011100011:0b110111001,0b10010011100100:0b110111010,0b10010011100101:0b110111011,0b10010011100110:0b110111100,0b10010011100111:0b110111101,0b10010011101000:0b110111110,0b10010011101001:0b110111111,0b10010011101010:0b111000000,0b10010011101011:0b111000001,
0b10010011101100:0b111000010,0b10010011101101:0b111000011,0b10010011101110:0b111000100,0b10010011101111:0b111000101,0b10010011110000:0b111000110,0b10010011110001:0b111000111,0b10010011110010:0b111001000,0b10010011110011:0b111001001,0b10010011110100:0b111001010,0b10010011110101:0b111001011,0b10010011110110:0b111001100,
0b10010011110111:0b111001101,0b10010011111000:0b111001110,0b10010011111001:0b111001111,0b10010011111010:0b111010000,0b10010011111011:0b111010001,0b10010011111100:0b111010010,0b10010011111101:0b111010011,0b10010011111110:0b111010100,0b10010011111111:0b111010101,0b10010100000000:0b111010110,0b10010100000001:0b111010111,
0b10010100000010:0b111011000,0b10010100000011:0b111011001,0b10010100000100:0b111011010,0b10010100000101:0b111011011,0b10010100000110:0b111011100,0b10010100000111:0b111011101,0b10010100001000:0b111011110,0b10010100001001:0b111011111,0b10010100001010:0b111100000,0b10010100001011:0b111100001,0b10010100001100:0b111100010,
0b10010100001101:0b111100011,0b10010100001110:0b111100100,0b10010100001111:0b111100101,0b10010100010000:0b111100110,0b10010100010001:0b111100111,0b10010100010010:0b111101000,0b10010100010011:0b111101001,0b10010100010100:0b111101010,0b10010100010101:0b111101011,0b10010100010110:0b111101100,0b10010100010111:0b111101101,
0b10010100011000:0b111101110,0b10010100011001:0b111101111,0b10010100011010:0b111110000,0b10010100011011:0b111110001,0b10010100011100:0b111110010,0b10010100011101:0b111110011,0b10010100011110:0b111110100,0b10010100011111:0b111110101,0b10010100100000:0b111110110,0b10010100100001:0b111110111,0b10010100100010:0b111111000,
0b10010100100011:0b111111001,0b10010100100100:0b111111010,0b10010100100101:0b111111011,0b10010100100110:0b111111100,0b10010100100111:0b111111101,0b10010100101000:0b111111110,0b10010100101001:0b111111111,0b10010100101010:0b1000000000,0b10010100101011:0b1000000001,0b10010100101100:0b1000000010,0b10010100101101:0b1000000011,
0b10010100101110:0b1000000100,0b10010100101111:0b1000000101,0b10010100110000:0b1000000110,0b10010100110001:0b1000000111,0b10010100110010:0b1000001000,0b10010100110011:0b1000001001,0b10010100110100:0b1000001010,0b10010100110101:0b1000001011,0b10010100110110:0b1000001100,0b10010100110111:0b1000001101,0b10010100111000:0b1000001110,
0b10010100111001:0b1000001111,0b10010100111010:0b1000010000,0b10010100111011:0b1000010001,0b10010100111100:0b1000010010,0b10010100111101:0b1000010011,0b10010100111110:0b1000010100,0b10010100111111:0b1000010101,0b10010101000000:0b1000010110,0b10010101000001:0b1000010111,0b10010101000010:0b1000011000,0b10010101000011:0b1000011001,
0b10010101000100:0b1000011010,0b10010101000101:0b1000011011,0b10010101000110:0b1000011100,0b10010101000111:0b1000011101,0b10010101001000:0b1000011110,0b10010101001001:0b1000011111,0b10010101001010:0b1000100000,0b10010101001011:0b1000100001,0b10010101001100:0b1000100010,0b10010101001101:0b1000100011,0b10010101001110:0b1000100100,
0b10010101001111:0b1000100101,0b10010101010000:0b1000100110,0b10010101010001:0b1000100111,0b10010101010010:0b1000101000,0b10010101010011:0b1000101001,0b10010101010100:0b1000101010,0b10010101010101:0b1000101011,0b10010101010110:0b1000101100,0b10010101010111:0b1000101101,0b10010101011000:0b1000101110,0b10010101011001:0b1000101111,
0b10010101011010:0b1000110000,0b10010101011011:0b1000110001,0b10010101011100:0b1000110010,0b10010101011101:0b1000110011,0b10010101011110:0b1000110100,0b10010101011111:0b1000110101,0b10010101100000:0b1000110110,0b10010101100001:0b1000110111,0b10010101100010:0b1000111000,0b10010101100011:0b1000111001,0b10010101100100:0b1000111010,
0b10010101100101:0b1000111011,0b10010101100110:0b1000111100,0b10010101100111:0b1000111101,0b10010101101000:0b1000111110,0b10010101101001:0b1000111111,0b10010101101010:0b1001000000,0b10010101101011:0b1001000001,0b10010101101100:0b1001000010,0b10010101101101:0b1001000011,0b10010101101110:0b1001000100,0b10010101101111:0b1001000101,
0b10010101110000:0b1001000110,0b10010101110001:0b1001000111,0b10010101110010:0b1001001000,0b10010101110011:0b1001001001,0b10010101110100:0b1001001010,0b10010101110101:0b1001001011,0b10010101110110:0b1001001100,0b10010101110111:0b1001001101,0b10010101111000:0b1001001110,0b10010101111001:0b1001001111,0b10010101111010:0b1001010000,
0b10010101111011:0b1001010001,0b10010101111100:0b1001010010,0b10010101111101:0b1001010011,0b10010101111110:0b1001010100,0b10010101111111:0b1001010101,0b10010110000000:0b1001010110,0b10010110000001:0b1001010111,0b10010110000010:0b1001011000,0b10010110000011:0b1001011001,0b10010110000100:0b1001011010,0b10010110000101:0b1001011011,
0b10010110000110:0b1001011100,0b10010110000111:0b1001011101,0b10010110001000:0b1001011110,0b10010110001001:0b1001011111,0b10010110001010:0b1001100000,0b10010110001011:0b1001100001,0b10001100101001:0b1001100010,0b10001100101010:0b1001100011,0b10001100101011:0b1001100100,0b10001100101100:0b1001100101,0b10001100101101:0b1001100110,
0b10001100101110:0b1001100111,0b10001100101111:0b1001101000,0b10001100110000:0b1001101001,0b10001100110001:0b1001101010,0b10001100110010:0b1001101011,0b10001100110011:0b1001101100,0b10001100110100:0b1001101101,0b10001100110101:0b1001101110,0b10001100110110:0b1001101111,0b10001100110111:0b1001110000,0b10001100111000:0b1001110001,
0b10001100111001:0b1001110010,0b10001100111010:0b1001110011,0b10001100111011:0b1001110100,0b10001100111100:0b1001110101,0b10001100111101:0b1001110110,0b10001100111110:0b1001110111,0b10001100111111:0b1001111000,0b10001101000000:0b1001111001,0b10001101000001:0b1001111010,0b10001101000010:0b1001111011,0b10001101000011:0b1001111100,
0b10001101000100:0b1001111101,0b10001101000101:0b1001111110,0b10001101000110:0b1001111111,0b10001101000111:0b1010000000,0b10001101001000:0b1010000001,0b10001101001001:0b1010000010,0b10001101001010:0b1010000011,0b10001101001011:0b1010000100,0b10001101001100:0b1010000101,0b10001101001101:0b1010000110,0b10001101001110:0b1010000111,
0b10001101001111:0b1010001000,0b10001101010000:0b1010001001,0b10001101010001:0b1010001010,0b10001101010010:0b1010001011,0b10001101010011:0b1010001100,0b10001101010100:0b1010001101,0b10001101010101:0b1010001110,0b10001101010110:0b1010001111,0b10001101010111:0b1010010000,0b10001101011000:0b1010010001,0b10001101011001:0b1010010010,
0b10001101011010:0b1010010011,0b10001101011011:0b1010010100,0b10001101011100:0b1010010101,0b10001101011101:0b1010010110,0b10001101011110:0b1010010111,0b10001101011111:0b1010011000,0b10001101100000:0b1010011001,0b10001101100001:0b1010011010,0b10001101100010:0b1010011011,0b10001101100011:0b1010011100,0b10001101100100:0b1010011101,
0b10001101100101:0b1010011110,0b10001101100110:0b1010011111,0b10001101100111:0b1010100000,0b10001101101000:0b1010100001,0b10001101101001:0b1010100010,0b10001101101010:0b1010100011,0b10001101101011:0b1010100100,0b10001101101100:0b1010100101,0b10001101101101:0b1010100110,0b10001101101110:0b1010100111,0b10001101101111:0b1010101000,
0b10001101110000:0b1010101001,0b10001101110001:0b1010101010,0b10001101110010:0b1010101011,0b10001101110011:0b1010101100,0b10001101110100:0b1010101101,0b10001101110101:0b1010101110,0b10001101110110:0b1010101111,0b10001101110111:0b1010110000,0b10001101111000:0b1010110001,0b10001101111001:0b1010110010,0b10001101111010:0b1010110011,
0b10001101111011:0b1010110100,0b10001101111100:0b1010110101,0b10001101111101:0b1010110110,0b10001101111110:0b1010110111,0b10001101111111:0b1010111000,0b10001110000000:0b1010111001,0b10001110000001:0b1010111010,0b10001110000010:0b1010111011,0b10001110000011:0b1010111100,0b10001110000100:0b1010111101,0b10001110000101:0b1010111110,
0b10001110000110:0b1010111111,0b10001110000111:0b1011000000,0b10001110001000:0b1011000001,0b10001110001001:0b1011000010,0b10001110001010:0b1011000011,0b10001110001011:0b1011000100,0b10001110001100:0b1011000101,0b10001110001101:0b1011000110,0b10001110001110:0b1011000111,0b10001110001111:0b1011001000,0b10001110010000:0b1011001001,
0b10001110010001:0b1011001010,0b10001110010010:0b1011001011,0b10001110010011:0b1011001100,0b10001110010100:0b1011001101,0b10001110010101:0b1011001110,0b10001110010110:0b1011001111,0b10001110010111:0b1011010000,0b10001110011000:0b1011010001,0b10001110011001:0b1011010010,0b10001110011010:0b1011010011,0b10001110011011:0b1011010100,
0b10001110011100:0b1011010101,0b10001110011101:0b1011010110,0b10001110011110:0b1011010111,0b10001110011111:0b1011011000,0b10001110100000:0b1011011001,0b10001110100001:0b1011011010,0b10001110100010:0b1011011011,0b10001110100011:0b1011011100,0b10001110100100:0b1011011101,0b10001110100101:0b1011011110,0b10001110100110:0b1011011111,
0b10001110100111:0b1011100000,0b10001110101000:0b1011100001,0b10001110101001:0b1011100010,0b10001110101010:0b1011100011,0b10001110101011:0b1011100100,0b10001110101100:0b1011100101,0b10001110101101:0b1011100110,0b10001110101110:0b1011100111,0b10001110101111:0b1011101000,0b10001110110000:0b1011101001,0b10001110110001:0b1011101010,
0b10001110110010:0b1011101011,0b10001110110011:0b1011101100,0b10001110110100:0b1011101101,0b10001110110101:0b1011101110,0b10001110110110:0b1011101111,0b10001110110111:0b1011110000,0b10001110111000:0b1011110001,0b10001110111001:0b1011110010,0b10001110111010:0b1011110011,0b10001110111011:0b1011110100,0b10001110111100:0b1011110101,
0b10001110111101:0b1011110110,0b10001110111110:0b1011110111,0b10001110111111:0b1011111000,0b10001111000000:0b1011111001,0b10001111000001:0b1011111010,0b10001111000010:0b1011111011,0b10001111000011:0b1011111100,0b10001111000100:0b1011111101,0b10001111000101:0b1011111110,0b10001111000110:0b1011111111,0b10001111000111:0b1100000000,
0b10001111001000:0b1100000001,0b10001111001001:0b1100000010,0b10001111001010:0b1100000011,0b10001111001011:0b1100000100,0b10001111001100:0b1100000101,0b10001111001101:0b1100000110,0b10001111001110:0b1100000111,0b10001111001111:0b1100001000,0b10001111010000:0b1100001001,0b10001111010001:0b1100001010,0b10001111010010:0b1100001011,
0b10001111010011:0b1100001100,0b10001111010100:0b1100001101,0b10001111010101:0b1100001110,0b10001111010110:0b1100001111,0b10001111010111:0b1100010000,0b10001111011000:0b1100010001,0b10001111011001:0b1100010010,0b10001111011010:0b1100010011,0b10001111011011:0b1100010100,0b10001111011100:0b1100010101,0b10001111011101:0b1100010110,
0b10001111011110:0b1100010111,0b10001111011111:0b1100011000,0b10001111100000:0b1100011001,0b10001111100001:0b1100011010,0b10001111100010:0b1100011011,0b10001111100011:0b1100011100,0b10001111100100:0b1100011101,0b10001111100101:0b1100011110,0b10001111100110:0b1100011111,0b10001111100111:0b1100100000,0b10001111101000:0b1100100001,
0b10001111101001:0b1100100010,0b10001111101010:0b1100100011,0b10001111101011:0b1100100100,0b10001111101100:0b1100100101,0b10001111101101:0b1100100110,0b10001111101110:0b1100100111,0b10001111101111:0b1100101000,0b10001111110000:0b1100101001,0b10001111110001:0b1100101010,0b10001111110010:0b1100101011,0b10001111110011:0b1100101100,
0b10001111110100:0b1100101101,0b10001111110101:0b1100101110,0b10001111110110:0b1100101111,0b10001111110111:0b1100110000,0b10001111111000:0b1100110001,0b10001111111001:0b1100110010,0b10001111111010:0b1100110011,0b10001111111011:0b1100110100,0b10001111111100:0b1100110101,0b10001111111101:0b1100110110,0b10001111111110:0b1100110111,
0b10001111111111:0b1100111000,0b10010000000000:0b1100111001,0b10010000000001:0b1100111010,0b10010000000010:0b1100111011,0b10010000000011:0b1100111100,0b10010000000100:0b1100111101,0b10010000000101:0b1100111110,0b10010000000110:0b1100111111,0b10010000000111:0b1101000000,0b10010000001000:0b1101000001,0b10010000001001:0b1101000010,
0b10010000001010:0b1101000011,0b10010000001011:0b1101000100,0b10010000001100:0b1101000101,0b10010000001101:0b1101000110,0b10010000001110:0b1101000111,0b10010000001111:0b1101001000,0b10010000010000:0b1101001001,0b10010000010001:0b1101001010,0b10010000010010:0b1101001011,0b10010000010011:0b1101001100,0b10010000010100:0b1101001101,
0b10010000010101:0b1101001110,0b10010000010110:0b1101001111,0b10010000010111:0b1101010000,0b10010000011000:0b1101010001,0b10010000011001:0b1101010010,0b10010000011010:0b1101010011,0b10010000011011:0b1101010100,0b10010000011100:0b1101010101,0b10010000011101:0b1101010110,0b10010000011110:0b1101010111,0b10010000011111:0b1101011000,
0b10010000100000:0b1101011001,0b10010000100001:0b1101011010,0b10010000100010:0b1101011011,0b10010000100011:0b1101011100,0b10010000100100:0b1101011101,0b10010000100101:0b1101011110,0b10010000100110:0b1101011111,0b10010000100111:0b1101100000,0b10010000101000:0b1101100001,0b10010000101001:0b1101100010,0b10010000101010:0b1101100011,
0b10010000101011:0b1101100100,0b10010000101100:0b1101100101,0b10010000101101:0b1101100110,0b10010000101110:0b1101100111,0b10010000101111:0b1101101000,0b10010000110000:0b1101101001,0b10010000110001:0b1101101010,0b10010000110010:0b1101101011,0b10010000110011:0b1101101100,0b10010000110100:0b1101101101,0b10010000110101:0b1101101110,
0b10010000110110:0b1101101111,0b10010000110111:0b1101110000,0b10010000111000:0b1101110001,0b10010000111001:0b1101110010,0b10010000111010:0b1101110011,0b10010000111011:0b1101110100,0b10010000111100:0b1101110101,0b10010000111101:0b1101110110,0b10010000111110:0b1101110111,0b10010000111111:0b1101111000,0b10010001000000:0b1101111001,
0b10010001000001:0b1101111010,0b10010001000010:0b1101111011,0b10010001000011:0b1101111100,0b10010001000100:0b1101111101,0b10010001000101:0b1101111110,0b10010001000110:0b1101111111,0b10010001000111:0b1110000000,0b10010001001000:0b1110000001,0b10010001001001:0b1110000010,0b10010001001010:0b1110000011,0b10010001001011:0b1110000100,
0b10010001001100:0b1110000101,0b10010001001101:0b1110000110,0b10010001001110:0b1110000111,0b10010001001111:0b1110001000,0b10010001010000:0b1110001001,0b10010001010001:0b1110001010,0b10010001010010:0b1110001011,0b10010001010011:0b1110001100,0b10010001010100:0b1110001101,0b10010001010101:0b1110001110,0b10010001010110:0b1110001111,
0b10010001010111:0b1110010000,0b10010001011000:0b1110010001,0b10010001011001:0b1110010010,0b10010001011010:0b1110010011,0b10010001011011:0b1110010100,0b10010001011100:0b1110010101,0b10010001011101:0b1110010110,0b10010001011110:0b1110010111,0b10010001011111:0b1110011000,0b10010001100000:0b1110011001,0b10010001100001:0b1110011010,
0b10010001100010:0b1110011011,0b10010001100011:0b1110011100,0b10010001100100:0b1110011101,0b10010001100101:0b1110011110,0b10010001100110:0b1110011111,0b10010001100111:0b1110100000,0b10010001101000:0b1110100001,0b10010001101001:0b1110100010,0b10010001101010:0b1110100011,0b10010001101011:0b1110100100,0b10010001101100:0b1110100101,
0b10010001101101:0b1110100110,0b10010001101110:0b1110100111,0b10010001101111:0b1110101000,0b10010001110000:0b1110101001,0b10010001110001:0b1110101010,0b10010001110010:0b1110101011,0b10010001110011:0b1110101100,0b10010001110100:0b1110101101,0b10010001110101:0b1110101110,0b10010001110110:0b1110101111,0b10010001110111:0b1110110000,
0b10010001111000:0b1110110001,0b10010001111001:0b1110110010,0b10010001111010:0b1110110011,0b10010001111011:0b1110110100,0b10010001111100:0b1110110101,0b10010001111101:0b1110110110,0b10010001111110:0b1110110111,0b10010001111111:0b1110111000,0b10010010000000:0b1110111001,0b10010010000001:0b1110111010,0b10010010000010:0b1110111011,
0b10010010000011:0b1110111100,0b10010010000100:0b1110111101,0b10010010000101:0b1110111110,0b10010010000110:0b1110111111,0b10010010000111:0b1111000000,0b10010010001000:0b1111000001,0b10010010001001:0b1111000010,0b10010010001010:0b1111000011,0b10010010001011:0b1111000100,0b10010010001100:0b1111000101,0b10010010001101:0b1111000110,
0b10010010001110:0b1111000111,0b10010010001111:0b1111001000,0b10010010010000:0b1111001001,0b10010010010001:0b1111001010,0b10010010010010:0b1111001011,0b10010010010011:0b1111001100,0b10010010010100:0b1111001101,0b10010010010101:0b1111001110,0b10010010010110:0b1111001111,0b10010010010111:0b1111010000,0b10010010011000:0b1111010001,
0b10010010011001:0b1111010010,0b10010010011010:0b1111010011,0b10010010011011:0b1111010100,0b10010010011100:0b1111010101,0b10010010011101:0b1111010110,0b10010010011110:0b1111010111,0b10010010011111:0b1111011000,0b10010010100000:0b1111011001,0b10010010100001:0b1111011010,0b10000011000110:0b1111011011,0b10000011000111:0b1111011100,
0b10000011001000:0b1111011101,0b10000011001001:0b1111011110,0b10000011001010:0b1111011111,0b10000011001011:0b1111100000,0b10000011001100:0b1111100001,0b10000011001101:0b1111100010,0b10000011001110:0b1111100011,0b10000011001111:0b1111100100,0b10000011010000:0b1111100101,0b10000011010001:0b1111100110,0b10000011010010:0b1111100111,
0b111000110110:0b1000111111000,0b111000110111:0b1000111111001,0b111000111000:0b1000111111010,0b111000111001:0b1000111111011,0b111000111010:0b1000111111100,0b111000111011:0b1000111111101,0b111000111100:0b1000111111110,0b111000111101:0b1000111111111,0b111000111110:0b1001000000000,0b111000111111:0b1001000000001,0b111001000000:0b1001000000010,
0b111001000001:0b1001000000011,0b111001000010:0b1001000000100,0b111001000011:0b1001000000101,0b111001000100:0b1001000000110,0b111001000101:0b1001000000111,0b111001000110:0b1001000001000,0b111001000111:0b1001000001001,0b111001001000:0b1001000001010,0b111001001001:0b1001000001011,0b111001001010:0b1001000001100,0b111001001011:0b1001000001101,
0b111001001100:0b1001000001110,0b111001001101:0b1001000001111,0b111001001110:0b1001000010000, 0b111001001111:0b1001000010001,0b111001010000:0b1001000010010,0b111001010001:0b1001000010011,0b111001010010:0b1001000010100,0b111001010011:0b1001000010101,0b111001010100:0b1001000010110,0b111001010101:0b1001000010111,0b111001010110:0b1001000011000,
0b111001010111:0b1001000011001,0b111001011000:0b1001000011010,0b111001011001:0b1001000011011, 0b111001011010:0b1001000011100,0b111001011011:0b1001000011101,0b111001011100:0b1001000011110,0b111001011101:0b1001000011111,0b111001011110:0b1001000100000,0b111001011111:0b1001000100001,0b111001100000:0b1001000100010,0b111001100001:0b1001000100011,
0b111001100010:0b1001000100100,0b111001100011:0b1001000100101,0b111001100100:0b1001000100110, 0b111001100101:0b1001000100111,0b111001100110:0b1001000101000,0b111001100111:0b1001000101001, 0b111001101000:0b1001000101010,0b111001101001:0b1001000101011,0b111001101010:0b1001000101100,0b111001101011:0b1001000101101,0b111001101100:0b1001000101110,
0b111001101101:0b1001000101111,0b111001101110:0b1001000110000,0b111001101111:0b1001000110001, 0b111001110000:0b1001000110010,0b111001110001:0b1001000110011,0b111001110010:0b1001000110100, 0b111001110011:0b1001000110101,0b111001110100:0b1001000110110,0b111001110101:0b1001000110111,0b111001110110:0b1001000111000,0b111001110111:0b1001000111001,
0b111001111000:0b1001000111010,0b111001111001:0b1001000111011,0b111001111010:0b1001000111100, 0b111001111011:0b1001000111101,0b111001111100:0b1001000111110,0b111001111101:0b1001000111111, 0b111001111110:0b1001001000000,0b111001111111:0b1001001000001,0b111010000000:0b1001001000010,0b111010000001:0b00000000000000000001001001000011,
0b111010000010:0b1001001000100,0b111010000011:0b1001001000101,0b111010000100:0b1001001000110, 0b111010000101:0b1001001000111,0b111010000110:0b1001001001000,0b111010000111:0b1001001001001, 0b111010001000:0b1001001001010,0b111010001001:0b1001001001011,0b111010001010:0b1001001001100,0b111010001011:0b1001001001101,
0b111010001100:0b1001001001110,0b111010001101:0b1001001001111,0b111010001110:0b1001001010000, 0b111010001111:0b1001001010001,0b111010010000:0b1001001010010,0b111010010001:0b1001001010011, 0b111010010010:0b1001001010100,0b111010010011:0b1001001010101,0b111010010100:0b1001001010110,0b111010010101:0b1001001010111,
0b111010010110:0b1001001011000,0b111010010111:0b1001001011001,0b111010011000:0b1001001011010, 0b111010011001:0b1001001011011,0b1101001000000:0b110110101100,0b1101001000001:0b110110101101, 0b1101001000010:0b110110101110,0b1101001000011:0b110110101111,0b1101001000100:0b110110110000,0b1101001000101:0b110110110001,
0b1101001000110:0b110110110010,0b1101001000111:0b110110110011,0b1101001001000:0b110110110100, 0b1101001001001:0b110110110101,0b1101001001010:0b110110110110,0b1101001001011:0b110110110111, 0b1101001001100:0b110110111000,0b1101001001101:0b110110111001,0b1101001001110:0b110110111010,0b1101001001111:0b110110111011,
0b1101001010000:0b110110111100,0b1101001010001:0b110110111101,0b1101001010010:0b110110111110, 0b1101001010011:0b110110111111,0b1101001010100:0b110111000000,0b1101001010101:0b110111000001, 0b1101001010110:0b110111000010,0b1101001010111:0b110111000011,0b1101001011000:0b110111000100,0b1101001011001:0b110111000101,
0b1101001011010:0b110111000110,0b1101001011011:0b110111000111,0b1101001011100: 0b110111001000,0b1101001011101:0b110111001001,0b1101001011110:0b110111001010,0b1101001011111: 0b110111001011,0b1101001100000:0b110111001100,0b1101001100001:0b110111001101,0b1101001100010:0b110111001110,0b1101001100011:0b110111001111,
0b1101001100100:0b110111010000,0b1101001100101:0b110111010001,0b1101001100110 :0b110111010010,0b1101001100111:0b110111010011,0b1101001101000:0b110111010100,0b1101001101001: 0b110111010101,0b1101001101010:0b110111010110,0b1101001101011:0b110111010111,0b1101001101100:0b110111011000,0b1101001101101:0b110111011001,
0b1101001101110:0b110111011010,0b1101001101111:0b110111011011,0b1101001110000 :0b110111011100,0b1101001110001:0b110111011101,0b1101001110010:0b110111011110,0b1101001110011: 0b110111011111,0b1101001110100:0b110111100000,0b1101001110101:0b110111100001,0b1101001110110:0b110111100010,0b1101001110111:0b110111100011,
0b1101001111000:0b110111100100,0b1101001111001:0b110111100101,0b1101001111010 :0b110111100110,0b1101001111011:0b110111100111,0b1101001111100:0b110111101000,0b1101001111101: 0b110111101001,0b1101001111110:0b110111101010,0b1101001111111:0b110111101011,0b1101010000000:0b110111101100,0b1101010000001:0b110111101101,
0b1101010000010:0b110111101110,0b1101010000011:0b00000000110111101111, 0b1101010000100:0b110111110000,0b1101010000101:0b110111110001,0b1101010000110:0b110111110010, 0b1101010000111:0b110111110011,0b1101010001000:0b110111110100,0b1101010001001:0b110111110101,0b1101010001010:0b110111110110,
0b1101010001011:0b110111110111,0b1101010001100:0b110111111000, 0b1101010001101:0b110111111001,0b1101010001110:0b110111111010,0b1101010001111:0b110111111011, 0b1101010010000:0b110111111100,0b1101010010001:0b110111111101,0b1101010010010:0b110111111110,0b1101010010011:0b110111111111,
0b1101010010100:0b111000000000,0b1101010010101:0b111000000001 ,0b1101010010110:0b111000000010,0b1101010010111:0b111000000011,0b1101010011000:0b111000000100 ,0b1101010011001:0b111000000101,0b110010111100:0b1000001111110,0b110010111101:0b1000001111111,0b110010111110:0b1000010000000,
0b110010111111:0b1000010000001,0b110011000000:0b1000010000010 ,0b1101010011010:0b111000000110,0b1101010011011:0b111000000111,0b1101010011100:0b111000001000 ,0b1101010011101:0b111000001001,0b111110111100:0b1001101111110,0b111110111101:0b1001101111111,
0b111110111110:0b1001110000000,0b111110111111:0b1001110000001, 0b111111000000:0b1001110000010,0b111111000001:0b1001110000011,0b111111000010:0b1001110000100, 0b111111000011:0b1001110000101,0b111111000100:0b1001110000110,0b111111000101:0b1001110000111,
0b111111000110:0b1001110001000,0b1101010011110:0b111000001010, 0b1101010011111:0b111000001011,0b1101010100000:0b111000001100,0b1101010100001:0b111000001101, 0b1101010100010:0b111000001110,0b110100111010:0b1000011111100,
0b110010110000:0b1000001110010,0b110010110001:0b1000001110011, 0b110010110010:0b1000001110100,0b110010110011:0b1000001110101,0b110010110100:0b1000001110110, 0b110100111011:0b1000011111101,0b10001100100101:0b11000111010,
0b1110000010110:0b111110000010,0b1110000010111:0b111110000011, 0b1110000011000:0b111110000100,0b1110000011001:0b111110000101,0b1110000011010:0b111110000110, 0b1100001101010:0b101111010110,0b1110000011011:0b111110000111,
0b1110000011100:0b111110001000,0b1110000011101:0b111110001001, 0b1110000011110:0b111110001010,0b1101010110111:0b111000100011,0b110111101000:0b1000110101010,0b110111101001 :0b1000110101011,0b110111101010:0b1000110101100,
0b110111101011:0b1000110101101,0b110111101100:0b1000110101110, 0b1110000011111:0b111110001011,0b1111010101111:0b100000000010,0b1111010110000:0b100000000011,0b1111010110001: 0b100000000100,0b1111010110010:0b100000000101,
0b1111010110011:0b100000000110,0b10000110100101:0b10010111010, 0b10000110101000:0b10010111101,0b10000110101001:0b10010111110,
0b10000110100110:0b10010111011,0b10000110100111:0b10010111100, 0b1101010100011:0b111000001111}
if ooooo in boooooo:
return boooooo[ooooo]
return 42
#These "asserts" using only for self-checking and not necessary for auto-testing
if __name__ == '__main__':
assert checkio(10000) == 0, "Newborn"
assert checkio(9999) == 1, "1 year"
assert checkio(9997) == 2, "2 years"
assert checkio(9994) == 3, "3 years"
assert checkio(9995) == 4, "4 years"
assert checkio(9990) == 5, "5 years"
Oct. 31, 2013
Comments: