1111110010110110000011001010000011111001001101011000111010101011011101111100100111000011001100000100100000110000000100110000001011100110001110110001001000110100011111101110111010101000001011101001011000100111001100101011000010010001011001001111010001010111100110011111100001111101111111010101110001101111001001011110000101101010000110000010111010101100111011001010001101011100010001101110000100110011 0010100001010111011110100010100111010111001000110011111011100000010100110000100001111010001010010010011101111110010011111101000100010110110010100001101101111001010100101001000100000001000111111100001100110101001111110111110101011110101100100111011011100100011001010010010010010000110110110110110011110110000000001100110010100010101010111010011001010111110010000100100011010111000101010000001110011111 0011110010111010010101010100001111101001100001001000000111111101010000101011101101010000011010001101101000011101010010101000000001000110001100000011011101010010101111100110110110011001110010100111010011010100110011111010000001000000100111000100101011011010000111011000011000100001000011100110101000011101110000011111011101000110001101111101010010001011101110001110010111101001100000011110011001010100 1010111001000110110110011111110100101111111111010010001001101010100011111011110100101001101111101001110001011001000110000001111000011101110000010100110110000011011011011100111101110000100010011010011101010100101010110010000000111001000100010000111001001111101011001110010101001101110001000001100110011010101011011100000101010101111110000110100110110100110000010101001101100110101111001010000111010010 1011100001110011100001110110011010011110111100011001100100011011011011101010001110111100011101110011110000000010111001011101110010101111000110111100000110101100101001011011100001011110011100100101111000011001101111010101111101011101010100001010000111011010100110110110010100011101001100001001101000000011100000110001100100011110111000001000011100110101011110111111010111010010111111011011111001101001 1100001011100010101100011001100011010011001010101110011011110011001111010011011100101101010000010111011111111100011000101001101101011010100101100000110100111110011101101000111110101111000101110001000110010101110011000110010101000100110100001101001010001101110010001000100111000001101011100001110001011111000011001101001001011100010011011100100111101100100001101111001100100111010111010101111100100001 0111011010110100000100001100000010001010101100111001101100111010000000000101010100100000011101001011110001100011011110101011110101111000001010000111011011100101011001111110111111100000001000001111100101101011111111001110011100110110001101100100010111111110010001001011001100000100110011111010000111010001011010111110001111000110001110100001101011011000101111011011001110001111001000111111110110100111 0001000101010111101111100110011100001111111010100000010001101111101000000011110101111100000010110110001100100001010011010011010000110101111001110000010000001010101111010010000011110100000100111000001010000010100111100111001100111000001110001111000101101111111100100111111100001000110101111010001110100011101111000100011101010000000110101011011000100100001111100101010011001001011110001111100001000010 1100111010011010101010001011011100101110001110001010110100101000001111010100100000111011110010111100110000100111011101000000001000110011110010111000011110011110010000000111111111100100001110000010000010100011010000110110011000001100000001100000101100000110011101111001111111001111011000110101010101100101001100111110010100111110011001001100101100001101101011101011010010110100111001011100001101101001 1101000000111011111001010100101101100100111110110111010010100110011111001000011011101110101100001010110000110010000110101000100111101111010010000011011010111101011010111110100000100011101100101010100111011000000001011110111101100011111110110011101101101111110011011001000111110000110001100110010100100101011000101111000010101000110010010011110101100100111011001110011001010010001001000001000001110001 0101110110111001101110101000011100110001010001000110110011111100010111001111001111010001001010010111011010011100000010010110011010011011100100110100011100011011010011000111011110000000010101011101010100000011000101010101010111111101111111000000011000111010000011111110010011100111100111110011001001000100110010111110111101010100001011111000100111011111111001100100111100100110010010011011000100111000 0000000001000101000010110111010011000000100010100100110101010011110001111000110110101000010100111110101010100110010001001001111110101110101110101010010000101111111111011001000011110100010100000011100001111001001010111111101000111100100010010111110010010111100011001011111110011000100000000100111101111011110100011100111010001000000000011001011111000010111100010100011000110011111110111101011100000001 1111010010010001011111100110101110101100001110101011001000011010011000001001000010010111000001110010100111010110000101011001100110011111110011111001110110000000110001101100011010110100011010100011010111110111011010110010001011100110101010000111011000011101000110111101011010111011101010101101110101111111011110101110010110110111100110101011111001011110111101000001111010001111101101000010000100111110 0100011000011000011010010101011110100100101101111111000000010100100101000100011100100010010111100011100101010011111000001100110000001001000100101101100110111010110111100111100101100110110101101111111000101110110001011110110010001000111111101100110111100111101000110011011101010011100010010001001110011011101101111101011001101011111110011001110110001000111010110001100001001010111000101110011110100101 0011010001001011011100010001110001000011010010000010000110111011010110000010110000010110011111001100001000000001100000111110001101100111110000011001000111100101100000011100010101011000111101111000101011010100010111111111011011010110001111011101100100001111000101111101101010111110111111000110001110111110001001011010110001100111011101111101010100010111001001101010101100101010011001110111100000001011 1000100100001110011101101001011010011101011001001100110000001000010001110011100011100010111110011101101011101101000000011001001010100000011001010111000100000001010010000101010111110000011011110101111001110010010110011001010111001010011100110101101001001111100100010101010011000001000011101100001111011101011011010111100100011001000111000101011000100100000111010100111001001000011010011110010010111100 1001111101001110010010000000010101110110011111001000001101100001000000011011100110111110011000111011101011011111001100110000011001001001011101111111000010011001101001100001110010000011101111111010100111110100011101011001110001110110001010000001010110000100111010010111001010101011001011101011110001010000110010110100000000110111100111001010101000111101001011011110101001110011001100110111001101110010 1111101101110011010110010111111010111011000011101100111101011010010101100000111010100101110010110011001110100100111100110110000010011011000110000000100011110111010010011100110111000011110111111101110001111010011010000101000111011100011010111101010101110110111011110011010001110001100011110000111101001000010111010000001110101101001111101001101011110100101000110000110101111000011111001101001011101001 0001010001100111000110100110000111010011011001100001100010001111101110111100000000100111110101010110110110100110110111010110111101100001110101101010101100101011011111000110011111011110010010010100100111010110111010101101010000101101011110000100101110100001010110000110101010011111000000011100111100010111111001100000111001010010110010000011110100010110111111000110110100110110000010110110100101110111 1001010011010011011101010100010001010101110011000001111100100000100111001100000100011001111001010111111010010001100011101100110010100011010001110001001100110011001101000100111110110001111110110010110010110111011110001011100011111110111110011010100101011010000110101011011110110101111001101111101011000101100110001000010100110111110010001100010011010110010101010011010101100000011110110000011111000010 1101000100001011100000001110010011010110001010010010111110000101001100111010101111010101001001101101111101010100000111010100111101000010000111100011111110000110110010011011011100011011001111000010100000010011111110000111010110010010000100000111100011110110110010100011110001001111100101100101101011000110011010000010000011001000001100011000100100101100101100110111110100011111001000011110011010111010 1000110100001001101001101010000001001011001101010110110111101000111001111100010101001110110010011011010000000111100001010101010010010110010101100010010011111000111100000001101110000110110111001110111110101011010100001110010011110101110011010000100111001001101100001111000101001111010010111010101011110110001000111010011001010111110000101010000000100100010110011110101000001101101010101101110010100001 1111111001001100101110101101000101010010110010011001111110000011100110100100011110100010110000110000001100011000010101111100111110000100110000010011111011100010011010111110000011011010101011001000001001111110100001010011101111010110000110000111011000100001111101110100101000011110100011101000110000101100110100111001010111000111110000101011100001111001010101101001011111001111000111101011101000100010 1010010000101010011001111000011001011101011101000011001000000011110010100001010010101111100001011100110010010101110010111010111010111000000010101111101001110110101100010010000110011000111011100110101101010010111100111100110110100000011100110011011100001011110011111001111110111110100100011001001101111101010111011110000000010110010111001001001111110001001010111010011110101000000100111100010001010110 0011001111001001001011101011011001111101101001001111100100000101111010000000001111100101101110000111000000100101101100110100000110110111100000110011011001110110110101100011110001111000010010111100011000110001010101001001101100111100011001010110011111100111001010111011000110111100010001101110011001000001110100100101010111000000010110111101111111011111010001010011101100110100101001101011111101111000 1101101101111001011100110110010011011010111001011110001111010001011110010010100111111001101010000001000011100100101001101101001111010010010101010100011101000100011110101011101101101110000101110110101011101011011111110000100010011111001011011011010011010111001001110111111100110101111001011101001111100101010101100000101101000010111100000001110110101101010001111110110101101100000001111011110011100011 1110000101100010110011001010100011000111001110001101000000110100000100001001101000101001110000111110000101101000001101000000101001010101101100000011000010001111101011011110111001011010101010100010111101100000100111101000010011101110000101101101010010010011110110010110000110100101100001101110011010000111000110001101010011110100001000100111011000001001111100001000110101010011011101000010010010101101 1111001101011010011011101100111111100000111011001110001000011011101001100110000010010100010001100000101110001111111100011010110000010111010000110011111111110100110001001011010110111001100000000010101000101001110000110110101001100100111000110000000110100101011010111011111111110110011111000100100011101011010000010100111101001010011110000110010111100000011111110000101100110101011000000100000100101011 0000000000001010111001011100010011101110010101100001100001011011100101010011000101110110111100100001100001000010011110101010000000010111001101100001001100001111000001100101010100101011000011100001011011100000110100000111001110101110111111100110001001100110010001101000011110001000111110000000110111111100100011101101111011111010000111100100110001100101110100000001011001011000010111100011001001100011 1000110001011010001001101010100100011100110011011011101100111001000111110100001101101000100110111101010011100100110010111000010101000001110111000011111100001000111000110011010110000010011111110100100010001100101001011000100111001111101110011001001100000001011100110011011110111000100111001101100110100011011110001110000111001000000001100100000101100011010001001000001111001111110010110001000001101011 1011011000110100000101001100001110011101001100000011010001010100010111100000000101110000010110101000000100110000110001011111010100111011001001111101000000011101010100011001110101101011100010000111010010110110000100110000011000011111111001101000111011100111111111100101100101000111011001000011100011101001100000101111011000000110111000001100010110101000111101111111011010111001010000000000111010001010 1000101001101101001110100011001111111111000111001100011011100000111000100100011010101101001101010000110110111101010011100110100101000001100111110000111100101110110100110011001001100001110011110110000100000010011110000010110110110001001101000010110011000000001111110001000000011001010101000001000000101101101010101100000000000011101011011110101000101001111111000011111001001101000100100000110110001111 1110011111111100001111011000001001100011101000100001011111110010110101111100101110110111101101101100000101001011111001011111011001001100100001110011111111101100011011011100111011011010001100100111100111100110101001001010100110101110010101010111011101100000101100101011001100101000000010110010010101011010100111101111011110100110010000101011101011110110011011100010011101001110110100000010011110100101 0001100010010001101001001111000010010011000110111000100110110001100010000011010000011111101001110000010111100110110001010110000110100010001101111110110011111111100101000011001001011011100110001010111001101010000100111000111101000010101111111110010010100001100110100010011010010101011110001111110101100010001101110000010111111011101101011011101101011111110100000010011011001110110011110101010101111000 0011010110101011111001111000001011001011110001101000000100101010100000111011010111011111010100000100111110101010011111000100101011010001111101101011100011001111010101001000000000011010111100011111101010110000111011101111001010001001100010010100110000011101111000111101010001110110010110111111011110110010010110111110100101011101100100000000101001001000101001001010110100100001111011110100001111100010 0111001010011000111110110001111001110010110100000010000010010100111101110100101110001011011100001100011000000011010101010101001110010010101111001100110100000111101100101010101000100001101011001110100110110110010010010110011001001001000010001010000110001011010000101011101011100100100101000010111101110110011000100010101011111010011100100000001011010010010000110001000110000011100111000001010111001011 1010101011011110010110111101000001010101100111111001011111001001000101111111111011000111101110001010110010010111100001100101011000011010110010000110100111110000111110001101111101101100001100000100100100100111111011001101111011101110010000101111100110000110010000110100001001100000110011111111100000101100001010101110101111110001100111101111000001111111111011111000000111110001000100110100001110001111 1100011001000000101100000101100100111110000001010100111000011011100000000001001111000101100001011111001000110101111010011011010000110110011100010100110100110101111000010100001001010100111011100111001101000110001101101110100011001001011000011100010011100001110001000101011101011000101111001010010011100010010111010010000011100001000101010100111100101011001011100101011101111011100110010100111111100011 1111101001111110111111010101010100001111100011000001000001101010100111000110101010010001101111010010111100010010001111111000100001010001010100010000100011100011010100100001110011101001010001011010111110110010000010000101110011010101110000011110100000110100100010100110110001011001100101001100110100000101110010001011010011110011111011000110000100100010001011100100001001011101101111000111000111101100 0011010011101111001011110101000001010110000000111010011011001011010011001011110100011010101010001101110010010110001010111101110000000111011000000000101100111110000100000001010100101011111111111001111110111011001001111110110000011001000100110110100000111101000111001001011101011011000001010100111011001111110100001111001000010110001100000100011010111011101100000011110001010111101110110111010011000001 1110100110001100101110000011000010110001110101101000100001111010101011010100011011110101001110100100110101110011011101100111011011110011100010001111011011111101001010000010001100101111010011011110100110011011011100110100110111101110010000110111111001000100000110110001100011111100100000011110001100001101000101011110111111101001010111100001111000000101011000111001000111100000100110011011101011110111 1000001010100110111000001011001010110010010011010010101101100111011100111100110011111011001010001010100000001111000000111100011101111111011001001011010011100010011110101111011011111110000111111110111111011101000010110011011100100010111111000010101001100100101010100001111001011010000001111010100000110001000001101010011001111101111001001001101000100110001001010111110000101011110000110110101101101110 0100100011100011110100010100000000011010000100011001000100110000111001001000100111011001101010100010101101010001011010001111110100010001101110011100111000101001011100011101010000010001101100001001110110010000000111010111111111011000110101001101111101100100110011011001111011100000101100011110011100010101001101010111111001000110100000011101001010101101101001110110111101001001101000001010111000110110 0000110100110000101011001000000001011000011101000111100010010100000111111000100000100100001110101000100101101000111000000101001101111001100110110000010001101100100100011111011100011000010010111000011000000110100010000111100100000101110111001100100001111101001000101100110111001011110110010111001100011101111111111001100001101001110001000010100101011010100100011100011110111000100000010101111001110010 0010010010011010011001001111110001101000001101011010100101010110110111100110111111000110010111101111101011100011000000011011101101001001011110101001111000010010001110010111111101101111010011100110101110101000001111111101110000011101010101100010101111110000011110101010011111111001001100100111111101011001101011111011001011011101000100010110011110011011011010010011110010111101100001011011111010000011 0000101101010110001011110010011101000010110010101101010110100111111010111101011100111000100011011011111101101011110111000011011110001010110101101001010011011000000011100011111011110111000010100000101000011011011000101001100010010001101100011100110101110011101100110101011000110001110000110010110011010010101011010110110001010000101011000111000000010111111010110100011011111001011000100100010001000011 1110010000011001010110010101100111010111011100010001000100000011011000111111011001011111100111011001101110101110001111101010001000110111101011111101000100101011111111010000010101111101001010011101010111110101001001110000011101011000100010000010001001011001011011010100000010111001101111001100110011010000001000011110010100000111110111110011110101001011001100010100110111010101110100110000111011100101 0011110011100111110010001001110101111110011111010011010010001110001101101010011000101001110011000110000001101000000111101001100001101110000001000001011101100100010111011100010000000010101101101010011100000010110110000011111001111010010001111001000011010001000100100111100110010010010101100100011000101001001010100110110011100000010011010110000000001000000001101100000001100011100010111011110010101100 0010001000010000111101000101001010110100100011101110011101011000111110000010001110111100001000101111000011001111011000001111010011010011001101000011111111110000100101011110010001001111100010010000010011011110001001110110000011000000101110110111011111010101100010011100100010101010000011101010000111000110011101101010010110111100001000101010110111000010001101110101001110010110011100100011101111001001 1100000010011110011111110100111011111000101011100101001011111111011101010111111011111010010110000110110110001100011100000000000001000111010111100110101000110100000010011111000110010100000101111101101101000111001010010100100001010010001000110000110000010111001000001010110111100001100111100000011110001000111100000111101001001101001101010000000000001011100010100011101101101011001101000100100000111101 1011101000000010111101101000100000111100100110010101000011010011110001000101001011000000000111110001000001011011101100000100101000110011110100101001011110100001111011111000001011111110111011010011011111100011001001010111010001001100111010101010010101000100101111011000000001100011100001111110000001101111100110011100110010111001001001011101100010110010100100100111000000101011000111111110110000001111 0001110111001010011100010001100011011010100011110010111010001100000000010001000100111100011100000111110100110000110011010100010001011000100000000001110110100100101000010101010011110101011011100111110101011100101110001011110100101010011001111101010000111101010000011000111110010100000100010011101001101000001001100001111101001110001111101000010001000011001101100011110011101111101111010000010101110001 1111000011101011000011101111111111111000011110110000001010101001111001100010101101110100100100001011110001000000101001010111011010010101101000010110000000001011001110100101010110101101110110011101011011101010110011001110101101011011000110001000110000011101010010101100001110110001010101001010101100101011100100110001011111100011101000110111110110101010000000111101110101100011101010001000011110110101 0110101110101101100110011001011010101000110100111011001010010111101110011111101010101111000100000000101011101001001000001011101101001101101001011010110000100110110111010111010001001100110001100011110100101101010110001111010100010010011010101100101011111110101111001101100101000101100001111111000111001001001010001111111011110101111001101101100011111110101100011010011011000110111101101101100010111011 0001011011110000001111101000101011001001011000010000100010111100110010010011001100010000111000011010010110000110110110011100101100100110011100011110010100101111010111101111001011111100000101000000010000111111110001111100010100010101101100110001001000011011101110101010010010010111110010001111010001110110010010000000110010011111000011111011100000000110011010101101110000100010111110000001111111010100 0011101100001000011001110110011100101111110101101010000111110011001110001000010110101011001100000010010100101101000011100000101001101010100011110101000010101111010110011011000010011101010001010010011101000010100111000101000111000010101110010001001010000011111011000100101011111011000010100000101010011111100001110010010110110010100010100110110111001011010000000011001100001010010110000101001000100111 0001000110010111001011100001001000101011001111000000000101111111011011110111110000000001101101100001101111110101111010111100101111111100100101101110010101000011011111111010000111111011000011001111110001110000001011010010000011010111101000110011001010000100111001010001001010001101111000010110000011011010011010010000100111011000110010010111110001110000010011100000010110101110010110100011110000111011 0001110111011010100101111100111111000010101010010000100010000011111100000001100111001101010010001011100010011101001001011000111001101101000111010011010010000110100101101101111001001001000100010101010100100001010000101100011111111010110101010011100111001110010011111011000011110011000000010010111100000011001111110010100101101000001000111111111010111111101100110011010101100110110111010001110100111011 1011001111100100100000011011110001010101100100101001011011010001111011010101100001110001111001011011101110010001111100111010010010111010011011001000001011111010101101100010011000100000010101011110101111001011010000000100000111111110011100110111010001001111010010100110011110101100000010010000001011110100101110100101100110100011110001000011011100100101011100100101010110111000001111100100101100100100 0101100000101100001000110001100101101011001001100111001011011111111010010110101011000111100111110010010010010101010011110011111110110100101011111010101001111000110100000010000000000000101001010011101001001000000101000100001001111010011100110010010010000110010001010010010111001010010110110100000101010001011011111100101010100111110100100100010110011111011010011010110101110000001010111011000010000010 1000101000000100010111011110110110010011000010100111000001111101000000101110010001011011001010111010010000101010101011100110110011100100000100001110101000111110011000001001000000011011110101101001101000100110001101110101110001001100101000011111010011100001010100010001010010010010101001101101010101101011011001010101010011010111110100000101001010001001011110111101000100001100101101100000101010111101 0010111100111111011011011101100101111001000110110011001001110011001011111011000011110000010110110100011000011111111001110100111000111100111010001100001111110101111000111000100111001110011000100110001110110010111101010110111000010110011100011111011010000100010000100110101010100010001011101111101110011110000001110101010101001110001011000100101001101110110000001110010011101100000010111011100110111100 0100101011110111010111101011101001110000111001100100011010001110001110011110110010011011000011001110011010111111000000100101100011100101011110011000010010001001101010001100101001100111011011100001001001000101100111110100011110000111101111000010001110111111001111001100000100001111111000111001110011110011101110100011001111101000011010101011000100110001000001011100011000111111101001111000111001000000 1111110010001000001010101111111110100111110011010011100000001100111010111100110111010110000101010000101001010101001110001011101101000000110100000000101101100010001001110110110100011101111100000011101111010010100000100001000101001101111011110001100101000000110101010000110000101110010010100000111011000011111010010010001110001100010001100010100010011110001111001001000010001010010011010100101010111000 0111101111011101101000111011001100001011010001111000011010010101111101010011000001001010010100010001111100000011011111101000000111000011110000100100100011001010011010010111110100100101000100001010110001011011011110100011110100101111101100010001100001000000111101101111000010011100101011110000110011001100011101000011100110101110101110100111101101011101010011000000100110010010100000100010100001010111 0011000100110010001010110010011101001010011001011101110000001111011010111011100010010001111011100000001101011101000010100101001111100001000001010110001111010101101101000000001011001110010111011110111001001100011011010000001110110011000101110101010011010001100011010101110111100010010101100000001110111111001011110110110000001101110000010001101011100011011011110111011001011010100100001100100010110000 1000100100110100011101010111011111111011101110110111100001111111011111110111001101111111001001101110000100001111010011101011101001100011001100100101001100011111000110000001010011111000100100110111111111011101101001110011011110111001010011011101011100100011011010100011000101100000000110010111000111100011110010001001010101000100001010010110000010001100101110000000001011110111110111001100000001110110 1111101111011001111111101111010001111100110010001101111101000111111001001010100110010000111101011000110111011111001011011000111100000010001111111100111001110000010001010100110100001001011001001101110111001100100110111111010111011101110011110011111110011011001100101010010100011110100011010101111011101111110101111010001101110000010000111000111000110100100101101011000010000010011001000101001110100101 1011011011101110100100010010010110100010111101110101000100110001001111110111000110100010011010101110100111101100000010010110101000100100111110000001110010000110001101100111110100110010101010011010101001111101111100011111011111010011110001011110100110101011001111000000111100010111101110011011101001111011010000010101100010001100101100111001011001100001000111010010111110000011110111111110100010110011 0111010100110110101101011101000001001100001001011100010101000101001011110110001011101000100010001110000001101110110010100111010001000100010001010000101001010000010110010000011111100101111011000000101000101100111111100111101010100110110011011001010110010011001100100100000000001110110100111101000100000000001001111001110001011001001000110110001000101011010010011000100010000110110010100110100001101111 1001001111111101010001010100000111001010001111111011001010101000110011111111100001010101110011001100001011110010110100100011010110011000001100111101110110111101101000010000110111101111011001100110111000101000100111011010100101011011011101110000011010101010001101110000000111001111100100000101101110101110100100001010101000101010100001010001001011101001101101011011100010011000001110110101010001010010 1111110000001001101000001110100110011001110111000011001001100101001110000000111011111111000110101000001011111010110111011110100010011000011100110101111000001011100011100100010001111100011000111100111011000110001101111011111111110011100101111011100011001011110111101010100010000101001111111110110010110110010001100001100110000011001100101000011010010011110011010110110011011100110100110011100001100111 1101110011100110000000100110100111010110101000001100010010011001001101111001011111001001111010111110101101111010101011010110011111111100010011110110100010101011100101010001010110100010110010110110110110010000101111011000011010001000101100110001011010111100100011110111100001100111000111000011001111111000001110001010011110011011001110010000110011101111000000111111100010110110110010010001000111111010 1011010100111011110101110001110100101110101000010001110100101100110011111001011110000100000100001110001010001110000101010100011001011111010011100100000111110101000101101101001011111011010101001010111110000110100100110011001110011000101010111101110111001011111100000110101110110001111010010011110010000000111000100101011110101111100111010001000001000000011010001101001001001110000101100100011100101101 1111000010111001000111011011111101110010110000000010010010100100011110101011110101000000010001011101000010010000110111100111001011000001010100101110111110100110010110101010110010100100110100010010110011000110000000000111111110101100101010111111001011110100111011010100000101100000110100111000011011010001000111011110010010110100101110010011100111101011101001100010010101000101011001110100010001001010 0111110110101001011001001110100111001010001110110011000010110100010111001111101100110011110101100000100011001101000100001000011000010101110110011101011111100000101011001011010110100111011001100111101100101100010011001010001000010011111010011001011100100010011001100100010111110110110111110111000110000000111101111001101011000101101010110111010000001010001000100011111010011000001110010000000101111100 1001101101101011110100010011001010111000011100110010110110100001001111011111111011100000010010010100001001101000110111101010110101001010001011100111110001110001000111000010010100010011001100110001011001010111000011100000101010101011010001100001110010110101011110010010111111111011001100000001000001001010101011011101101010010001110011111001001101011010001100110000011110111101100100111101001011001111 1000110000000101101010111101001100110111101100100111000011001001101000111100111010000011001000100011110001111001010111001110001000011111001101001010011011001100111111100100010010110110000100100010001011000111011010010011001011011100101110111011010110101110011000110001011001010011010011111101010110000111111101001010010101000011010011110110110000101100100001101100101100010000000011000111110001010000 0111101111001011000001000000011111110001101001100100000001100001000010101101111010100000010011100000110000110000110000111110010101101110001001100111011000000100010100111001110100111101000110001110110001110110110111001011001000111110010011011110011101101111000101001100000001001000101101001001001001000101000011011011001010000100010011100001000110110110011010110100101111010000100010101111101010010000 1001100011111100100111101111110010010011011011000011001000010011000001010000001111100000101000111111110001111110110010001101001011100000000010100100001000001001011011111000011010000001111111111101111000010111111101111000010111101111111100000010001111100110010101011110100001110010100001111111001000010010100000000111101011110010011001000111110100101000011100010111010101011000011111000110111011000111 1011000001001100110000001001110100011101100001001011000010001001011101101100011101000100000101010000101100110111001001000110001011010110001011100000011100000010010101110110000110000111001001001000010000101010010100000101110001000011001010011100011000011010100100010110111001110000010000010111010011111111011111011011000110010011111101001011100111101000011100110001001000111100010001100001010000000101 1010110000111100101111100001000010000000011001010110110001010011111011001010001111100110100010110110111000000110010101111001011011001101110101111111100001000110101110001101101001101001101000000100101100010110100111000000110110111001011011000110010011000111100111011010100111000011110101000111101000111001100110111011001000100000000001011001110110011110000110010001111001111100001111101101110011001000 1000110100111010110001100100000110000101111111001000111001101110010111010110011101010101111100001000110011101110111111110101011010110111011010001110111100010110000110010110000101110111100000110010011001000110001111011000000110110001000000010111000100001110001110000001101100011010111111000111010100101000001100101000110101100110001010111101111111000101001100101111011001000010101100001001100000110100 1101110011010010011100100111010000101000001111110100011000001100111110100101000101110110010110000110001011010111010000000101010101000110000001001100100010111101100001000010110111001101110111101111010001011010100111100111010100000110001101110110110110001001000100110111000010111001000001000011001001101110111101100011101001010110011111011110111011110010001111001010101110011010100110000101010010110110 0110111011001110000001100101110110011000011101000111000110011010111110100110101101011101111101001000100001011011100000000110001011110010100100001111101000101101011110000000110111101010100100100111001100111000001110001011110101010000111000110110000100011010110111011010100101001111100100101110110010110110010010000101100110001111001001110001010111001011101000111011100011010101100001011111000000011010 1011101000010100110001010101110111010101010101011101001101010111000001111000100011001111010000100101000011000000110100100111010010110000001000101100011101111110111000100111001110010101001001001110100001010101010000110110111101011101000111011001111000101001110010111101111110001101001100010100000111111100110110001011110101100111111110100000110110100110011011000001001011010000000101011100101000110011 0010101001110100010000101100100000100111001111111011110100000010000011101111101000110101011110111001100011000011001111000011101000111111011100001001110011100001110101011011110101101011011100011001001001011110001100001101000011011100101011011100100011111011100011001001111000100001100111011100100001000001101001000010010010110110010111001100000101110000101100011101111111010010100010001011100100011011 0111110011111101011110110101100000000010110110001101011101100111011010011111101111011001011101011101010010010000100100110011111001000111000111011110110011101110101010011101011110110111001110000100011101011001101111110101000111010000011001100011100110010011110110011011110001111000100001000010110101101111101001100010000010000011001111111000101001011010001011010000100010110110011000110100000111111011 1001111000110111001111001101100101100000100100100101010111010010101010001011001110000010111000011000010011111000001000100001000000011100000010111100100010101111111101010001010000001101011111100001110001100110111110101001110000100101000100111110111101101000001011101011011110110101111010001011110100101010011001011010001011100101011011000101100111011011011011010000111011100101011111100110001110010110 1110101011000100000111000001111010111010011100011001101110010111011100111011100100101001001011101100101000000000110101111011110000111011001010011011000010011111100011101010010000110100110110111110100010111110111111110001111111101000101011001110100111101001111011001000100101100011110111101010111001000011111010101101011111001011011110001010011011100111110001111100000000001010111101100010001111101110 0000001100010010011110000011100110001100111110110111011001011000000101110101001111011011110001001101010011011011111000110001111010111101110001001110000111011001110101010000010110000011100001101110011001100000110011010011100101000000111000111110100001111111010110111011010010001010111111101011100010101011100110111101101001010111001001110110111010101100110100011111110000011101111110000111000000010101 0011111100011100111100101001010000100001010011110011110101110001011101010011110101011001010111010111101101110100101000011010010101101111000100001000001010111101111110011101001101110001000000010101010010100100011010100111111001010010101100001001111100110011011110110111010111011111100011111100111010010000001001111011000011110000001000010010001110101011110011100011101010101111000011100010101001001001 1011110010101011111101100011010001111000101010110100100000110100111011100110111011001000110100010110001110110101000001111011101110111110100000111101000011010011111010111111111010000010001111100110000010110000100000001111000010000110011100001100111001000011100000011001010110100100101100011101111100000010111101010110010100011011000100000000000111100100101001011101100001001011111010111111011001010001 0110100001010100100000011101001111000111101111000111111000100111110001010101100011110011010100001100011111000010000000010110010110101100101010101100111100101110111101100101010000100100000010010111111010010100001101110101010110000110011100010011101101110010001011011101011011100011011101110110110001001111010001111110001010101111011110100101101100000110100101001100011010101101100110111011100010000111 0110100110010010010101001000110111100100010110000111011111010100100101110000111101100001101001110100000111100000010110111011100100110111101110111110101111000110001110110011100110001111100010110111001101100100001111010010010101001011111010000111111001111110110001001111010001101111001010100101110111000110011111001101100001000111011010011001011001110001011111111001101100001101010000111110100001010000 0100010010011010000101110111111001111000100101100100101001011011111101100010010000110000001010110111011001010101000101001010011010111111101111000111110100100111010010011100110111111100100000111111110011110010011010001110001111001110011101011101011101000001001110000110000011101101110100010001001101101101011111101010110011001010001000111110001100010101011100101011100011011000000001110100010111100001 1001111001011000111100011000010010111010010111011001011000100100000001010100001111100110111010110011100111010110111111101010100000011110101100000001001101100110011011101010010110100000000110011001011011011100010110000011000111011111101101111110111001100011011111101101010111000111011000000111001110110101001100010000001011110111010011010010101011101010011010001100001111001010100000101111100100100001 1000000110110010111001011101100011001111110101011011100011010001000100110100111100111101000110001001110111010010010000111011011101101010000100101100000111011110010100101101010001111101001001000100100000011101000100010010011101000000010100001011000100001001100000110010011110100010010010001110011010110000100001010001001111001100101010101100000001101000110111101110101000101110000101110000000100000100 1000110001010010001100111011011010100110011111000110001101111001010100101010100111111010001111001000010111001111100001100100101000111110111001101010001010010010100010000010100100011110101100000011010101110100011101111111011101000111000101111011110011000011101011100100011010101100010011100011111010111011010011110110001101001001111100110010111110011011010011110010001001011100000101001100010000110111 1001111101101011111111000011010111011110000011010011101111001100001000100111011010110101001000111001110101100110001110001010101100011001010111010011000001010100101110110011010111001101001000010010110011110111010000011010110000010111110111110011000010100001001011101110110100101001000110110101011111001111000000001001111101000000010011010000110011010001111010000001100101001111100001000100010110100101
cTrader AlgocTrader

【cTrader】一度利益が出たら負けは認めない【Tools】

3/11/2021 11/17/2021

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

損失回避!

せっかくポジションが含み益抱えたと思ったのに、気づいたら反転して負けてたなんて悔しい思い、FXトレーダーなら誰もが一度は味わったことあるのではないでしょうか。

一度利益が出たポジション、反転負けだけは避けたいですよね。でも、利益はできる限り伸ばしたい。そんなときによく使われるのが「とりあえずストップロスをエントリー価格まで動かしておく」という手法です。

こうしておけば、仮に反転しそうになっても最悪±0でトレードを終えられるわけです。「建値決済」とか「ブレイクイーブン」とか呼ばれたりしてます。

 

「建値決済」って有効なの?

実はajinori個人的にはこのやり方あまり好きではないのです。いやだって、相場からしたらajinoriがいくらでエントリーしたかなんて関係ないわけじゃないですか、「建値」なんていうなんの根拠もない場所にストップロスを動かすことに疑問を覚えるのです。

しかし、Twitterとか見てると結構有名なトレーダーさんとかでも「建値決済」やってるんですよね。これはもしかしたら私が建値決済の本当の威力をわかっていないだけなのかもしれません。

少なくとも心理的にはだいぶ楽になるとは思いますし、いつか突然建値決済したくなる時が来ないとも限らないので、とりあえずcBot作っておくことにしました。

 

実はcTraderでは設定だけでできる

cBotなんて使わなくてもcTraderでは「建値決済」の設定ができるんです。Position横のの盾のマークをクリックすると利確と損切を細かく設定できます。

ただ、毎回毎回この設定するのも面倒でしょうから、いつも使うならcBot化しておくことをお勧めします。

今回作ったcBotはこのAdvanced Stop Lossとほぼ同じ機能です。

 

Advanced StopLoss

機能概要

一定以上利益が出たらエントリー価格にストップロスを移動します。建値より数Pips上にSLを移動、という設定も可能です。

管理しにくいのであまりお勧めはしませんが、どっかのチャートに一つだけ動かしておけば、他通貨ペアも含めたすべてのポジションを見張ることも可能です。

ついでにこのcBotを起動させてるChart限定にはなりますが、Trigger位置をラインで表示し、自由に動かせる機能も付けときました。

当然ですが、cBotなのでcTraderを起動していないと機能しません。(ちなみにcTraderの機能で設定してもこれは同じです。)

 

パラメータ

Trigger when gaining pips

含み益がここまで来たらストップロスを移動します。手数料も考慮します。例えば10pipsと指定したとすると10+手数料分pips利益が乗ったら移動します。

Add pips

最低確保したい利益をPipsで指定します。手数料も考慮しますので0にしておけばほぼ±0で終われるはずです。(端数分はずれるかも)

All Symbol Target

Yesであればすべての通貨ペアのポジションで同じように建値移動させます。デフォルトはNoです。Pips感覚が異なるゴールドやインデックスなどのシンボルをトレードする方は必ずNoでご利用ください

 

ダウンロード

こちらからどうぞ。ダウンロード後、ダブルクリックでcTraderにインストールしてください。

ソースコードもつけておくので、好きなように手直しして使ってくれても構いません。おかしなとこあったら直しておいてください。(投げやり)

(2021/11/17 ソースコードが見れないとのことだったため、ファイル名変更して更新)

 

ご意見お待ちしてます

建値決済を使いこなしてるわけではないので、使ってる方からしたら物足りないツールかもしれません。

使いこなしてる方から見て「ここはこうしないと意味ないんだよ!バカヤロー!!」みたいな意見がありましたらコメントください。

あ、オブラートに包んでお願いしますね。

 


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

新しいコメント

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

cTrader's Life

© 2025 ajinori