1100100010101100111101010001010111010001100001011110100111001001100000101100000010010000111100010110001110100011101001011101010100010010101111000111111011100011111111010011111000011001011110110001100001111001001010110011001010111010111101101101110110001100001000000001001110010100010010001111001100000001100111000010100010011000010100000000101010101000101110000110100010100110111110101000001000100011 1001101000000111110011010000110110111110111011110001000010111000110010111100000010001111011111000101001000101100011100110110001100001110001001111101110111101110111110001110110011110000011000010001010010010110001100001110011100111010000110101100101010001111001000101001101001001001110011101111110110111111101010001000010110010001000001100010100001111100001110111101001110101101100000001011011010000001 0100110110011111110001011011011111111000011010101111010101100100001110001101001011001111011011110100111100100010001101110100111010110010110010101101010011011110000110001001010010011010101101110110011111100011000110010000000110110101011110000010111001001110100011100110001100101011111001110101011110001111110101010010110010011100010010111111100101111100111110011010111000101111110110100110001110011110 1100111100100000110011010011101110110111010111001100001100000000001100110010001000110101011110000100101000011011010001011101011000000101100011010100001001001100101110100011010000001101001100011101000100001000001010000011011111011011010000100001011101101011101010011101111011001100011100010010100111110001110110111011100001110010110100110000001010011001111001001111101111110010101111111110101010110101 0100001100011010110011110100100001110001100011100010000000011011011111001111010010111000011001101011011100100100100010001001000001100010101010000110101010000110111110001010000011101010010101011101000001001111000010110111101100001000000110100010101000110100001101010101010011000000000110110011011011100100110101111100110000011000111100111111001000000000011110000101000100101000000000111100100110100111 0001010101001011010011111100000100111001010100111001111111110100010110000001110001100011110001000100000010000101111001111110100011111000011111111001110100010000010101101100011110011001001101010101010101100001011111110010100111111111010011100101001101100100101110011000000111101110111001010100001000100001111101110001110001000111100100000001100111110100101110110000010010000000101011000110010110111110 1100010100111101101101000111000001010011111010000011111010011000100110010000010000000000100100100110010111001100001000101011100110101100010101100001001101101001010010011011111100000000110000101100101011011011111111111010111011001111000000011000100101111111100111010010111101111001111101110100101111111001100011000100111011011011110101010010101100101111011100101000110101110001000111010111111001101001 1111000100011000111011110101001001001011011111101010110100110010001001001001010001001010000111010010011000011011111000110100110111111110101001100111101101001110001101011000111001010010111100000011101100111011111001001111110000110011111010111101110111110100100001111011101001110110010100101011001110001111110100100110001011100010001111111010101000110111101010111110000001101001110111000111111101111100 1001001001011100111110101101010101111001110000011111000010101011101111010000101011010001001111110110110011101010000101001010001001111010101000001001011010110000010001101000100011011100010001011001010100110110000110011100011101101011001110000011111111001010001010100100000000101101010011010111100100010101100000001011110111000001010101110001010110101000001101000001001010100010010100100010000100111010 0010111100110101010000110101111010010111110110010010101100011101011011110000101010101100001111010000010110001100111001100011001101010110110010110001111100000111001110100100001010110101111010001101100111101010010001001000101011001110011010101011100011011100110011000001000111100011110010000111110000010100101000110111110101001000001011001000011000001100010001011011101100000101100010101110010100101010 0001001011110101001110000100000110000010110100101100001111110110000100000101111011101100010011001101001100110000100001101110110000100100100111111100011001101001100000110011001101111000110001101010010101111111111100000100000101011001100111011011001010100101111011110110000100000000110010101000011101110111110000000101001011001100101011001011101110111101101101001101111100100010110011101001001111010110 1101100110111111011001101010110011100000010011100000100100100001011010001000001110001010000100101001101000011000101001011110010010101100011011111001010010001111110001010010110001100100101110101011111111100101010111001111010000001010111010110101010001011100011001010000111100110100010110101111100111001111100100100011001011011101100010111000000111000101010000010011011001010000100101101011011001111100 0101100000100001100100100011100111110001001111101111011010011000010101010010101100111010010110100100000001011001110001110100001111111001111010001000101111011111110100111110010011101001100101111010111110110110110001000110010001100011101101010101000100000101111110000011010000110001101001001010011001001000110101110111000111010011010100110101001001011011010001010101001011010010001111110011111000000101 1010111010110011101110010101001100110110110101010000110111100110101011101101110100100100000101010010000011001100111010000000000010101011011000100110011111001111001111000000111000101010110001111011011010000010111001100101101010010110110011010000100100010100011010110011010010111111000100101000001111000110001111000011001001111111000110110000011111111100010110010101100010111100011010011101100101111101 1010011101111001010100001000100111010101000011110001101100000110100101110000010000000101100100010010101110100010111101000001011011100001010011001100000110000111101110111001010000011010010100001000010001100100100101101000001100110111101100111000101111101010011000000001000011110110000000011010001111001111001011001110000000101011101100111000101001110110001100110000010111100010010101001101101010010110 1110001000010100011001100101000100010000010111001111000011101111010000000011011101110000011101101011010110100110010001000110011100010101010110111110001110110101100001100011001111000001000011001100000011000111111101001000100010011010100111001000110001101011101101101000010111100001010001010111001010111001110111110000010011111100101110000110111110011001010001001000110100100111100010010000111110111001 0011001101100010101010010001101011110110011000000001110111011111100000101111001110010001000000101001011010001011010110110001001111011001010111000001011011100111000011100011110101001010011100101110010101101011010000101001001011000010100100111000000011100000011001111011111011100110001001101001000111100100001100111100000011001001010001100011100001101101001110000001100010111100111000110101110010110101 0000101001111011111000101101010011010011101011001110101011110011001001111101000011011110110111110001111000100000100000001101111011100000111011110110001110010011010010110100111011110001101101010101011111111001001100000011001001011111100000000100111111010100001100110100110101011011110110101010110110101111010100001111010010110000010011010111011110001111110010001111101111101001101010001011111110001100 1111110011100011111011001011001011110001011010100011010001011000011001110101110000000011110000000100001000000000100000001010011101010001000001011110001011110001011111011101011011001011001100010101010010001010100101101000111101101110111001100000011010000110001100100100000100001001110100110101111000011011100011001001001110010001010100110000000011111011100010011111000000111100100011011100001101010100 0101100011111010011111001111000100000100101000011011111100001011101010110100001101011100010101111000001011010001000000010100111010010110101101111001000011110000101100011011100110111100100001110000111001110011100111111010101001101100111111111000011001100111010000010100001111111001100111000011011111101110110101101011011111000011111110111000110000000110010011110010111011101001110001111100111010001101 1101010000100011011100010001110010111110101000110001111101101000101101101110111010010101000101110010011100011010110000110010010100110101000001101100110011011001011010000110111110011011110001001011001011110011010001011010010011010111111000001100001000001110100110000100110100000100111110011011101001001110111110111000010101101111110101100000001011001001111100100110101001100101110000011111110111101010 1101101111000101010000110111100100110110010111011011011110001000001001111100000010001011000010010111001011001100100110000010101100000010011110011110011111010001011001110000010101000000111111111001101001110110011111011100011001111010101010100101100111101101100011010101001110011000110110110110010110000000100100001110110111010001001001011011110111110000010000000001101010111001000011100110010000010110 1111111010001111101010111110000000010001000000000101101101001001001101101010100011100101110100110111100111011100011100101011010000110111000000110111001100100111000111101000011111010001011111101010101100000011100110110101100001111111100001011111010100111001100101010010100101001000111110000111001010101110000010111001100110010010110011100101000011110111100111010011010011001011001100110110001110011001 1100110010111001100010001101011010000101001001001000000001111101001001000111111000101111100011001111011110111110100111100001010100011100001010110011110100111001010111010010101111111011110100111000111001010101100111101100000101000011100101111001000000001101110000101110010011011010100101000010101011011101100100111100100011101100010001001101000101111010110110101100000010000110101100000111111001110010 1001010100010010111111001101111000101110011000110100111010110000100100010110000010000110001110110110110110001001101010011110101110001011011110011011101000110111011000001001001100011110011010011010110010000011111001111010110111111101000101101000100111000011111100001010101100100100001011011010100101110000101001110101011110011111110001011100101101111101101111000100000010110100111110100011110111101010 0110010101000001101010011100111110110010100000001001111111010010101111000001100011110010000001100011011100010100101101100000110001001010100010100011110010110011000101100100010111011000001000011111000001011010101000111110111110110001100010000101111010001100010111111100100111101010100110001111111011100110010000100100000010100100110101100001001001001001001101110010001100111000001011100101011000111111 1000010110010000100100001010100110010100010100111000010010010110100111001010101000001001100111101010001111110110100110101101111000000100100101010100100000101101110111001100100101110110011100111100000001000110100101011011011111010101100010011001101110111001000110110000000100001100001110011000011011100010111000010100101111101110010000010100000110001110000001111010011000111011111110001110101010010100 1001001100010010011010110011011111011100101010000111001001110000001000111001110111000011100000110010111010110011010001101100001111110010110101100010011100100000101111010011001111101100011100000001110011110001110010111101111100101001110101101100110101001011001000010000000111111101100100100000111111100011001111101001010111010101111111010110000010001110101110111010010111101011101010110111110001111101 1100010110001000000010000011110101001101101110011111010011010100101000000010001000101100110010001100001010011100011100111001110001000001011100101001101110000000101011100001101100101000111110001101111011010111000111001000000110100110010000011101111101101111000101100100100001111100111111100101011010001001010101101000000110000011111000100011110111001011010000100010011101011011001111111111100001111000 1001011001100100110100011100100000111001001001000101111011011000000111000100011110111001101101110011110011101011100011101011110100110010100101100101001111001100110010001010000001100001100001001111001000001101101101111100000000011000110000000101101101110010000011100001000110101111000011110000100111000011110100101001100111000001011111100001000101100110111101110011101010100000110110010011100001101000 1001111010100000000111100010010001101011111001110110100010001001110011100110001111110001000011101111011111011101100000010011001011001101110001001011100111001001000000010010010100011101011110100100010000110110001111100010111011001001110101110111011111001010100010010000001000110100101100000101011011111111101010110001010101101110100111110010001010011101111000111000010111000110101111000010000111111000 0110111111010000110011010101001000010101000000000001011100101010111100001100100010000101110000001110010010000011000110011010111100001101000111001000100111101010100001001110111111010101010111010001011001101111110000011111100010101111101111110111011110000010100001101001101011001000111001100010010011100100100101100111011011111001101110011101100011000010001100010101111101110001101010000001100111010101 1101011001111000001110110001100010110110001100111101010111011111011000110011010100110110010111111010000001010101111110000001000000101101101111111000001101010110101111011100111000100010001110001000110100101111100101110100111100111001010110101101001010100001101001111111011110100000000110100110100100110110101100010101011010010001010010101011001111011110101100011001100000110110100001111000010010000011 1010001110011001010111010111000111101010001011001100100001001001001111011011100110001001011010000000101001100101101101110100100000001101001010011100000000011000110111011111010011100111000100010111000000100001110100110101001001100110101100000110111011011110011010010111101001101010100001101010101111011111111101001011100011101100011010010010100011010101101111000111101000101110000111101101001010010100 0001010101001101100101110000001111000010100111101000100001001000001001101101011001101000010110001001100101100010010101101100100111000010011111111010001010001111101010101011110100001001001011000000100111011001101001110100000100101101010000110101111101010001101010110110000000001111110011000110011110111110111100110101100011010101011011000011100001111001101010110010100010101000010111110000100011110011 1010110111101101001010100010110111111110110010101001010101100000000111001111101101010100000001100111110010001011000101011110101011101110011100111101010100001010110010111001100010010011100101100010011100100111001110101010011100011111101001111011110101110101111001101010100110100001100111000101011110100101011101000000101111110100011101111011101011010111110001110111100011001101000100111010100001001001 1111001111000011000001110000001110111001100010001011100011100010011010000110110010110001110000011001010101111100101000001010101100010100000000010110011101011010100000011011100110101111110100000110111010000010100000000000111011011001100100011001000000100010001011111000010110111011001111100111110001001101000101101011001001100110010011100110010111010111101110101101100010111100100101111101110100100001 1011001000010011100010001011000111010100000111011110011011010000010001011011110111011000010000001101001001001010110010101001110111000010110000001101010100101010101010010011100101011000000101100111001000111011110011111000101011100011011111000000010110001000001111011010010111001010110111111011010010111101111101001001101010000111100011011001010010110111110001100111001101111101011101011101011110110101 0101110110011001011010110110101110101010101110101001100110000100110010100101011010100100100011111100011111111011110001001101011111101011001101110110001100100011010111101010011110001010000001101010011110011110001101111101011000010000100000010011111101110100001010000010110000110101001010101011011000110011100010011000010010011011101111101111000100100011010101001010000011010011101001111011011111101011 1011100101000001000000000001110010010010010111101111110000101100011101100110011000110100011010101100100011001111101001011111111010100101010001110010111101011010111100110111111011010000111101101001010101101011010000101111100011111010010101110101101001101010111100000000110100111011110110001000101011010011110011011001100001111000110011011110000101001100111000001110011110100011110111101010101100100001 0011010100011101100100001110011010101101011011100110001001111010001001110100000101100111110000100010011000111000011010011000011011011110110101111000100001101100011110101111010100100100100110001011000010100001101011011011111100011110110010000100001000001101001001010000000001000110110110001010100110001000111010111001101010010111010101010101001000010101011101010011111111000010111010000100011001000001 0001111001010100110011010101000011001101000001001111100000100110001100110010011010110100001100011101100010111001100101011000101000101011111011011101110011101001101000000110001100111111101100000110101001101101010010110110011011000001100010110110001001101100001111000101111010010001010111010011110000111110011000100100111011000001010001011010110111001000101100100111101101100111001010111010111101000010 0001000101011110101110000010001000110011000000101111011000010011101110010101000001000100111000011110111011110010010011011100111011110100111010100111101110101000010101101111010000000001000011000101001100100000101101000000110101010110000000011011110000110010100111101101000000110110101000010100101100110011001001011010000111001101000011001010100001001010011110110110110001001110001110100110110100111001 0110111111101000110010100001110001110010001111001100011111011001001111101011001100000011100100011100100000000101111101100111010011110111000011101001011111011010110000100010111111011100111101010110101111011000100100101001110101001010011011101101011111001101111110100001101010000101011111001111100001000001100111010011111001010011101100100100110010001011111111000111010011101001000010111000101110110110 1101000101110101001101110011101100000100110010001000000101000000110010101000101111110001100001110100100011100010001101100101011101111111110100001110010011111111110100111011011101100010011001011001001110001011010010000001010000010101001001001110100011001001001001110110000100110010110011110000110010010100111001010010010101010001011000100110100011111000110110010111101110111110100111001111010101000001 0010111001011100101000101111101000011111010010001001101010100111011011000000100011000110111101010101010101101101010000101110010100001011000011011010111000111011001100000100011110110010100001011100101111011000010001011011101111100000110010111001011110101000100100001111001001010100010000000100101100011100101010101011101010101110100110100000000111111000011110011100011001001000111000001110001000000110 1011110011101000111101101000111000100111110011011110000011011001101111001000011110010110110111100101011111011110110100001110101110011100000010110101110010101010001100011010100010000001001000000111110110110101110110111001100010010010011100100001100111001010001001111111010001010010110111111001001111010101100011110101001101100101001000111001011100101111010010101010101010110001001001110011000100000101 1100101001010000101101101011100100110000110000110110101011100111010000101100101100001110110111100110110011100101001000001110011110001000111111000100011110101101010010101101101001000111001110011011101111111110010001011001111110110001010000011111010010010100101101101000111110100100011111101100101101011010101101100001001010011110000001111000010000000010100111101011000110100100001011010011000110111110 0001111110001000101011010110011100001111000111000000100111110111110000100010011000100101110111011110110001001001100001000001110111111001110111111001100000011001101001000001110010101101001111000011000111100000110000001111001101011101111011101000010110111111010101101011100100101010111001111111011000000101110011100010101001100101000000101000001000101100010001100101111111110011100011000010111011100000 1000100100011110100001100000010011000000001110111100101111111011111010100011011100101011111011111000011010100001010111001011100100101001011111111101101010100101100100001010010001100001111011111000101001010001010101101011010110011001101001011010101111010001010010100000111001111001011110001011111100100010101111110100110101001001011100110011101110001000011011111111101110000000100110110000011000111100 0011100011010000100000101001011000010001000110110000010011101010100100000001011011011101011001111110111101111111001100101111001001010111110001101000110111111000110010011111110000101001010011101001100100001111111010100111001101011101011101100011101010111110001010001010111100010011000001011100010111001010001111101010110011101110011011111101011110111000011011010111001001011101010100001111101000111001 1111011100010010001111010100111011110011000000100010110111011010100111101110010100010010101111000101100110001111010011000100110101000100011110111010000100100010001110111000110111100001111101111001111111101111011001011110011011100110001110110010100111111111011010101100000100100000010001101101111101100101011011100110001100101101000011000101011110101001000001011001011001111011100100111001010100101010 1010110000001101111000011001110101001011011101110101111110100000010101110101010001010100100101000110101101101110110011000011011001001010011101011110100000001100111011110001111100111000101010111101001011111010110011010001101011000110110111011101000100101001101000111001110111101101110111111011110010101011000001001100101110011000000010110011001010010110000001011110001000000001000000000101000001111101 0101010001101110011101110111101100010000111011010111111100110111101110100000010001010110101101101000101100001000011110100101110000001101010010110011010110000001001000011000011111110100000001110000010010001011100000101111011100011010011100100110101001001101010100101001001101000001000000101111111100001101111110100111111010000110001111011110111011000010011011001101011111000011001110110100000101110100 0000101101011001010000110111101101011110000111101000110001111010110001001100100001110101000100011000110110100010111110000101100011110011000110000011001101010000111001001011100000010000100111001011001100100101010111111100000001110111010101111111111111100100101001110001011111000010011011110111000000001000010110110000110100010111110010110000101111011111001100001100111011110110111011110011101110101101 1101110001011110010010010011100000110111011000111110001111001111011101011000001110001011101111111111101010001110101111010100011110101101101110000000101111110110101100101011000100111110111011001000110110000010010100110011100010101110010001000101101111000100111010100110011111010011001001011101010100101011111010100110110100011111100000111001100110000111111000100100101110001110011101111000110011101110 0101111110110000101001111100010101101000100001010111100100001111110101111010001010110011101011001011100100100010100011110101100001000111010101000101001011001011111111110001001110010000001101001011101111110111101101111100000111000000110100100111111000001111101111010011101110011011001000111001101001101101000000111100101000000011100100001011011010000100110011110111110000001001011010000110010011011010 0110101101110010001111111110111011001000001011011100100101101111100010001011100000100111011001010010111111011110010101100110010101000101100001100100011011110000011000011111011001100101101110001111001110010001111101010001000110011010011001110010001011001011010110111100101001001111110111111000010100010001011100101111100110101010101100000111110011010100001010111100101110010101011011001100010100111110 1000100001010001000101100100001000001100100101111000111001001000001111011010010001111000010011110000011100011001001011100001110110111111011010110111001011001001011000000001100010110010101001101000101010100110010000010011110101100010000101111001101101011000010100000010110011000100101111111011111011111010100001000101110100110000100101100111100110011010100011111000000010111011011110111001100111001100 0100011110100101100010010011110110001100010101010000001110110111010110110101101101000111010001101010110110100111011000111100101001100000110111000010010001010101001010001010110000110100101101000011000111010111100000100110110101101011011101111011010011010001011000111110011000001110011001000000010011011100100100001010000001110000001101000110000001100011000010101101100011001010111000111011010000101001 1110001010011001000001010110101110111001111001111100011110111111001111000010111101111011100011100000101110101111110001011010000110110110110111000100010010000111011010010111001001011101100000101010100011101110101101000011100011010010100101011010111100010010110111011110100000111101111101111101101011101110100000000010111101110001001001001000111111100010001101101001011001001110101100111010000000011001 1100111100011101101001001011101111001000110101100010110110100000101000011011011010011001000001111111110101110001011000111001111000110011001101000110011111000111100110011110100110001001011010110110111110011010101101000100100000111111100100000100010101101101000000010101111000110110110010111001000101110100111001110000011100011100100000001000010001111101001001100010010100100001010010001000011110110000 1011111000011111100011111011001111010000101101000011010100001000010011001100100100010010011111101110111010001011100011011110001010000100110000001100101000100010011110011000000100010001001010101100111011011001010011100110000111010100101011000110000011101010110010110111101000111000110000100001001101100101100010000100110101111110010101100010111001111011000111011101010111110111110001011001011011110100 1111111001101000011011010001011000010101000001110010111111101101000010001100111011000110110101100100000100000100111000001001000010000101101101111101000010110100011001111011100100001110000101010101111001110101010111010000100011101010111001111101001101010101111000101110111001111100001011101000010001000101000001010010111101110101100101100111001101011101010011111000000011101111010011011010101010001110 0110001110110010010011111100110100100110000011111111011011001011000010011110101001110110100000010011110110111101000001110010001010011110001010101000011011100101111111000110100000101101110011011010111101001101001100001100011011111010100001110111001101110111101111011100110011001011000100100100001111001111001101100100100100100111000110010111110001010011010010010111000111001101010001110010110100000011 1010110010100000110011100010100100101000010000001100101110010000110111011011011111110101110010111111010110110000011100111011000010000000010010111011100000011101111000000000111110000011111100111001000110011101011100111011101001101000011001000110111110011010010111010100101001000011011001010011001011000111101101111111000001110000111000111000001111011000101011101000000011000011101000101010100110011000 1001001101000001110010100100000010110111101100101111001111110011101000010000111010001010111011110100111100100010101110110110001101100011000000111100101011011110010001101111110100100000110001110001100001011100010100110101111000011011001111111000111010010001110110101100100101111000111011011000111110110110110101111110100011001001010011001101011001010000000101101110111010111011100011010011101011011010 1111111000011110010111011100001011010101001111101111110111100010000000111111101000111011111100111011111110100100011101010101001110110100100010111001011101111111011000110001111100111000011010101100100010010101100010010001111111101011001001111000110110111001101110111100110001110011000000100011010011111011001110010110001100001000000100110010101000110110011100110111101011110010101010110000010101011101 0001100111011100111011011101010101001100001111110000001001110111100001011000100110011110000111011001111010000101011111010101110110101111011101100001101001101110101001001101011111001000111011010101010001001111111101101101001110100000001010111101001011101011110001110101110101101100110000010001011111011101001111100110111101110000101100010100011101011010000100110110010000011010101011001010010010110000 0001110111001101111000011001010101100001100101011010111101110101101010111100111100000110110101101000010001001101000001010101111101100101000001010111111110010001001110110101001110001110011001010100000010100010000010100010110010111000000000111100001011001110001000100100000100001000101100010011001100011000001001110101100010110110010100001010010110101000100100101000111111111101000111011001011011111101 0101001100100000001010110000001000101111001011000001011011000100101110000011100110100010110110011101011101000111101111001110111110001110110101110001100001000010101001101101010100010101110010110000000001001110010000111101100101110110010101001000111110111010110011010010000101111000010100101110000101000011101111101011110000100010001110011001100001100111101110111100000110111000000001100010110100100010 1110100011010101111110101101001100000011100001001011101011110000110010011111100101100110111010011110000111110101011100110000101010010100011100000100110010110100110110111010000110111111001101000101110010010001100110101101011010110001111001100100100100001001001011011111001100000101100010101011100011000000001110010110000010010111110011111001000010010010110101110011000001001101101001101010001111111001 1101100110101000101111111100010000010011011010000001011101000000010000111110011001111101111010000110111011010011011100100101000010110100101101000011010110010001101001001101000000101000101001010001111110100000010000010000000101110001100100000011111000011010011011100100011110101110000010101011011000010100111110000011011001011101001001000101001001101100000111110010110100001000001110110111111011011110 1011000100111110011110100110011010011011100101110010101011111110010101110001111100001110011100011101101000101101000101010001110000010011001000110110000101010101111011110011000100100101110011010111001110011111010101010100000001100011110111100111011100101001101000111011010010111000001100001011100110011100110110000101011010000100001011101011001000000110100010110010001011011001000011010100100111101101 1110110010101111111000101111010101101000000000110100100100101101001110001111010010100100001110101110110011010000111101111101001110010000001101000011010111110001111001011110111111010010101110101011010100000010010101111110011001101010111011001101110100110101010111111110001011001000110111000011010001001111111110111111100110111111100001110110111111110111111000000100110100101011101100100101100010000101 1011000100101000111010010011010000001101000010010000000010011111100011001100100111010011000111100111011001111100000001111101001101011101001010000010111011111001000110000110100001001110001010011101100111001110101011111100010101101100010101011100110101111000000111010000010100111100100100011111001000011110010110010101101101101011101001100100100000110010110100011100011000010110010011011001111100101000 1110001110110011100110110011001001100011010100101110101011101001110110111011011000101110010111101010001100101111010010011100100110100110001100111110110000010111011001011000001100100101000101001010010111000011100111000100100101001100000111000011111110101101101010011101101100011111010101100110100111011110001001000000001000111100110001000001011011100001100011111000000000010111000100111111101101000111 0111011001100001011010110100010100100101111011101010011111100010100111100110011110001001011101011110001111001101101011010100100110010100011111010100100011001110010101100111111011000111110001011110100101111000110100110101111100111011110011000001110001000111000100101100101110101010101010011001101011001100001010101011001001111100001100110100001010001110010000000110110001001111101111111110101010100000 0100011011101000100001011011100110010110111000111110101100101110111100111001011101111000100010110000101100111000111001010101011101101110100111011010001011001010010000100111101011101111111000110110100010011100010110101000000101111010001000001100101001111000011000100101001100110011101101110010100101111100001011001101000111001000100001101111110010110011100011000111111010001110111100110000010101111010 1100000000111010111001000010111111000111110110111001010011001100000100000000110110101111101010101010010011101010011001100111001001101011110000110011111011110010000101101011000101111001011010000100000000001110111001000100011001110101011100100111000110011011010011111111011001010010110111111000011001010110111011001011010000000011100110101101110011001010100001010101010000001000000110110001010011000000 0110101000111011111111001000100011001101111010111010001000000010100000010101100001001100110111001000010001101011101101011011011101010100011001011110001010101001000000001101100010011110111111000001001001001011100010101001000000101001110101101001001010111111010110001110000100001001101011000000001011001110100011100110110110110101000111100110101001000110011110110010000101010000101010111010000010010010 0111111100101111111100010111011000110111000010010110101111110000110010011010010101100110011100010000010011011000011001100011010111111101010101101111001100110100000001000110010010000110001000100101111010100010110000111010001000000100111111100010110001100101011011111010010010100000001010000101100010110101100010011111101111001001110000101001001010110010100111010010101111110001011010100100101110010000 1100001100011011111111111000000000011001001111100101100010101100001100010001110100111010111110101101110011100011000110001000111111101111000011001011000100001000101010001110110101100110101011110000110111010111100000110101010101111101100111111100011011101001001110100100011010001001001000001011101000110110101001010101010011100101001011100001010101100001111101010100101101101011110011010111100110101111 0101010000001010101110111010001011011010110010011111100110011101111111011100101000000101000001010100010000100011110001100011100110010011010001010111001111011001000011000000010111110100100010101101011110100011011000111100000100110011110010111101100001110111110001111111100111111000111000000111100000011110010110000010110110110111000001100011100100010100100110110111111100101111101000000111011111001010 1000111001001111011000011001010101111010010110011000111001001001111011110000010000000010110100010000001101110111101100100011101011100111001010001110011111100001000011111101101111101011110100101010001100010000001011001010011000101001010100111111000001011111000111100111000001010010001111001100100011011100100111011100000110101010010111001110000011110011011100101101001101110010000110110000110111000111 1101011011111011010100010101101111111111111110101011101101001011010010110110111110011000001111001000000111101100110000000011100101111110100111111101101110101100111110111011100001000011111000101100110011111110001001001011010101011101010101010110000111101000001001010100100000001010001111010010011100101010001111001010101011000011000000000010000100100000010110000010100100011010010111011010110001011100 1110000101001000111101010111011110000111110000010011110011110011001100100101001011100010100010110101100001110011011000011010001110001100110000001001100101101101000000001000001010000010111010101110010011101001111101001101010001101011011001101010111110101011001110001001000101100011000000110110010111111010101101111010010100011000001111110100100100100111010110101111111101100011100100101110011001101010 1111101111100100000000001011001110011011001000011010111011000110101001001001101110000000100100000100011101101000100100000001100011100101001110000000000011011010011000010011110101101011000100111111100101001100101010111111010010111001101010011101100010000001111010100001101110101101001010110111010011100100000111111110101110001010011110110001010101011001100010011011101110110100010110000010101010100110 0001110100001001101111111101111000011111100001101010011111100010100010001101110101000011000101011110110101010100111011011000010101010000011011001100011111101000101001010001101000001001010001000010111101100111110000110000101101110110111111000010010010011011010100100110001110011100001000111010010110111110011001101010100010001011011100001011011001000110101001101010011101010001010101101100010100001111 0011010101101010000010110001010011001011010101010110111110110111110001010111001100000100110001100001001000000101100000010001100010000101000001101110110010110011111100111111011001111001100100000011001100100010100100100001000110100110010010011000101000100011101000011101001101101011111011110000011010000010110010000100011011101100000011000101011101101100100010010100000011110111100101011111101000011111 1100110001010100000011100100110011000001110000000000011011110110010000000001110001010111111011001011011110101000000101001110001110110010111111110100000110100110010100110000010111100100011100110001010001001011100000100110011101001110101100000000110001011001001000110101001101101111100111101101001010011110110010010110111000110001111111011100010001000011111011110010111010001001011100011101111100000001 1101011110101111000010111110010010100111000000010001100111001110111001101011001111010000010001101111111101111101010111110100001101110101111010100001111111011110011000100011100110001101001100010010000101100101101111001010010100111001010011111001010100001100101001110001001100010111010110101000001001001101010000111001011011111101001101101011011100100111111111110111111111110100001111000100100100101010 0111111111011011111000001000011110010000011111000010110001000111110000011101110000101010110100101100100111011001110100000010010000100001111110011010000011100001111100110110100100101110100000001011000110100100101001000010100100100101100000011110000010010100000101010001100010011100101100110101011111000110111100111010000001001100000100000010010000001100101110011011110010100000111011101101111010111111 1110011101000111001100000110000111100111010110001001001000111001000100011010110110101011101011000001000101111101101101001011000110101111101010110100001011010101011001000011110110001110010001111101011000110000101111100111000010000111111000101101110000001110111100111011110010101011001100010110000111001011000100001111110001111110110001001100111000111010110111100000010100101111111000001001100101010111 1010101011100011011101101011010111000011110110010001000000000111000010011001110111111110100111110000011001101111110101110011001111001100010011110010101111100000001000001010000011010010110010100111000010001011100100011000110111011100100000000011101011001010000100010101100111100100001011111011100101001110001011011111000011000011100110100100101011100010100011000011100110101010110111011010101001111001 1111100101011111110000111011111011000110101101111100110000011011000111111011011001010101110000000000010001101101000010100000011001000001011100111101101111000110000100000010111101101011111011010111100010100001000010000000100011001001111101111010110010001001010010110111000110101111111010100011010110010000111101010101100000110000111011000011111011100110001100001000000010100100011001010101011111011100 1000110000011100111000001000000000101111001010101001111011001000011001011011011100000011110000101100001011011001101110100010111100110011001000101010111001010101101101001010001100000110101000000110001101000000001111111101110111101010000111000000101011010110110010010010011110001110001001001000010000010111010100111000111010010001111100101101001011100010110000010110010100110000110110000011010100011011 0100110001110001001110010101000000011110001011100010010110011100101111010010111101011100101010010110100100111011001101011100001111100011011101101001010001101111010001011100001011010011101010100110110110110000111011100111001101010110000010111100000000001101110111110010001100111011101010000010000000111010101001111111110010111001001100100001010110000111010110010110010010101000001001100000011110000011 0101101010110010000101011000111111010000011000111100011010011000110010111110101110010011100101001111110110011100111010100011010000111000001111101111011011110010100010010001011111110010111101000101000111100110000110010001111100000100011011111011010110111000101001000010100001011010010000101110100001100000000010011000101011001110001011111010001010001010010101010100110010010110111111111110101010110010 1110100001000100111100011000110001111110000110111001000011100100110001011111010010001110101101011010110101010000111111000100000010011111010100000101101000010100001010010001000010000100110000101111100010101010000111000111101110110011010111100101010110011111001101110110001111111010100110001100000111000100110011100111011101100101110000100100111000111111101111110011000010100010000101110011000001011000
cTrader Algo

【cAlgo】MessageBox【API】

12/10/2022

2年以上前の記事です。内容が古くなっている可能性があります。

ユーザーにメッセージを通知する

おなじみのメッセージボックスです。MT4(MQL)でもありますし、ごくごく基本的な機能かと思いきや、実はcTraderではバージョン4.3のアップデートででやっと追加されました。

これまでもメッセージボックスらしきものを表示させることはできなくはなかったのですが、下記記事のようにどうも不便だったんですよね。

cTrader4.3以上をお使いなら、こんな面倒なことする必要はありません。cTraderのAPIから簡単にメッセージボックスが使えるようになりました

 

 

MessageBoxクラス

public static class MessageBox

静的クラスとして定義されています。

 

メソッド
(MessageBoxResult) Show (string messageBoxText)
(MessageBoxResult) Show (string messageBoxText, string caption)
(MessageBoxResult)Show (string messageBoxText, string caption, MessageboxButton button)
(MessageBoxResult)Show (string messageBoxText, string caption, MessageboxButton button, MessageBoxImage icon)
(MessageBoxResult)Show (string messageBoxText, string caption, MessageboxButton button, MessageBoxImage icon, MessageBoxResult defaultResult)
(MessageBoxResult)Show (Window owner, string messageBoxText)
(MessageBoxResult)Show (Window owner, string messageBoxText, string caption)
(MessageBoxResult)Show (Window owner, string messageBoxText, string caption, MessageboxButton button)
(MessageBoxResult)Show (Window owner, string messageBoxText, string caption, MessageboxButton button, MessageBoxImage icon)
(MessageBoxResult)Show (Window owner, string messageBoxText, string caption, MessageboxButton button, MessageBoxImage icon, MessageBoxResult defaultResult)

メッセージボックスを表示します。なんだかShow一つでいっぱいパターンがあるように見えますが、メッセージ本文だけが必須指定でほかはすべてオプションと考えとけばOKです。

 MessageBox.Show([親ウィンドウ]、 メッセージ本文、[タイトル], [ボタンタイプ], [アイコン], [デフォルトの結果])

ただ使うだけなら親ウィンドウは指定しなくていです。メッセージ本文とタイトルは好きな文字列を、ボタンタイプ、アイコン、結果は下記列挙型の説明を参考に好きなものを指定してください。

 

 

サンプルコード
MessageBox.Show("is this OK?", "check message", MessageBoxButton.YesNoCancel, MessageBoxImage.Question, MessageBoxResult.No);

これでこう表示されます。DefaultMessageBoxResultがNoなので、このままEnterを押すと結果としてNoが返ります。

 

 

MessageBoxResult列挙型

メッセージボックスの返り値として「ユーザーがどのボタンを押したか」というメッセージボックスの結果を表します。

None デフォルト値
OK OKボタンが押された
Cancel キャンセルボタンが押された
Yes Yesボタンが押された
No Noボタンが押された

 

 

MessageBoxButton列挙型

メッセージボックスに表示するボタンタイプを表します。

OK OKボタンのみ。デフォルトこれ。
OkCancel Okボタンとキャンセルボタン
YesNoCancel Yesボタン、Noボタン、Cancelボタンの3つ
YesNo YesボタンとNoボタン

 

 

MessageBoxImage列挙型

メッセージボックスに表示するアイコンタイプを表します。

これです。

None アイコンなし。
Error
Question
Warning
Information

まだコメントはありません

新しいコメント

コメントは承認後に公開されます。承認まで次のコメントは投稿できません。

cTrader's Life

© 2025 ajinori