1000010011100011100010011001101100001001111011100110000101001111101001001010000010000001000000010001101110000001101100000001001110001111110000100110110000010011010000010010011111111000111010001100111101111010001000101110101001011011100001011011010011010111000001110011111001110011110001101011110000011110101001101100010011110100101111011010010011000000001101011101111100101010001101110101001100110100 0110110101100000100110011010010010100010111001001001011111111001010000010100010011100110010110110101011000000110000001111100111011010010000001011011011001011101101100000111101101111110000011101101010111010001011111110011011010111000000110100100000111010001111001110001011000101100111000011110010110000010011101011111111100111111011010010011011100111010101001111010111011001111101000101000000000111100 1100101000101000110000001010010100111001100111010100101111001101110101000010110101101000111101001011001001110001100100101100110100111100000011111011111000101000000001101010000101100000000010111001111010000101100101000110010010100111100001100011111111111110001111110111110000101110100100000011010101010010000101110001111001110110001110111010110011111001100001010100101010111100101010101110001111011101 0010101001110100010001110011101000100010011010110001001001000011110110100000101000100110010010111001100101000001110101001111101100101000111100101000111011001101001001011001111001011111110010100111000100111111010100001100111000000111110100010100011111101111000110000011111100001101101101100110000010111010000001011010100110101010110100101100101100000101111010100010111011010001111010011010110011001000 0010011011111011100110011110000011000011110111000101100000001100001010000101110101110000011100111010100010000011111111011110101101101111000011100101011100011010100010011010000100000000011010101101001101001000010010011101110100110011100100000100111110110010110010000110011010100110111010011011011000010110010110011010001101001011110100101011001110111011111010000011010010010011110110000111011110110011 0100101110010010110111011000101101111111100011111100011111000010001000011101111001100111001111011111011111100111011000111111101010110011011110101011100101111111101011100110010101100100110011010001000101001000010000100110000011000111011100101001111010010010111101100100111010110000011101011101100101010011110101010000110001110100011111101000001010110010001100000001011111001001011001111101000011110101 0100110011100011111111001000000000001001011111100100010110011011100101011101000111101011001110101101010101010001010010110000110101001101111111100101000011001110010100000010011110001110111101100100100011001001101000111110001011101001001001010110111011000001110010011111011011110010101100011000100001101111011001011100111011001100001100111100010011111011010100100110011100011100100000001111110101001100 1010111101101111100000100100011001111011110001111110001101110011010000111000010110001101001110111010010111110001111101010110101001010101010010010010000100000110010100001101101010100001010111010001001000101010110000101101000101001101001111010110011110010010101001101100010100011001011110110011100011111110111110111110111001110110111001111000111111101101110001000100001100000001100000111000011011111001 1000010111011011101111100001100011001110110110010000111011000111000111110101100100111010000001010111000101011000000011000111011001000001100111011110011111010000101001110101001101101110100110010111001011101111010000100010111100101000000111011011000000110111100001010010000000010111101011111111010011110110001111001001010010000110100000110101111000011011110000011111000101100011000010100010001111101000 1000011111101000000101110110111100110011101001100111001011011001000011111011000100101001001101011011100110001110101011010011011000001110100101011110101001100110110101010010101100111110010110101110011110011110111010111001110011010010010101000101011100111111100110100001000001000001010111111111011001001111011110000001100100101111001110100000100000100100001011001101001001011010100100111011101100011111 0000100100000110100011111011110110101111100001111010100010001101100010111110001001000111110111010110100111100001110110100101011010100111011000001000110101010111010110101111001001100101100100111101110010111010111010110101100100111110110011101111000111001001101001101000000100000101011011000100000011010000100001110010101011010001100100011100010111010110000000101001100010100111000110011111000110111101 1001100110111100101001110011110110000011110110100010110001110001010011011011100001000111000110101111011010010000000110100100011110011110000100101011110110101110101101100110111100010110100010110010000101101111100011101101110000001001110011101000001101100010110111110011010011000000001011010110110000001011001100110101000000111011110100010100100010001111111010011111011011111010100010000000011110101100 0000110100000010000111100001001001001011010110010110100010011101111000001001011110101000011011110011110111011001110110001100110011000101011010101100001111011001000100111011101010110001011110010010010011100111101000010011110111001101100011010010101100110011110110011010110111111111011001010111110110011000011001010111111001010101010101111110001011000010000000100110111011100011111001001010100111000111 1000000111011110011100100101011001100101011111110000110001100100010111101000001001110001010100010101011000110010111110110011011110111010100010101011101100100111100001010101010000010010000010111111101110011011000101101100101011010111101001011111101010010000001101010110011110000010000011001000010100001111010001010100000000111001001110101101000110100011010100000111110110111110110100101101011111011111 0011010010000000110110000001001010010100101101000000001010010110011010100101010111110111101100000111000111101111010110010100010011110000111001101011111011111001100100000101101001000111101011010110110111010101000101101100100011100000110011101100111000000011001011110011010111001001000101001111010001100001010110000011101110010010100011100111001111110010101011100110100001101100010100111110010110100111 0011010110010100011001011001000101111000001110010100100011011101111011001111110000011100001011110011001001010000010101110100101111001000101000101100000101000000000000101010010010111000010011011100100010011000101100100000011111011011100001001101000011010101101001110101001010110111000001111110101111111101011011111101101100100010101000110010111010111010000001101111010010100001111111110100000111011001 1011001010000000011010110010010011000000110011011001111101111000010010101011000001111001000011001100001010011001010000110000010000101011011010010010111011111000111000011110011001000111110000110111000101001010101111111110111101000101100101011111101110010001111101101010001101011001010110110101100110100010001110110111010001011001100111110110010111111111010111011011011101101011011100010111111011000100 0000110011000000100011100110010110111000011010100000101000110111011110100000100101000100101000111001011011010110010110000001111101001001000001000011110001111010111111010000000101010101100011110000100101101110011011101001011000110000001000010110011110101100111101011110110000110100100100110011111011110011011011001000100010011010111001010101110111000100111001110100000100011101001000111101101001010010 1010111101000101010100000101001011000111010001000000011001010011101011110110101100011010001010100001100101000001010011011001100011001001000100001000110011110111110000010100011001011011001011011110010001001100110001010010101101100100100101111100110000001100000001111010101100101111100001101110100100010110110100001101101110010010101100000000100000101011110100011101101101101000000001001001010111101110 1101011011001011001100000111111001100001011011101000101001111011110001010110010100001100011100010001010001101011111100000010111001000111100010100000011110100100010011101010110111110000010100100011001000100111001010001000011000110101000011011101001100000001010110101001110000101110011010101001101001111001111011101100011111111011101111101001000010001110101100001000100101101001011100001110100111011001 0010110111001111010001000000011000110110000011100010000110111110010010010010010100011110110101000001111111001001001001010100011111101111101010010111110110011011101011110000000100111011010111011110010010010000010101111000011111100011011111010000110010100001011000011011010100111101001101000111101000010010101101110100001100110010110111100111011111011100101000000110001010101011010000010000101001000101 1110001000001111010000110010110100010111001011101110101110110001001110101101100100000110010100000111110101011011010110000001001110001100011010000010100111110000100010001101110100100101011011011111101100011101010101101111010010001001111100001111000001001001011010001111100010000001110110101101100000011101000010010100010000110011001010010011101011010001101110100110010101001111000111111011010101000000 1110110110011001010100111010011000000000111010011011110111101101110010101110001011011101000110010010101010010101010001001010100011010011111110011111001100011110101100000110101001000011101101011000001110100110101011100010011010010100010111001010000110111111100011000010011010100100111010100100101100000001010111011010010011010000011001110001011000011000111001110000100000000010111110100100011001001010 1001010101100101011011111100111011001000011111101010001100001111110101000001010010001000111110001010001101010100001111011110100010100101000000010011001011110111111001101111000111110010110110001000010010110100100001000111000010001011001101010110011011111001011011000010101010111111110100100101000101110101001000011010111101000110100110100101111001110010100100100100010110111101001110000000011111001000 0011001010000111000000110101100000001000111010011010101101011011000110100010000110100100001111001101100100101111101001110001100100111000001011110010111101100010100011010111100011011111100110101100110111011110100110000001001111100010011010100110101100111001000111001110000000110010000110100111101000100011001100000110111110001011101000111000111000000011110100001000000100011100100110101010100001111111 1001110011011101010101111100100111010111001101110111111011101000101101000000110011011011111001001010111100111110110000101011000010110001001111010011101001001101011000100101101010101000111000010001000010110010101110100111100101110001010010111000010001101001100111010011000001111010101010001100001100000010100111010010100111001111111111011101110010000111001000010110111000011011100010010100000110110101 1011100000111001011001100110000001011111010000010001101100010111011010100001010011110101001101100011111011001101100001111010001001101000100000101100001110111100110110110110110110111111010010100111000000101111101101011001110100100000000101011110110100100000011111001000011001010000001100001010111110001111011011110000000110110011000001101100001001001100110101111000100000000110111111011010001000111010 1110010011000110010011101110010011010001101110011000110111000000000110101110000000010111110101000101100011100111110011110110001011001011111001100011111001111110001111100110011101111111100010110101101000111110101110000010010000010110000100001100101001111011110111101000010101100100100010101000000100000011000110110111000000111010100100101110101100001010001111111001010110011100111010100000101110110001 0110000100110101010100101010000110111010111010101101000000011011010110101011100000100011111111010101101110100010111101001100111100011011100010001111001000100110000101001001001000101011100100101101000001111110011100101000001011010111011110011111110011101111000000100101000001000110001001000110010100000100101000111011010011100110011001011101111110100011000100110001010110111001001011010101010010100100 1000110110001101001101010110110001101101100110001111111110001010110110001111000100011011010101010010011111111011001000101110010110100111111111100001100011101010100111000110111100110110101101010010100101100010101011101001110010100010100111111110010111010010111000100110111101000001011010010000111110011001110000100010110010001010001100000011001001110100110111011101001001101100001001011100010110111111 0101001000100011101100110110011001000111111010000001111011110000000110010100001011100110011100100100111110011010000000111101010010000110100011011011110100011111001111101110100100011100110111111010111110010101001110110001001001110000011001110111101111001101000101001110000011111001101101011110011101001001101000111000101101011000111000100001111100110111000101011010001011000111011000100010101000011010 1111111100101110010011110111101001000011001100010001111100111001101010001110001111111100001010110001110111101000110010111001000010101101110011001111111011100000111011110011100001010100001000011101111110100001010000100110011100001101011000100111001001100010111101001101101000110001110110010001010010100011011010110110111011001101001011100111001110100010001111110110000010010101110110011011100010100100 0101100011010100001100001101011111100000110011001101101010100001011101111001101110100110100000100100011011001110011100101010011011010101110111001001110000001101111111110101000100111110000101000000101001010110011111100000000011100100010010011101000101111111010101110101100101110100110011000010110100010100010101000111111001011100010101101000011000101000000010000010111110101001100110110010101110111011 0101100101011011011101010001000100111111111110100101101111110010100000011001010000010010011000011010000101010001001101111110100011100011001010111000101110111011011111001100100101101111010101000110010000100010101001101000111001011010010000010100101010000110111111101111011000101101000010000000001000000110010111111011110110100001100110011100101001001110010010101000100110010111101101011101101110001001 1111101111100001110111100001101110001011110000001000001001100101001011110101110010000011001000010000101000100111110011101010011000110000010111111110011101000001100100010010011001000110010111110111000111011000011001110110000011111010010001101100001111000010011001001101110110101110000010010101000001001100000011110100101110111000000110001110011000011011101100010110110110110011100001101001010010110000 1000010111111110001101000100000111011101000001110101100001101000101110001110011101010100001000111101001010000011010111001010011010101010011111010011001011001111110010000101111001100111000000111011100110110011101100001010110111110110000110100100000101011111101100010010101000011100001000101100110101111001000100100001111011001111001000010110101000100101111000011110111011011000001011000000110101010010 1110111110011101010011111011100001111011011100011001110111000101001000100011010000010100100010000111110001101001010001010010000010000110100001100010001110101111101110100001011110001010100001010111001001110101010010001100011110110101101101001110010001110001001011010100001001000010110101101011110011100010111101000110111110110101110100001100001000100010100011000101011100100100110001001111001000101000 1111100001011100011001010011011101010001010011011000111011100011111000011011000000111101001011100010101110111011100010001010010011010010100000001110110010001010111011011011110101010000100100011111000110000001000101000000011110101011110100001010001111111000010111001100011001110010010110111001111001010110101110000011010110101101100111010110110010111000101010011001001000101001001101111001010000010001 1101011101001000111001101001000000011001011000010000001010101100101100101010110001111000001000011011011110110110111000000001100110010101011100110100100101111100001111110101110110110011010011100100101110110010001111111001110110000101110110101000010010001011111010001111001100011000111110110110101000011010001111110010110011010010010111011101110000011011100011000011000110000011101011110100000101010011 1011110011101010000000111011010100011000110000100001000011110101001001001000010100110110011010011101000111110010100110000001111010110101110011100100011000100000101111101110000011100011100010110011100010010101101100000101001011011101010001110111101101110110101101101101010100011001101110000101100100110111110101110011100000111011000100100111011000110010010100010001111001011111011000101010000100100010 0110111111001001011111110111101010111111001100100100001101111000000111101000101010000110100001011011101110000101100001101111010110001010110000000100111010100010010100111001101000011011110111000100000100100111100101001000001010011010001010011110111100001111000101101101011010111111000111101111000000110111011110011001110011010010001110001101001010001010100011001100101010111100110110101110001101010011 0000000110011111110111011010100000011110001000000010110011100111010010000011010001000010110111110111000111101000111000010101110001000011011000100111011010111100111111010110000100000000101111110001110111011000101011011011011001001011101101010011010010101101110011001000111010111110111100101001111001000110011010000011011001010010110000001000010100010110111011011011111000001001011011100010101100010100 0101010001000001100110010011111110011001110011011001101010110101001101101101110100110110100001110001000111101011010111001111011010111111001011010011100010010010110111001001011010110001100111111111010010110010111010011100110011011101011111010001110100011011111001001000110110111000110100011001111110111010110111110100110010110001111110010011110000101110011010110001101001001100100001001011110010001001 0010010110111110000110011100000011101001000110101110010100110110001110011110101011110010101101111010101010100000001010011000001010001111111011010110100111111101010011001001001110010100110010000000011101101111110011101000000000100101010100011100010010000100001000100101101101110110111010001100010010110101010011110001111000100111001111100110000001000010000011010000001111111011110101001111001110111000 1011011100111000111101011101111001011011101101010000001001001100101000100010100011001000001111011111011100100010111000011010101000101111011000001010011001111100001000111101110001010100110101101101101011000101101010110010100100001110010110010011001111110100001000011011110000001010110100101001111111010100110010010001001100101100010101100001110101010110110001010000011000111001100001001101100100000010 0111001101101110100010101011010110010110000110001110011100000101010000101011101011001010001001101011111000100001000010010010010011000001101111001011111111010010101101011010100011110111101010001001110010101010000001100110101101010001000001011100100000010100110101000100100001101011000100011011000001111111001111011011101110000000100001111110001000101010010001000010111101011101101000110101010111111000 0100110110001100010100111111010010010001110000110011011110101010010001001110011101110110111011000101101000111100110110111101010011101001100011101100011110111101000101000101110000110000100000111010001100101000100100101111101010110101111101111001111000001110010011110000100100111010111001000101011001110001101110001110001000101101101001001001101110100001011101001010001110110010111000100101101010011000 1110111010101111001101101101011100001110000111001011000111000111000110110101111001100111011100000010101101000110001010000100111010001001101100010000101100011110000010011000101111001101011110001010011001100000110111101111101111000010100110100110001000100010010100000110100011001000111001100110111100010001110111001010001001011101101001100111000100100000101100101100001001001100000110000011001011100001 1110000001111000010111110001000011110111001011100011011010111000010001111101010110100000111111000101111111111011010011110110111101111000111110000001101110011111110100010000100001001011101001110101011111000011010000010100110000010111010110001011000110100101011101001000010110001100110010100101100101110000111111010001110101100010000011001110111011000000100101001111010111010010011000000100010100111100 1110011111110110100101101100110101000001111110100100010001111000110110111010001001010010011100110111101000111110000100101111000101001100001101111000011111110111011101000001111000001100111001010110110111100000100100110010111110111111101001000110110101100011000011110111011001011100001011010111010010111101000010111010101111110001100110000100000100010110011010100111100111101000010100111100011000110101 0100000011010110001101001100000111001111100111111101000110111110110111101111111001011010101101110100110000100110001011100100101010010110001100110101100110111001000110101101100000000111011110010010011100011001000101000011001101010110001010101100101000000100101001100111100000101001100101001011010111110111100100010000111100001100010011101011101000010110011000111111111010011111000111000101011111000101 1110110001101100011110110010101010001100100111101001010100110101100110110000100100101101110011011110101110111000010011010101011001110000010000001001010111111100000010010100000110011011110001100010110110100111110010010001010101001001101000010000011110110011111001011000100111001111010000110001100110110110011101011110010110010011000110011101001101100111011111111110101111101101001110111011011101101001 0001011110110100111010101001100100011111001000101010000110100101011100010001010100110001111011100100010110011000000001000000010101111111111110011110100010010010100111100110001000110011011000100101111001110100111000000111111011101010001001011100111001101000111110111000100010001111111011110111011010100110111101000100101000001001011011001110000111101011100011011111011001010100100110111001000011000100 0100001111110001100011111100011111001100001100000000001111011101110001100011111100010010101001011011000000001001101000011110001101100111100000001110010111111101111010110011000111010010011011000110001100011001100000010101110001000010101000010111010110110010000011110010101100110010101111010001011001000001000011011000110000010101110010101110101111110100100101011001011001110011110000010001100011011001 1000100010110001111100011011111100000000011101101000101111001100111110000100000010110110111100010010100101000111101101011000011111111000001101011010110001100010101011111011010010101110101010100110101111001111100100110101001111101110000001011001101010111010010110011000100110000001111100101000111101001101001100111010101100001101010111100100011101110101001111000110110110001001100011000010111011111100 0111011100111101010000001110111000100100000101110000111001110001011111011001111011111010100100011100011011111100111100101000011110110000000000100010101011101110011011101010100100010101101010101100000001000110001110011100100110010000000111001000110011111100100101010110011000110100101111110001111011010101011011110001100011101111010111001111001000010101001001101100011011111011111111101011110100011111 0000111000000010001001110111101100111110001000111101010010010100011000111111000010110100011011111111100110110000010011000111110010101000011001110010001101110011110100000101101010001110010010000010011001011101100010000001100101000100110000111111011100110010010110011111011001011000111101111110110001000001111010100101100101010000101101100111001001010000010000111000011001010100101010100110101011001011 0001010100010110111010000011000110011100010001001101110000010010110000100110111100001100100111110111010100111100001010100010000100110011110100010111110011110101111010000000100111001110000110010001110100100001000010000111000001001010011110101101001101000000101100111100000001100010110001000000001100111110010011001111001011110000100110100101001000111101010011000011010110001100111101001110100001110001 1111111011110111101100101010011000001111001111000000001010011110111000101100100100110000110001011000000101000100111110000110100011010100010111000010101110000101000010000111101110111101010100110101010000111100110100001111010100010101100110000001001100010001001100000001100000011111000100001100110100110011100100100011100001111111011110000001101101100001101101101110100110111100001010001110101100101111 1101100110001110111011010010101110101101001001010100010100111100100000110011111000111011110111000001110100101000100001111001011010100100000101111000010110011110010101100110110101010010111001101100010001111010010010110001100011110011000000001110010110000101100101011110111000100111100110101101010000011110010111110001010010101001111010110110101001001010000101000111010011110001111111010011001101000011 1000001010000010101101011100111000111010001101011010010001000010011000010011100100101101010001101111101011101100000010110011100011000100111000001000011101011011100000110011110010000111010100010111011100011101000101000110101000111100100001100111110011111010001110100010000000111010010101101011000110010001100111010011011001010001110011011110010100001000101111010011001011101111101000110000101010010001 0000001000101010100111100000010001111110010111101011000111111010011110100011000011000010101110001001111101100011101101010010000011110010010101100011101111010100111110010110000100100010011110010110011100011000001011011111000001000001011100101101111101110101110000011100111111001110000100010011000010001000010011010100011111101011011000110000001111001010010111010110111110000110001011101110000011100110 0001000010111111010000110011001101101000000001000111000001100101110000101101110100111100010110100111010000000010100101111001010010010010010011110101010011011001101010111111010101010101011100101111100000111011000000000000001110110100101000011101011110010000010111011001000000001001100001011011110010010111110010001111001110001101001011010011000111100000110110000110011100100100101010111111111000000000 1011101001010110111100100011100110010110100101010111010110111011110111110000101000011110111001001101111110011011100010000101100100101111011000111000101011000001000001101100011001001010000011101010101000001100110001001000111110110101111000000001011000110101101111100000101100001110101101100001100100011111101101010100110010100101001011000000100000110111101000001001111110011011101011111010101001100000 0001001110001100000100010001110000010100111100011011110000110010101111111001011001000010101100000100110101100010111010001101111101110111101101010011100001101111001001011000001100001110010000001001111110000110111110011011011100100100010100001100001101001000110111100011111100010001110000000010111010110000000011111110011010100001001100010001011100110101010010001101000101111110000001111100100001011110 1000101101010000100000000011000110100001100110110100001101010010101010001010011101000001011110111011100111111011101110100000000101101000010111100101001110011010101001001011001100000011000010000111110111100000110011010010010000110110100000001111010001000100111010100011110111100010101100001110011000011000100110100010100000000011111111001001101001000101111110100010110111101111100111000111011001101001 0111100111000010001100010111011000110011001011110111110101000000000000110110101110001100100011010010011010100100011011110011001000000100011111110111000000100111001010000111001101101011001000111001010011100001100111101110010100110100001110001010101111010001011100001100011010110011111111000100011111100011011001111100000100110011101011001001010101010011001011111110000001011110100101110001010010001100 1001110001011010000011010100010110111010001110000100101110010011111000110100101110111100111010101010111000011110111111001111000001101010000010011011101011110000000011010111111111100001010110000111001011100101111011111000101000100001001101010110111110011101100111111100110101111001010001011110001100111001010001100101111010101010010110100011110000101101000110000111001111110011000111011110000001000111 1000110101100011011111001010101011000100001010101000001000101010001100000101100011011111011011001010101111110011010001011110000001001001101001111000000110110101110010001010100101101110010000101011111101110001111011100111110011100110011111100111010111000101001010011110101001010111011111010010101000000011010101101100111110000110001001110010001110010101010111000110010001100110001100110000111110100011 0110110011011011111110000100000101001001100011101000111000001100100000011101101111100001101001100011010100101010111111000011001011000001000011100100111000000011110110111010001011111010100010111001010010010011110111101010100001010100111111001100110110011001100001001110110000011100100111011011010100010100011111001111010010011111011010000010100010100010000110010010010000000010110010001110000010001101 0001111111010110010101011001101111000010101000010110000110001100000100010110100011110110100010010011000110010101101110001010011110111101100110100001000011001110100111001111011000000000100000011010001001000010011001110011010000111101010011001111101111010101011011100001010001011000110000110100110010001000011100111101100010001000011001110011011101000101000010011011110011111010110010000100001001001011 1100010001100110011010000011011001001101000111100110010110101100101110100010111101000011001000101011011110110000011101111011101000001110010100010110001001000101101111110111001100101000011110111000110110000011011000100000111100011010001010000000001100100111100000001010011000000010111111100111011101110010000110110010000010111111111110101010101001010110001000110100100010011101010111000110110100001000 1111101101111100010100000001001101000111010100001111011011001111011010010011000101101100001110001100100101001100010000100001101110101011010100010110011000011011110001100001010101110011011111100000101010001010010011110010010110110000000100011011011000111001011111011001011010010010101100110000010010111000110110110011100100011101010001010100001101010001111111111111001100011001110000010001110101110000 0010100011110010001001001011110011011101100111011100101111110111111101100010000011001111000101101001101001001100111011111101110000010101110110111011010111100111110000101100110101100000001011000101001101110010110111000111011001100100010110101001110110101110101011111110100010110101000010001100010101100111100010100001100101011111101100000110111100011001010110001011010110010101011100111010000110011101 1010110101000001001100110000111010101011010000000110000011101110111000101110101010101000001011110010010011010110111001000000000111010011011000001100101001111100110110011111100101101100001111001111101010011111001000111010001101101010010001111011001011100001011010010011111110011111111001101110101100011100110000001100100100100001010111111110101111110110010101001110001011100110110000110110101010010000 0100100010000100101101011010000101010110011100010110000100100110111001100001011111110111001000111101100011001100111110100000110011111100000101000111000001111111100011000000100101101100011011001110101000101001101111011000011100000000010000010011100101001110110010110010010111000111010010110101010011100000111000101111000000010100011001000001011000101111000111111000010110100001111100100000100010100101 0011010110011011110110100000110011110101011101001010010000010111000001110111100111000010001010110011011101010110011011110100000110001001111111000010100011100110011001100001000001010101111100011110011010101111000100001001001001111111010001111101001110001100011111101001110100101001001110000101111000000100000011010100101110010000001110011000111100001011100010011011011100001101010111000010011101111011 1111100101010001110001000011000011001111001010101110011110100111111011011001011000010000000001010010011100000010110101101100101111100110101011011000101111010011110101100000010101110100111000010010010011010100001001111100010100011100000001001100100110011011011110111010001010101100001001101001111110010000110000011010100101000110011010110010111100000011001000010001000100110110011101110101101010101011 0111110110010010110010000010111001001111101011010011110111111011011011011111111100110010110110000110100111100001100000011111010101111011111101111001001011100110010011001000011011001110111110110010101100100010001001011010011011110011011010101110110011111100100000011001010101111100110000001110011001001000000110011011000110010011100011101010110100101100111000010010010110000001000111111100010101001011 0010101110010101110010111111111101100100111000111011110101010010011001001100111000101000100011011100111100100101001111110011111111000110101010000100001011010110100100001111101011111111000000111011010111100010010001011000101010110011100100010000101110111011110000000100101100010101001110100110110001001001100111000111100111110100100101110000000110011100001100000111100010101110100101110001100101011100 0111101011011100111001100001001010111000001110101100111111011101010111110111111010010100011010010100001011111000010011010000001010100100101001100010100001011101011010100101110001111000000001010100100101100000111100010111101111001010000011001000010110110001101011001111000111001111001100011101000001100010011011000101000000001111110010110010001001010110111110011010011000110010110110110110110001011111 1110011011011101100010101110000111100001101001100011001111010011001101110110011001001000011111010101110010111011010001000011011100100110101101111001111011001010000011010110111000111000111110010010100001010010100110111100111111000110010111100000101100000111001011000100010011010000010111111101001100101110011000000000110101110001101111101000110110010110001100110010101001000010111011011110010010101000 1000101011001001010011110110110100001011101100011000100011110110011000110110101100011101000000011110000000111101111001101010000101010100101100111110111001011010001010010001111110111100001000100100110100011001110110100111010110110110100111000001010000101111001010111111001011111100100110100111100100110111100010000100111001001101100011110001011101100000000011111010111001001000101011111010010000001010 1000011100000001101010101100010011111100010011001000100100001010000000100001000111000010011000111011110100000010000000011110110101101001111011100010011010100100101010000100110001101000111101110100111000111000101110110001101001101111001011100100111011010101110101001111010101010010111000010000010101100110110100011000111011001101110100110010111010100001010011011000010011000011101111100100011000000011 0101100001100010110101000101000111011010001100010001000110100010110000011010100000011110000111111011011110001011000010001000000011110000100000011001001000100010011011011100101000101111101000110000110111000100111000110101110010010101000110011111111100110000001110010010010001011100001010100101001000001010110100011110101110011011010000111001000010001010000100100110000011010111011011000010100101111010 0000010000110000001111100101011101001111111001101001100011100001000110101000010100010010001101100110100101110000111111101101100001010101101100101101001011000010001000000100000110101010001000111001010101000101001001110000101010000011010000010110110001001001100011000110101101010001100010011010111111000001101010010100001011100111011100010000010011010100100011001111001111110111010101000010100110010111 0000011110100100001101011110110010011011100000110101101110010010111010001100101111111010011101101011011011011000111001100011111000101101110010011111011111000010010111110110010010100010101011001000100101100001011011111011010111111110010100010010010100011000011000011010010111011110011111000100010011101010000111000100100111100011001100010001100110100010101010000101110010010010111011000001111011011011 1100111101100111100011010111010101110001011110010000001001001000101101110100100011110011011111011000110011110111111111100000100110101110101010011100010010110001110000011011110001110001101111001001001010010110100010100011101100011000011101010100110001101111000000110001011001100011010001000000000001100001110001000101001011011001010001100100111011001000100110010010101110111111101010010110110110011011 0010011111000000011000010010101000011111100110110011101110001010011011110000100100110110011111111101011110100001001000000001010111110010111001101100001111101011010100010010100100001011000100111000110011111001100000000011000011111010010110110010011110100011011111000010001111110101111110011011000010010010101000111001000111000101110000000001101111011000111101011000111101101000011011011001100000111001 1010011100001110101010011001010101001101101011111100101101100011111001110100111111110001010101010000000011010001011101110000101010101000000100011111001000110111111010000101010101111001111000101111111100010011111110011011100101000100100100110111011100100100100010111111000101000011100100111000101000010110110000111110010101111101111110111110000101101100011001101000000000110100100001110000000100110110 0110101100011100011001111101010010100100011110001110010100101101111011011111110100010100110111000010101010110101100001000010010101001011010000001010100110110100010111110100110110111100010010111000010001111100000110010001111100011011101000001011101110111010110111110111100000011011001000110000100000011110110000100010101110101001101101110011100101011011110111010110010001110001001101100000000110111110 0000100010011110010111000101111001111110100100010000100010011010001100100101011000110110110011011011011100000111000000001111011010110001000110000000110000001000010101011011011000101011101111011010100110110101000100110001110101011101011111010101100000011100000111111110101111110100001010001110011111000000001100100011001100001011101000000001000100100010001001101001000111101111000001101001000101000010 1001011101101111100100101000011011001000010100100101001001000000001011110101001110111010000001000010011101011011011001001010001101101101101100101001101101100001110111101101011011100100110011010011100010000000101000101111111111011001001111010110110011100011101110100111001000111011111001101010111101011101101010101111001111111111010000011001011001101000101011010100001110110100000011110011110010110101 0100001001111000010011001101001101010000100000000000000110100110110000111001000101110001010011111100011011110111000011100001011000011011111011011000110101010001110100000101101010001100100001000110011110100000001001010001000001000001111000010101111100101111101110100111110101010100010000111001010011011101000000110011100010101000001111101011101010000001111111110101011101100101101101101110111100010101 0100011100100011000011000011101010111101100010111011110100000110001100011010001101011100100110000111010010000011100110111100011110110011111111001011100001101101101100011101110011011101111011110110011101110100100100100100010111011111110001010101101011110100000110100010000000001000010010110101010000000110110111100100010001011110110010101010101010011111000010101011111010100100010000011110011010101010 0111110011000010000000010110100111111010111000010110011011011101110010011000000111100110001001001010101111000100000101011010101000110110111000101100000111101000001101000110101111011101000010010011101110111101110110010111111110011000011001011111011000110010110100000111011110001010111100100011011010000011101111001001011110110011100100110000010101001101001110000110011010000101101110110111100011011010 1110001101001110001001000011110011100000111010101001101010110100111000101010111011101101101000011110001011010100111011011101000011100100111001001101110001100111110011010010101000010010100101111010001111010110000111101111110111010100110111101100011101110110011011101011110110100000100110100100011101111100010111110111100001100100011100110101011110110010101000011100011111101111000000111001101010000101 1011110110110100100100111010000001000111001010001010111000110110110011011110010010110101001100011111101100001100101011000000001110111011001100010001011011110010101011001101110111000110011000001000011101101011111110010010010001100111110011000010110111001101100011101001100001101010011010011010011011100101011111001101000110001011010011101000010011101000101010000111111010010100110111111011110010110101 1110100110000010100011010100000111100100100100111111111111000101000111000010111010011111010000101010011011101100000111000111101000010000010001001001001111010111000111110010000010000000110110111100011101001101000111111110011000111110110110111000000110110111101101010000010111111100110011001101111100011010111010000001001011110000000001111000010101011010101011101111110010011110011100001110110001010010 1101111100100011011000110111010011001100000011100000110010100011010101001000001100110000001101110010111101110011100001111011000101001010110010010100010101110000000001000101010011010001101000110010000110011001011100100101110101000010100001100000111001111011001001000000101000001110110001111011101111111111110111010111110001001010100110111110110100110010001110110000110011101010011101011000101001000100
cTraderプラグイン

通知プラグイン

1/31/2025

cTraderで何か起きたら通知したい

あけましておめでとうございます (今更)。

今年も本ブログはのんびり更新でいかせていただきます。

 

さて、ずっと迷走しています通知系ツール。以前こんなの出しました。

自分で言うのもなんですが、非常に手を出しにくいツールだったと思います。案の定、たいして使われてる形跡がありません。

なにがって、これ単体ではなんの意味もないっていうのがもうね。他のサインインジケーターと組み合わせてサインを受け取って通知するため専用のプラグインなので。

しかも対応するサインインジケーターもまだほとんどない状態。使ってる人いないからインジケーターも作られないので、余計使う人は増えないという負のループ。

そんなわけでちょっと作り直して、単体でも多少は意味あるツールにしてみました。名前もシンプルに変えちゃいました。よかったら使ってやってください。

 

NotifyPlugin

その名の通り、通知用プラグインです。

cTrader内でエントリーや決済があったり、トレンドラインに価格がタッチしたりといったときに、何種類かの方法で通知を送ることができます

上記SignalReceiverPluginをアップデートしただけなのですが、多少使い方やUIも変えてるので初出のつもりで説明します。

使い方

ダウンロードしてインストールすると、プラグインが有効化され下部パネルの右側にNotifyPluginタブが出現します。

   

最初から1つ表示されてると思うので、まずはNotify Targetのコンボボックスから通知を受け取りたいイベントを選択してください。(項目詳細については後述)

なにも表示されてない場合は緑色の+ボタンから通知を追加してください。

次に通知方法を選びます。

どちらも選択したうえでSetボタンを押すで通知が有効になります。

チャートや通貨ペアに紐づくターゲットの場合は現在選択されているチャートが対象になります。ラインタッチを通知させる場合はSetボタンを押すときに対象のラインを選択状態にしておく必要があります。

この緑色が有効な印です。この緑の部分を押すことで、有効/無効を切り替えることができます。

なお一度有効にしたらNotificationTargetを変更することはできません。変更したい場合は一度消して、新たに追加してください。(無効状態にすると右側に削除ボタンが出現します。)

左下に表示されている緑色の+ボタンで新たな通知を追加できますので、何種類でも好きに追加してください。

 

なにを通知ができるのか

今のところ下記5種類です。

ポジションのエントリーや決済 (Position Event)

ポジションのエントリーや決済をしたときに通知が飛びます。

単に音鳴らしたりメール送ったりといったことだけならcTrader標準設定でできるのでこれを使う必要はありません。

「メールじゃなくてメッセージボックス出してほしい」とか「利益と損失のときで通知音変えたい」とかちょっと変わったことしたいときにどうぞ。

2種類ありますが、(All Symbol)は全ポジションが対象。(Active Chart Symbol)の方はSetボタンを押したときに表示していたチャートの通貨ペアポジションのみが対象になります。

デフォルト状態ではエントリー、決済、ポジション修正すべてを通知しますが、SignalTypeを選ぶことで通知対象イベントを限定することができます。

少し前にこんな要望がありました。

【新規・利確・損切り】の時の音を別々に設定できたら最高です。

これもOpen, ProfitClose, LossCloseで別々の通知音を設定することで要望に近いことが可能です。

ただcTraderデフォルトの決済音は制御できないので (cTrader側の音消さない限り) 音声がかぶって鳴ってしまうのはどうしょうもないです。ご了承ください。

cTraderの音が不要ならcTrader側で音声を無効にしたうえでForce Soundという通知方法を使ってみてください。

 

マージンコール (Margin Level)

マージンレベルが指定値を下回った時に通知が飛びます。選択すると数値を入力するボックスがでてくるので、ここに好きな数値を入れてください。Signal Typeはありません。

これもcTrader標準設定でシンプルな通知はできますが、4つ以上設定したかったり、数値を自分で細かく設定したかったりなどのときにどうぞ。

一度通知を送ると自動的に無効になります。

#### 

ラインタッチ (Line Touch)

チャート上に描いたトレンドラインや水平線に価格がタッチしたら通知が飛びます。これが一番万人向けかつ実用的かと。

SignalTypeで「下からのタッチ」か「上からのタッチ」かどちらかに限定することもできます。

表示されているチャート上でラインを選択した状態で、通知をSetしてください。選択したラインが赤くなり、ラインと価格の位置関係を見張るようになります。

これも一度通知を送ると自動的に無効になりますので、もう一度有効化したい場合は再度Setを押してください。

 

アイコン設置 (Icon Placed)

チャート上の直近10本以内のローソク足近くにアイコンが置かれたら通知が飛びます。

「なんのための機能だよ」と思うかもしれませんが、主に自分でインジケータを作ったり手を加えたりする人用の機能です。

インジケーターで最後のローソク足の開始時間と始値でサイン出したいときはこんなコードを書いておきます。

            var icon = Chart.DrawIcon("icon_name", ChartIconType.UpArrow, Bars.LastBar.OpenTime, Bars.LastBar.Open, Color.Red);
            icon.IsInteractive = true;
            icon.IsLocked = true;

インジケーターがアイコンを置いた瞬間に通知が飛ぶので、自作インジケーターのサインを通知することができるというわけです。

注意点ですが、必ずIsIntaractive=trueを設定するようにしてください。これがデフォルトのfalseだとプラグイン側で検知できません。

また直近10本以内のローソク足の位置に置いたときのみが通知対象です。ずっと前のローソク足にサインを表示するようなインジケーターでは通知できませんのでご了承ください。

Setボタンを押したときに表示されていたチャートだけが通知の対象となります。

Signal Typeでアイコンの形ごとに通知を設定できます。

 

他の対応するサインインジケーターのサイン

SignalReceiverPluginの機能ももちろん残ってますので、すでに利用いただいてる方も乗り換え可能です。

LINEなどに表示されるメッセージは若干変わってしまってますが、ご容赦ください。

対応インジケーターについてはそのうちちゃんと整理します。

はじめましての方はいったんこの機能は気にしないでください。

 

可能な通知の種類

cTrader Sound

cTrader組み込みの音声を鳴らして通知します。cTrader側で音が鳴らない設定だと何も起きませんのでご注意ください

optionで音声の種類を選択します。

 

Custom Sound

PC内に保存した好きな音声ファイル(wavファイル)を再生して音声で通知します。cTrader側で音が鳴らない設定だと何も起きません

あらかじめ音声ファイルをマイドキュメントのcAlgo/Soundsという名前のフォルダの中に保存しておいてください。(フォルダがなければ作って下さい。)

このフォルダ内とWindows/Mediaフォルダ内の音声ファイルがoptionから選べるようになりますので、好きな音声を選択してください。

 

Force Sound

CustomSoundと同じなのですが、こちらはcTrader側の設定にかかわらず強制的に音を鳴らします。(PC自体の音声設定は影響します)

例えばポジションの決済音を変えたいときなどはcTraderの音が有効だとデフォルト音声とかぶってしまって不都合があると思います。

そんなときはcTraderの音声を切って、こちらの通知を使うことができます。cTraderの音声が全部不要ならば。

Optionで選択できる音声ファイルはCustom Sound同様です。

 

Message Box

cTraderのメッセージボックスで通知します。音だけじゃなくサインの内容を文章で表示させたい場合にどうぞ。

 

Line Notify (2025年3月で廃止)

LINE Notifyに登録をして、取得したトークンをセットしておくことでLINEで通知を受け取れます・・・が、LINE Notifyというサービス自体が2025年3月で廃止されるため、この機能も使えなくなります

もともとスマホ通知目当てで作ったので、これがなくなるとツール自体の意味があまりなくなってしまうのですが・・・今はまだ使えるので一応残しておきます。

3月までになんらかのスマホに通知可能な代わりの機能と差し替える予定です。

 

なお、本ツールではNotificationTargetの設定次第ではかなり高頻度に通知が発生してしまう可能性があります。LINE Notifyにあまり高頻度に通知させようとするとエラーが起きるため、ご注意ください

目安として動かしてみて1分以内に10通以上通知が来るようだと多すぎます。(そもそもそんなにたくさん通知確認できないでしょう・・・)

NotificationTargetとsignal typeを調整して、(多くても)1分数通以内に抑えてご利用ください

 

ダウンロード

初回起動時に権限アラートが出ますが、LINE通知やcTrader設定無視して音鳴らす設定に必要なため、承諾してご利用ください。

まだところどころおかしなところがあるかもしれません。

少なくともメッセージ内容は今後のアップデートでもちょくちょく修正入れます。

その他不便があったらできるだけ直しますので、その際はコメントお願いします。

 


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

新しいコメント

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

cTrader's Life

© 2025 ajinori