0011100011110010010011001110101111011110111000110100010010001100000101111001000111011001111011111000100100101110000111000100000001110100110010100110010011101011001001010111100010001111101101111000111011001100111010011000011000110001100010111100000001111101100111001000111111000101111100111110100001001001111011001100011010001101100001011000000110111101100101001001101110001011101011011110101011111010 1101011111010001011100001011010100000011001100010011110001111001100010100111000101001000011101010011110000011001111111110100101000000100111110101111010110101001000000010100110011110000011101011110100010001011011001010010101001000011111100100110100100011001101001010010010110010010101111100011010111100001010010001011100110001001011011001101110111100101011100100001101001100000000111100110100111001111 1001011110000100111111110000111011010010111000001110100111110100100010111011110110000100001111010000110101100001111100001000111100010011001010100011101001101110001010110110111011010010100101100111000100111000110010101010001010001111001101010110001101100011101101011010000101000110001011110000000100010010010010010010010101000011110001010100100110100010000111110010110111101101101100101000100101011010 0011100111111101100001010011000101101011100001101110011100110110010110000011011011001001110001010011001010001001110010111001001011001011111010101010010010100010101001110101100001011011101001110111000100110010010100110000010110110100001101010010001110010010101101101000101111111101001111100111101010010001101011110110010000010011000010111001011001101000110111010011101011001100011100000011001000110001 0000010011100010000101111000010010001111011110100000101010001111010100001001100011111111110010001110010101110100000010110110101101001110110100010111111101000100110100110101111100111100001001100011101101111110101000011110101100110111111000100010101001110011011110100100001111011111101110101000011001011100101111010001011100111001010011000011111010010011111111101111000101001000010110111011111011100100 1100111111000101001000110000100000001000111000111101010101011110101000110101010011001100010110010000011011001010001111011000101001010101110000011110001000110100011000101111001100000110101001000100010111011010101010010000110111101001000101100000000111001100001000111101001110000010100101100111001100000110010000001010010011001101001100100100011111001111001111010001000010101110000001110100100000111011 0101110110010011100001001011110010110001100110110010010001111010000010000110001111111110000010110001111111110110001110011111011001110111000100100010100110000110100001100000101100101100111001011010011000111101100011011100001000100000101110101111101111001111011100111111001100110011100101101100010000011000000110101101011110101010101001101110110110010101111010111111010110011101111100101010000110101100 1001111000001100110011011011110100101101010101000111110001111010000100101011110001111111100101101101101001000010000001011110100000000000101111000001000100110111010111110100100100101100010010110011111110110001001110000011001000001010111010111111101101111010101110010110101011010010111010101001100110001100110000011010100010110100010001010111001101101001101000100001100101011000100111011100101110001011 0010100000100110010111000101010001100110111001110011001100001011000100111010000100111110001111011111000101111001100101001010110100010101100110110001000100110011011111011101010101110110011100110001010000000010100011001111101100010100011000110011000010100010001001110110100101010000001010101001000100000111111010111010110001111010000101101000101110011110001100110101101000011000101111011010100111001010 0000111101000110010010011101000101000101110000001011111101101001011101110011011000000111001110110011000110101011100101001101001010010111111010010101100000100000001010111001001100100011100110011110011110001110101000001110100100110011000000101010100100101111111010011000111100010111110010101111101000011100000101100100011001000110100010000100011011001010100110111101010000010011001000000001001000010111 0011011011010101110010111100101111100010101111101010100111010000001011111000111100100010100000101110010011001111111111101000111001111010001110000000110110010101000101000110010010111111001100011100100000111111001100100100011110001110111000111110111011100111110100000000101110111111100111111111100010110000001101000100001011000001010100010000001110111110100010100101100100011010100101011110001101111011 1011101110011101101101100001001101111011011110110010101101000010000100001011000110101000101100011001101100000101101011011000100100100111101110000011001101101111111100101011001110000101000000101011101111001100000110000010111001010011010110011000010000000111001100110101100001010100010001000101110111110011010110000110110101100001010111001010101110101001011000111100011111000011001001110011010101111111 0110010101110001000110101101010100011110000001100010001101011110000011101001011101001100101101100001110110011100111100101011011101101011100010110100111111100101100000101110011010001101001001000010100111010000100100001110110100110010110101010110110011001101100000100011011010100010101011100010000111111110110110011001101000110000001100100100110011010101001100111101000000110010101100110111010000001000 0001111001100001010000011010110011100111000010000010110001010011010010100111111110100110100100001011000110010111011101000111111010010010110111001100111001111100001110111011011110110011111111111110000100010000101011110100100000011001100111111010110100111111110100011011110000001101001010010011100000101101010111100111101011010110111001001100011001111000011000100010011101101111010100100010000111100010 1001111110011101010100101111111011111000010110111010000111011010000111011111001100011000101000111101110100111111111010001001001011010101010011100111101011101000001010101010110100101000111101111100100110001100010001101111111100010001100011101010110100000000111001010011100100011101101000110101111101001011100100010111111111011010001011011110110100001000000110111011011110000001010001011101011101110001 1000101001101011110010100101010111100110110000010011111000010111101111001111000111101001111101110111100101110011111001100000111011101110100001111001000011011110001110000011011101011110100101001101101011101011010101110100101110010010100011100110011010001100000010000001100011110100000111010000100101101111000010111101010010010100101000000011000011101001111100110100100101110001001010100100110110111001 1001100011010011011100111000100111100110110000111101110001101111001010100110010101100000111100101100010001111111110110100011111101101111001101011111000001011100011000111111001001010011101111101000010101010000011010101011101000101000000011110010110100011001010010000000000001110110100011010011100100111101111100001010111101100111010000010010000110101111100011110011101001100001101001010110111111110111 0101100100010100110101101111111001111000100011001100110010100011010010111101100101011101111010111000100010110011100100111001001001110111100101000111101010000100101000111000001111011101001110100101000101110111011101111100000001111011000100000110000011010101100001110100111100110111000111101010010000110010011001001100111101000000011001110000001010101111101001111111110011100100101111100111101000101101 1101101110110111110100010000101100001110111100011111011110010001111100001100100111001001110111000010001100111001101000101100100010010000011011010001100111010100100111001110010101111111101101000100110110101001000001111110110010011001000011110101011111010111000011000011111000110001100000010101101011001011111010011011100001010001110010010110001010110001001111100011100110100011011101010001101010011110 0000101110111000011011110000010111100000010111101011100101011100000000110110011000101010100111100100000110111011101011010011010010011100111110100110010011001111001110000001101110101100011010010000000110110000111100101001011110110011110011001110011001000011011110011110111110010110000111110011011011011011010001000100010011100010001100011110000001010111100011000111101100110001011000110001000101010000 1100011001110110010100101100000010001001110000000101000001010100110101001111110000011100101001001111001000111101010100000010000111100110110000100001001001000001010111111011111111111011100000011110111101011000011100010100000011000111011011111100010111110001000111100011100000000010010111000100101001011100100010101101110011011111100101100011010110011001100101100000100011000001010110100000100110100110 1011011101101010000001010000100110000110100110011101101000011011111011110001000101101010010110010100111100100001011000000111010101111000011110100101101110011100111010110110010011010010010101101011110111001000011100101110000101111010000011001011001100101101100110101011101000001001110101100011111000111110011001000001100110011111000110001011100110110110010001001110110010010101001011100001101000110010 0001100110111100011001110100110100110001110000101100000111000101001111011110010011011101110101111110010101100111111010010010100100111110100110100000101000011011001001011101111011010101101101100011101100110000011010010011010110010110010111111001010100100101010011001010100000011001011001110100110110101110100110101100101100010011101110101110011001010001011100111001010010101101101110110111110110100110 1100011010000111110010001000100011010100111100100100011000000101011000110011000000100001011101111101110111111011001010110011010010101101111011110111010101110110000001000000001001011011101101101111100101010110111000111101101001000101011011000000111011100110100101010010000101101100010000101000011000110011110000011100001001010111001100101101111001110011111100111011110100001111000000100011010101000000 1010110101110101101011101000010010111100000010111001111011110111111100000101011111110011000100101011010101100111011110010101000101111010101101011010000011100101100010010111101000010101110001110111101111001101001001000101100001111010000101000010101000101010011011101001001110011110011101110110111011111111101111101010110011101011001110100101101110000011001100111100010110011000010010001111011100011110 0011001101010100100111101001010011011111100011001111010101001010000111111110110110111001111101101011010101101111100001110101100000010001111101000001010101000000000001110011111110101000101111110100000101100011011010110011011101000101100101001100011111000010100010110001111100001101110100111011010110101011000111010100010011101100100011101001010001000111001111000100111101110111111100110011101100101101 1011110001001110001110100000100110101101111000100000110010010001011001101000111100111011100101100101000010101110100010010001010100100101011101000100100101001101100010001001010111001000101010111111111000110010001000111010001010100010111100010011001100101001001111011011110110111110011101001101100000000000011000011101000110111010110100000011101011011010101000001001101101100010100011110111101001001000 0001111111001100010001101111011011010111000001010011011111001111101100000011000011001010001101101011100110001101001101011010000111100001000001000101111100110100001001111111100011110111110011000010000111001000100000010010011111100100000110110010010010110110111111100001100001010010001011100111000100100000101100001011011110011000110001100011101111101010100100100001100101001101111111011010111111001010 0110000010010110101011101101111011010001100101011011000010010110001110000111100100100011100010111101000111011010101010001010000000100010111010011001100100111111100011001000111000101111111110000010010010010100101000110011110101110111011011100000110110001101010001010111000010110101010011111101101001000110100101101100111010011011101001111010011000000000111000110110100101010111101111000100011101000110 1100110000110100001111011001100101001011011111010001011110101111011001010111000110011011001001111110011011010001100100110010100111101000011010000011100111100000001111100100100110010011100011010100011001000111111110100010010001100011100000000101110111101011011100010100101011101000001001000011010100100010101100101101011100001110010110101111100111010100011011100111111111000001001110101011110001011101 0011110110101011110011010010010110001110101100101110110010001001110010111101001100001010111001100101111010011001010110000001110101110111110110110100010111000111101000001011110100101111001000010011101101011010010011001101010110101111011100000111011101001010100000110100011010011000111000010101001110001100110001110101010001111000100000001010100110101011101101011011010101111000011010110010010000010110 0000101010000101111100100111100110100110000111101011110011011001111010000011100001101110110110000101010100011000000100000011110000001110101100111001101011101011010001100100011011011010101010101010011001000110101111110010000111010111011100000010110100100101111110110001101100110001000100010001100111010111101010001110110010000010000100011000111100010011101111001010010010111011010111000110101000110011 1110110000100000111001100010010001010110000001011100001101000110001011101000001100010110100101111111110011110100111111011001110000101010111111010110111010111101011011011111001011111010101001110110001011110001111100010111101110101101010011000110001110101000011110010001010000011100110100110110101110110000110001110000010011110111110101111110000110111011011110110010101011000000111001010001101000111101 1111001001000100100010011011001111000011000011100011000010101001110110010110100010110101100011100111101100000000010011001101010101010001111111001010011001100100000011001111000100101100110100110000100011010111111001111000110100100001101100010001101101111101011011101101000000100011101010110101110010011000000001111111101101010001101101101110101111010001010011100010000000110000111110000100010101010000 0101000110011110101100011111010110101100100010101011001000101010011110101000111101011111100111000001010111001100110001000101000001100000010001111001100010100011010010001011010111010010001001101000101000010011111110010001100001111111001101001010111011111111100010010101110000011000101001111000000000000100001001111101100011110010110100001000011010010001001011110111101111001110111111110111011100100010 0000001110110100110001000001101001011000110011110001100101110101101011011011011110111111110000100100101010010100011011011110001110010000010100110101000001000100011010000000111110001011010001111100000101010101111000101110010000100111010000001110100001111000000100011101001101001001001001001011011001100101100001110000111110111001010111110000110110101100000100011100011100011111111100100101001010111001 0111110101100011111001001010100101000100111001100001101100111110111010100110000000110100110010101100001110100010011000000111011010010011011100100011011110111110011100011110001000000011001111011010111110110110010011001101000111000001010000110000110110111000000010101110101100000011011010111010010011001001110011101111011011000000011101111000111011110011101011001000101001010100000011011111110100111110 0000001100111001101000000000001001011100000001001110011101011010001110000011001010101001001011110011001001110011001001111000110111110000110111011100010110111010000011111000101100001011011000001110101100000111101000111010101100011110110111000111100100001001110000110010100010010011010011000001100111111010001011000110001010101101110101000110001000101000101011010110101110011001011011111111110000110111 0001110110000011111011100110111111000000110000111000110011110000110100001111001010110101001000001001111100011011001110001101011010010010101110010100000000011010001110001011100111100011101101000111010011101101111100110110011100010100110110010111101100000111011001110110101001101111001000010000100100111110101000100010111010101101011000100011101001100010100011010010000111100110010000000001010000100111 0011111101101111001100000100100101101000101100101010001001101000110110000000101011000011110000110110011100110100010111011111011110001001111101101010001011010101110100010011111111011000110111111110001101011111001101110010001001110101010000010100001001001110011001111011010001010010101101011101011000100001101001100111011011001111011110101010000111010001010111111001111000100100110101001001101100000110 0111001110011101010000101101001011010011001110101001101100010000111110100000000100100101000110001000110101011111101110101010001011111010111011111111111100111001000100111111101101101000101010101001111101100010101101001001100101100110011000000101010101001010101010111101001000001100001101111111010100001010110101110010100010010010111110100110010001001010100011100101000000000000001100111000101110001011 1110011111110110001101100001111001011110100001011110110100101111010111010000000100011101110010001101011101001101111101100000011011100111110110110100011100110100010100101101101100101100111010011101101010110010010011010100000010111100011101010011111111000101011010000111100011101000111001001101000010101100100101110110110001110000000000100110001001011101011000001111011101011101010010001000111111101100 0110111111011101101110101010001011100010110001001100000001111010000100010001100111111111011010111111111011001110011101111010011010101100110000100011000100011101100100101110101000001100111111010101010011001010010111010000110110101111011111011101101111001001000010110101100011011001101110111011100111010000001001111111001011100010100011011011000101101011000111111100011001110010100001111110000110110011 0101111011101010010000110001011000000110000010101011110001000101111101100111101010001111001001100010110101001001000100111011010001000010110110001101100101111010101000000101101111011100101101010111000011010000101111111110010111111001111100011111001001011110010000010100110001001000001100111001110111011000001000100010111011000010111110110000100100001010100111101110101100110010100111001100110010110011 0111001100010000110101011100001100001010110011010011100001101110011111110011110001011100000100000001000111111101110010110110001010111010010101100001101100011011011000101110010001011101110110000001111010111010110001101000011000011111001010101101111110100000011110100001110000101000001010010001000001111111000000110010100011001001110100111110110010111010101111110101111010001111101110000101110010100000 0001000100001010101001001110001111101000001011110010000001011000000101011100100001001110000110110010100000111110000011001001001010111101001101110000011000110100100010110010001111111100010000000111110001001010011001001111110000010001010001010000010010000110001100000110100111100011011011011110011101100011101000110001101001000101110100101101100100100100011010101011000100001001111010111011011111110111 0111100010001011111111111110100110000001000110100110010011101111011000001110001111111001000101000100101000000001100010101000000110010010111110011110011101000100010101110001000110100011011111110100110001110011000010110100110110110000101100101101110111100011101110111010001000101001010111110001010100101110001010001101111110100100011001011010010101001111101111001001101010001000000011110011101100011011 1001101001101100101010111100110010110010101111111100101011111000111010111001001010101001100100000100101111111100111001101001101111011100010100100100110100001101001110101011001001100000111110001110010010101010010111010101010001100111101111100101110111100101100010010000110111111010100001010000110000011110011111101000001100100010010010011000101010110010110101110000101011001011100000110011010000111100 0110111001110000100110100011010100101001011000001111000101111010101011000110101001010011100111110101000100011100010010101110001111011111010000100000001001001000111010100010100110111100011110001010011010011100010101101011110100010000010100000001101100001010100100010001011111111001100100100000001101110011110010000000010011100011011001010101111011100101001010001101000000011100101011010100000101101111 1001101010001011011001010000101111000101000101100011110000111100100100011100000100110100101001001100010100111101110001000100101001001111100100001101110000100001100101101000111000101011000000011011110010000111010111011000000001101000000111001100011001110110101000010000101001011110111110101001000111110110001101011111010011010101010000111010011111101101011100010111010110101001000111111100010010000110 0011010111001000110011100000111110101110110111111011110011010101100111101001101011010000011100111101111111111111110010011101100101011100110110110110001110001001111101110101101110010001000110011110110011011111101001000101011110000010101000010011100010111111010101011100000010010100110100100000010001001000100000000001100100111110110000110000110011000000110010010000011011111001001001001111010010011111 0100010000001111101100111000001111001101011101010110000101011110100000110111000000111011111010011110110110110100111110000101111101110011000000001011111100011111000001111111100010100101100111100011111100101010100110100001101111011101000010110010001011100001110001111101001010101101101000100101101000010011111111010110010111101100101100110000000101110010111011111000011001011111111001001110101111000111 1101000010111000000001001100101111000110011101011010111000010011010100111101001010000111111011001011110010111111101011000111011100100110010110001001110111011100100001111000111111101111010010100101011001100110011010111110010011010000110110101000010111100110110101000010010010100001011001111110011011101111001001001111100110010001111000010010100001010110000011111101001000111101010101111010111100101001 1111101100011111000000111001110011100111101000000100000000101000010001010110010111000111001011111100110001100101100100101111011111000101010001110100000010011001000101010010101110100110011110101100000101111100001111111010011000001110000000111001011111000010011011010010011110001010111010011001111011110010100010000100111101011010001001110110001011001101010101100011001000100100000011001101001001011010 1010111001111101101000001111101000111111011000101110011111000101010101101000000010100011101010100000110011000000000010100001101001011111010110000011100111100000010010101101001011100010000101001011011110010110101101100110000101101111001000100011000100110111111001011000000101010001010011111001110110000000101100000100100010011111000010011010010111001100101110011110001110010100001111100110011000100010 1010100001011110110001001100000001110111010101011001101110100110100001100100011011000100000010110100001010011100111110001011000111111001111010110100101101100100001000100110010111100011010110100110000000100010010001110101011000001111111010111011110111101100001001001001110100011100000110001110000000010110011111101011011101110010100111110000011000010110000011000010001000011000101110011101010010110011 0001000010011010101010110001111110000011100001110001010000001001100110001000100110001000011101001001101011100100101110101010011011011110100100000001010011111101110100001000100100001100001010101001111001001000100101110101000110001111101110111110011001110110001010100101000110100111110100100010100010110000100001100100010000110100100111001101100000100100100010001001010001010101010100001110101010001000 1000111111100111001001001001000011010110001011100110111011110110010111110110001011001010001110000000000101011011001101010000001001111101110011011101110010001111011001110100000011111101101111111010011110111000111010100010000000101011011111110010011111011010011011100000010100110000110111010101101001010000111100100000000011110110001001000011000110000110111000001111111001011110110111001100110100101110 1001001101010001010000010101111011110000001011000000010001000001001001011101000101001010111000010000000101110111010010001011011000001100100110111001100000000010011100101100000111100111101010010000011011011100000111100111111010010010011110010011010111101101110100101011110011001110101100111011010100101010000111101110000011111100110001011000101110100110000000001101110111011111110111011000000110010011 1101110000000000001110011101010110000011111001001111001010111010101100001101011001000111000001011010001111010001110111011001100010011100010100011001001110111111100000010100011111100010010101011001111010100100111111100010001001111001001100111100101101111101011010011000111110111001100101110010001010010100000010110000101001111000010110010001100100000111010111110100101110110011000100111110000010000110 1101010111111011000011000001011111010111001100000001101010010010100101011011001110101010010001010000101001010100001000101100000111010110010100100100000110011100011101111100110100101010000100000001000101010001001111001100110010101110100111100000010011000100010000110111110000001010001110011110100010000101001100111000000011011011101010011011001000011100100111110111010000111101100011000101100100000000 1011011100111111100101101111100001000101001100111101011000010000100011010100011011101001011110011010011010011101101110111110101100111100001111101100001110001110011111101100111101010110001101110111100100000110011000111010111001100010110101111111011110101110001011111101000011100001111011110110100011111111100100010100011110111111000001110101111111011001100100010101110101000111010101111111101100110000 1001111001010010011001011110010110100110101101010101000001110100111001111000111010000010010010001101010110101011001111010100011000010111100000001011111001000100011101110000110100110100001111111010011010010000010010000110111101000111101000001101101111010011110011001111001011100100010100010011110001110100111001111101111111010000001100101100110011010110001010000110101100010000010111100110100010011011 1111110111100000101111010010010111110011001000011101010001100101110111011111100011010101000111011001001100010110100100000010011011100100101110010000110110101111011010101101111001000111110111001110000101111111011010011010011011000000011001100110111111110101101100101110010100001011010101000000111110000110000000111101111110110001110001000010110001011001111001011100001011111100111011111000011010001000 1000111100111000111100010111110100111001011010011000001010101011011001011101111001010011111111000010101001011011101101110101011000100001010111000110000001110111101011111010001010001011110000001011000010011011010101110111000101001001010001000110110000110100010100000110101011101011000100000111000010001110010010101100011111100001010100100101011111010010011111000011000000001000001011010101110110011001 1000010110111000010001000000001111000110010010000110101111001110010100111000000010101001000000111110110010100111001110000111000001101000001111100101110000100100111011010010101011010011011100010110010001100111001010110100100101111010101001111100001101111111001110010101001000111101001001001010111101001111000100010110100111111101011001011101111111110000001010001001011011000100110100000010010011110100 1101011010110001011001101111100010101010000111011111001110100111110001001000010010111011111010011100111110101110001100101111011011001101111110001000001110110111010100001001001011010110010101100110011101110110110001111010110011001010000001110100011000110010110001011111110011011001101101101010010011100110010010110101011001110110110011000010110010000010010101101101000011100100101110011011001001110110 0111100000111111110111110011001000101111110001110011000011110010011010001001001111010111111000010011000011001000000000101000011111110100000100100110000000001100111101110110000000010111010001001000001100011110110100000011111110111101100011101101100010001001110000010110111001101011010011111110010101010111101000001110110010010001110100111100010100001110000100010000101000000110100101101011011000000010 0110001110100011010010111111001110010100110111111110001001110011100111101100100000101111010111100100101010001010111111001000100001100000010110111011101001100000100001110011111010010100100111011111010001000000110110001001101000111011001010100011100000101001011001111110011110110001010101111111001011110000011111010011011010101000100010101000111100111010000001010111000011000011011000111101001110100000 0110111100111001010100100000101001010111111011100111111001001011110101011010110010101100111010100010110011011110000001101111111100111001101010011101000111000110100111111010000001111000000001011110101011010001110111111101000100010100000101110001100111011111101010100110101011010111101110100001100101101101000011010011110001110111110101000111010100001100001100001000011000110111110100111010101100011010 1001010110110001001001101011111100110110010001111010111110100010010000100101001011101100010011110100101001101001110101111100011000000010110101001010010111011001110110011111100000111101111100010011001010010011010110100100111101100110101110001111001111101100010001000100001110010000011101111110001000000111111000011001111000111000111000110110001010101001001011110001000011111110101111111011001000011110 0110100010001001001011100100100011111011101001010011000110100000111000010111010111101000000000101110100110100110101011010100101111010111111011100110000001011011000101011100101110011000001000010001110111100110000100000000011101011011011010001000101011010111100000110110111100101001010011000011000100100111110000010010100101111011110100100111110001011000010000001011001001000111001000010011111101111000 0101011101010100011011011000110101101011010001100111111101001011001011110110001001101111100000010110001001111111100010111000110110000001110111010110110110110010110000110100100110000011100001010010001010100000100010101010100001101111010100101000111001110100011001101001101111011001100110011101110100100010000100001010000001010000101011111100111101010001111011100010100111011001011110010011100000100110 0010100101001110011010010000010100011111101101110101111011001011110111101011100100111011001110000010001011111001000011110100011111001101010101111000110100011010010100100110000000010111101010001000000111100100101000100111000000111110101101011111010010111000011101110000100111011110100101110010001011100101111110111010100010101100001100110010000110111111000100101111111010000010100010111110000000011111 1011001111111000000010001100111010111000110110110101000011011010100100010100110001001001100011010100101011110101100001100110011000000101110101010001011111001001110001101111110110001110001001111000111101001110000110011110010100010100100011100101101010100100111110110110101011001011101010100010110000101110111110101010111101111111110110100110000011011000101011111001000010111011110110000011001000000100 1100011000111100001100000110111011011100100110000010001001011110100010001011010111101001110111111001000010001111000010110101000000101011000001001111010111101111001101011011010101001100000110100100001011001101111000101011100001110110011001110011000000011000100011000000111000001101001011110100010011110011000001010110110011010101010001110110110111010011101110000100100100000011101110001001011111111111 0010011011011010101011101001001011010010000010111010000001100101101000111111110110110111100001000011111001010110011110111010011000110000110101101000111110111100001110011100111100100110001110100111001110100100011100101011101011010010000001010000001010010101110100100100001111000101100110110110111011000000000101011001000111011111101011010010000100101110001110011101000101110011010000011001101111010001 0011011101100101111110101011111001101011010100110101110001111011000100000011101110100011010001110011001100110111010001111111011011011010011010100100111010010001100111100111101111110001100111101101100111011011001111000110111110100111100011110011011010111100001110110110100100101010000011010111100110011001010001011010000101011101100000001101011100101000111111011011001011100010111000110111001111001101 1011010001111011110011110011000011000011000110110111010011010000000010010001100100000101000111000110101011000101010101111001010110100111010011110101010111010011101000100110000001110010000101011110011111001000100011100000010110100000110000011011100101001000100111111000101010001010110001110111111011001110101011001100101100101100110001100101000100011000111010010110110111110110100001010010001000011000 0001101001110101000010101110011000010110101010001001001011000101100001000110111111001111101001010010100010110100000010100010101111000000111010100010101111001001101000100101000001011011011000010011011000000010010001000010110011100110111111110011000111110001000111010100110111100100001110111000100111011001101111100101011010011110100000011001100110111000101111010110100110110111000010001000101010101001 1001101000111011010101000101000001011010000101111110111101011000110010010010101111101110111101101111010110001000000001100010100110011000111101001110001111011010111110010000100010011101111111100011010010110101111001011100111011110001100111101000000010110000111011000110011100100001011111100000110101001011010111010110000011110100011001110010010100111011101000011100110111110111000000110011000011011001 1011110101100111001110110101011010001000110010001101000110100010101111000111000101001111100000110011101000101000110111011100001001110110011000000110101010110001100101111001110011001011110110001011000111101000001100101011010001101101100110011000010110101001000011101001111111111010011101110101101000101111001010111000001011001110100000110001101010101010010001010001011011000100010000001000010100000110 0100111101000100011111111010101101100111011111000001111001110111011101011010010010101010000110001100110101100110110101101100101110001010001100011011010010011111001100011101010111011110110101101011000001100110011101101111011101101000100110100001010110100101101010100010000100001110101010010000000100110110100111110100010010000111011001001111110100100010010000011010010010000111011000111000110010000111 0100011100111100101100100101011000100100000110111011011010101001011001000111111010001010011100001111001101110111000110101100111011100000010100101110011100010000001001010101111111100011001110101011110100011001111100111101011110011011001100101101100011101100101110100001111010101010010001001011010001111101111000110010001111010000101110000001010011010010110110001010101000010000010000111010001001001011 0001000110110011101100011101010110100110000010011000010000001110101100001001101010110000000101011111110111111011011011110001010001100100001110101111101101000111110101000011101001110011010001101110010111100010101010011101001111111000001101111110000110110001001001011011110010100011011110011100001101010100110000100101100001000100111100011111100001101001010001011111101100000101100101000011001010010001 1111000001010110101010110111100111111110111000010100101001000100000011011111101111000111011110011000110100101111010000101111111101111000100110110110110110001001100000110100011111010110101100100001011111000100100001111110111000011110011100101111101001001100111001111010110011010111100011111111001011000000011110100110001011111100100010011101100101001101111111101001011111001011111111000101110101111001 1001001111110101010111001000001101011111001010111001111000101010111010011011110011010010110101101110010111111011001011000111000101000110011100111110001100101111100101000101001110011011111010110100010010110100011100011000111110111011001010101011001110010101001000010001010011100111011110111100101010101101011001101110111010000110101100110000100111100001100011110100111101111000010101010111111001110111 0000111011011011000000001000101101001110111011100110011011000111100110110001011101000110000011010011000110000011100100011001001001000110010000100011001111010100100000101000110001010101010010110010111110001100100010101010011000110000000000011111001111000011011011001010100111100101011101001010110100011000101001000111010101100101001100101010000000100110010001110100001101111111101010110011001010000000 1000001000000000110001010011011100011110111000001011011011011001001010010111101010111111011100101011001110110100111010001110100010100000110111111001110001011000000110110010010001000011011110101001101011111110011010101001111011100000110101001000010100001101010110010111100111111000101011110101010010000100100101001000010110011101010001101000001011001000101000001110001100011111000011101010001001111011 0111010110010111100000001100101011010001000011001100011010010010000011110111000110110101011110111111000101111000000111100011000001001101100001001011001000000001010100101000100110110011001011010001101110010110011011101111001110100010111110001100100110010011101001110011110100000001011011101101100000100000110010100101110111000110110011000011111010100010010101110001100010100101111001001100101000011101 1110101110011110001000000111000000001110110000100000011001100110010010010101101101111101000011111001001101110110110100111010000001110010101001000110101001101100000000101101100000001110101000010101010000010000010111000001111101001001011010100100011111111000001110011010110111000001001011000101010010001110010101111010010110101111001100111110001101101100010100100111111001000010001111001110011010000100 0110011111110111001111001001110100010001111001111000111000110000111111101011111111111000001011111000110101000000110000000111100001001100001011111100101011000001101010011100110001101001100010011111001000111101100001001011101010100101001110000000101010100010000110010001110010110111100011111111110110100010010101110010101100000000110001011100110111111001011000010111110000101011011010001100010101100010 0001110110010101010010001000101100001000101011101001100001101100010000110111100011111001000100000101100010010111011100010101000010110011000100100111011011110101100011010110110010110101101100110101101001111101011100110111110000110111110011000011101010111101000011110101010111011001010111101011110100101110101111010111100001010101101001001000010000100111111001101011011111101101000011011110101101011110 0111110000011000111001110100001100111111000011110101101010110110010100010001010101100001100100110110011111100000100011110001010010001101000011010001000101110101011110011111101001011011110110111000000010110010010000000111001110011111110100100011011000101000110000000010100011111101100111000000001110110101101101001110100001100000011001110111110011010111101100100011010010101100110100010111111100010010 1010000100111100001111000000010001001111011001001101001010000000001010100101000101010010010100110010001101100111100101011100010001111001111011100101010000111000100010001011111101000100010111001001001011000010010001001001011111111111010111011011000101010101110101011111010010010010101001101011101001011100000100100000110111100110001011000011100101011110110000101010101011111011111100011000111101100011 0101100010011001110010011111101100010001010100110101101111000010000010001111000100010110001001011010110101011100110100111111110001110011000101010010100111101010110001101111000010011001111010000000100100110100101010111001000010011010000001111100000001001010010011101101101001010100101101010010000100001001011000111110101100110100011111001100101110001111011100101001010010001100011111101000111100011101 0011010000001001110000110010111000110101010110101000100011010111000011010110001001010001011110101111111011011101100001110100100100101111011100101110000111001010011100011000111011111111111100011011001010100110110100111000001001011011101100110010000100110000101000101100110111011110100011001111011011101000110100101111000001101001010100101110000011111010110010101010000100000000000010011001101010000000 1101100100000000100100011000110001100100111110101101011000000010111101111110001010101101110011111100001010111010000110011011100010001000100111001000011110001111110101111011011001100010010110011101110111101111101000000010000111001001011001101011100010101100111111011000001101100100011000000111010000000010101110110101011011100101111001000110011111110010010001010010111110100100001010111111101001100100 0101100110001100100100001011110101010111010011101011010000100001100000010110010111001001010011111110011101101011001111110001000000111010001111010110111001011101110001100100001001001000101110100110010100010101000010101111101100110110100100001000100000011111110000111110100100001000010100010001100100110100100101010000011000000010001010111110110010010011100100000111010111101001110100000001010111001110 1001001110010111010010001011010101000101110001100010010000001011101101011101110101101010111111000111111110000011101111000111101001111011110001000010000101110011000000100100101011110101100010111100111000011110100000110100000011110110001000001110010100001010001000011001001111110000000100011100011110000111011100011001100000111100101001001101110011100111010010100001000111000111110110111000010101011111
cTrader

【cTrader】エントリーしたら自動でナンピンさせる【cBot】

10/30/2021

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

ナンピンを使いこなしたい

ナンピンは危険?

ナンピン、知ってますよね。買ったあと、意に反して下がったら、追加で買って、購入平均価格を下げるというヤツです。

どちらかというと悪いイメージを持ってる方の方が多いかもしれません。確かにFXにおいて無計画なナンピンは明らかな悪手です。

「ここから戻れば利益2倍だぜ、ポチッ」「これだけ下がったからには上がるだろ、ポチッ」「いやいやこれ以上は落ちないわ、ポチッ」「さすがに底だろ、ポチッ」「今更引けるかぁぁぁ!ポチポチポチィィッ!!」

はい、ロスカットさん、こんにちは。

 

「無計画」が危険なだけ

これ、悪いのはナンピンじゃないですよね。ポジション保有中というフィルターがかかった状態で、気分次第でエントリーしてればそりゃ危険に決まってます。

よく知られた投資手法として「ドルコスト平均法」というのがありますが、あれだって見ようによってはナンピンです。計画されたナンピンなんです。(まぁドルコスト平均法はFX用じゃないですけど)

ナンピン自体は事前にしっかり計画して、その計画通りに行えれば決して悪いものではなく、むしろ強力な武器にだってなるはずなのです。

だけどいざ計画を立ててやってみようとしても、感情に振り回されて計画通りにできないのが我々弱き人間の辛いところ。

だったらcBotに任せちゃえばいいじゃない。

 

 

Nampiner

というわけで作りました。エントリーしたいときに起動すれば、初回エントリー+あとは自動でナンピンします

 

機能概要

パラメータとして、最大ナンピン回数、リスクリワード比(ナンピン幅とTPまでの距離の比)、1回あたりのエントリーボリュームを設定しておきます。

エントリーポイントでcBotを起動させ、マウスでナンピン幅を指定してクリックすると発注します。画像で見てもらう方がイメージ湧きやすいかもしれません。

ナンピン幅(ストップ側)をクリックで指定するので、現在価格より下をクリックで買い、上をクリックで売りという形になります。

緑の線がTPライン、赤の線が最終SLラインになります。赤の線にかかったら大負けを覚悟してください。

指値注文を出すわけではなく、cBot側で価格見てナンピンするため、cBotは起動しっぱなしにしておく必要があります。

なお、ナンピンポジションは一段上のラインまで到達すると利確するようになってます。あくまで最初のエントリー単価を下げることが目的なので。で、また同じポイントまで戻ると再度ナンピンします。

 

パラメータ

Count

最大ナンピン回数を指定します。

RiskRewardRatio

ナンピン幅と利確ラインまでの距離の比を指定します。いわゆるリスクリワードとはちょっと異なります。

UnitVolume

1回あたりのエントリーボリュームです。今のところ初回エントリーもナンピンもすべて同一ボリュームでしかエントリーできません。

 

ダウンロード

今はβ版扱いとしておきます。機能追加したいという気持ちの表れだと思ってください。

 

所感

実際に使ってみたところ、ナンピンというより「裁量要素を加えたグリッドトレード」をやってる感じになりました。

基本的にはエントリーしてからは利確ラインを狙うのですが、思惑に反して逆行して停滞したときはグリッドトレードっぽくなります。

利確ラインを見た目遠くに置いたとしても、ナンピンを使うからには損大利小のトレードになりがちですので、そこは認識しておく必要があります。

逆行した時はSLまでほっとかずに頃合いを見計らって決済したほうがよさそうですね。

遊び半分で作ってみたのですが、意外に面白い使い方ができそうな気がしてきてます。

いったん公開しますが、まだ機能追加する予定です。(と、ここに書いてやる気出す。)

 

追加予定機能

・平均エントリー価格ライン表示

・最大損失額表示

・段階ごとのエントリーボリューム調整

・ナンピンポイントの変更 などなど

他にもこんな機能あったらいいと思う!とかあればコメントください。検討します。


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

新しいコメント

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

cTrader's Life

© 2025 ajinori