1011100000010100101001000000111011100010110010110010111011001101111011100111110110100101111001011110000011100001010110001111100100101100100101100110011101111111011111100110111110010011000011111011001100101000000110110110110011110000101101111100111100111010110010001000010101010111100111111010011111110011001011010111111011110010001100100110011111101111001100011111000101101110101000100110111110111110 1001001101010000000010111101001100001110100000010010110111111010000101001000001100101111000000101110011110111101101011111110100111111111110110100011000001001100101010100000110010001001111110100111101111011010000100110100100110000100100001000101011111011010111010100110000011010101110001001000000111111110001101111100100010001011111010010100111011011111111111010101011101000001000100001000110110111010 1000100110111001010110000111001011111010100100001110110010101111000110010001010000011000110111000110001111110000011101101010100000010100101010010110000000111111000000110010011010111011000100011011100111010011000011010101001100011100011111111010000010001100100001000111111111101111111011110111100101111001010101101100011011000111000111010111010110001110110010111000010110010111000110100000101100110110 0011011000011000100101000011111100001010101010100010110110001010111101000111110111100010111011100000001110001110101100111111110101101000000001111100011000011011111011000100100010101000010101001100000010011000111011001110000000100000111010110001100100110111100100110001100101101011010001110010010100100011000101010110110101111110100010100000001010111011011010111000101001010001110001011101111001010000 0010110111100001000100101110001011110111101110110101010110110011000110110110000010011000010101011111011001001010010111100010000010001111101110001110101001101110100011110110010100010000010001100110000100000011000110100011011011101110011110101100111001101101001110011110110110011100000101110101010111011010101010111000100000001001010111111010111001011101010001010110100110000010010100001001111000000111 1110011111000101111000101011000001010001100101100111011110010001110010110000111011010001110101010001111001111100001110001011110000010000010001011011101111011011111110111101101111011111100000001010001001111001101000011100111111001011111001001001001001111011011011101010100001111011100010110101101011001110000000110000011111000011001111100010110100111010011101001001011101011001110100101111001010000011 1100100000111010111111001011101100110111101101111000000001100100001000000010101001010111001111101101011010100101000110100101101100100100110111001101001001001011010001011011001000000111111000011000000110000010111011011010001100001100110101101000110111101100101101000010111110110000110001110101100110111110110010111000100010001011111111101000100011011010110010001110110111111101001100110000010001100010 1001100011001011001000001001111001101011001011000101110011100110100100101010011110000101101101101001101111100011000011000111111110011110101111010011010111000011000000011001111101100110000101110000001000000010011101000101111000101100101100001100100000110010111101001011001101011100101101011101101110111110110000110001100101000110001000010000011100000010100001110111011111111011111100100010111011110011 1001011101000111111111101001000101000000111100100000001100110111000110100101010011010000110011101100000001101100011011110110111001001110100111101011010000001100110000010111011100011111011101000110001111110011110000001000000111100010001110011001011101101111010101010101011101101000010011101111010101111111010101111111110100110001100000001000010001000011100010001011110000100011010100100010111011000111 1010010011111011110110111001010001011011111010100111100011100101011011111101001001000110100110011000011001011111111011111110110010001110001111011100011111110000101000110011101000100110111011111111010100010101110110101111100010000010101100110111001101100111001111000110011001101001010001010100111110100111011011100110001111101000000111000001000111010110100001010000001110000111000011100001001010100111 1001110110011110111101111101010010010100101101100001010101100010111010010110110011111111000111110110111110100101111011110000100101110011100011100001111110101110100101101110110011010101011100000000010101000011000011010011000101010011110000111010000110000010000110001000011111111010000000101100111101000111011100101111001111111101101011010100001010000110101010100000000101011000011101111101001101010010 1000011000100010100101110100100010011100110000101111111110100001000001001110101001101100001000110010101010001100100110011010000111011101111110111110010000101011100101010111010000010100011010000000110000101011000110010011101100010011100111011010100010011111101110011010001000001011011100001111000100101000110110101000001011101111011000111000110101111010000100110111001001010110010011010001100001001110 0100001101110100110000100010100110111011100110110100001111010111010001111100000010111101110001110001101101110010100000000101100001101001100111101101010001010001100010010111001110111111001001111001111101110100011110110100001010001110100001001110001100101110101101111010100100001111100110000110100100110111100010000100110000011001010101110011000100010111100011010100100100101011000100111110010000111110 1001110100101010001111000001010001110110110011101010111111001101100011000011111110001111010010110110011000000100110000100001010001111101110000111110011010101110011000000101101011100101010101101101011010100000000011110110010001001010111010110010100001110000010011001001001011001101011100010000001100001100010010110011011000011011010000000110101111010010110111001001100111001100001000100101100011101011 0100111111101000001100100001111000010100001001110000100111110110001001110010111010000011000001001011001000110111111111011100101101011011000100001000011011000011100100111111110111111010010011100101011101111001011011111010010011001101000111000110011001000110000100101001100010101010101001000110010001100101000000101010011100100101011000101101111011111010000011110111110010101101011110001100001001000010 1000001100100000100010001011010001110010010101001000101010110001001100100000101110010010000011111100100010000110100110110100100011011000110101101001111000100010101110101000010010111110100101101110110100101000101000011100001011101000101010110100011010011010011111000000100111110011100100010111111001100111111110100011010001000001100001101001010000101111111101011001110111001111100001001111011111111100 1111101001011010101111110010011011111000000110100100001000101000011101011101110111100100001001000101101000001010101010000111111011110000011010100101100000101011001011111100001101110101110010111000010000000000111010011100111001010111101110100000001011111010111110010011101011100011111000110000100010110101000101000100100000110111111100101100001101011101101100101001010000100110101110000000100011110010 1111001010001001110110111100111110110100101100101010000100110100000000001010010001111101100000000000100100110001110110011011100111100110001011100100111100101110011101000011010110110101110011000010011000011101010011010110111110011100110011001010111100110110000101001110011010011001101111111001110110100001011001010111000101111100100110111110101110000111101111000001000110101001011111001000001100111111 0010110011111011110101001011000001010001111011010110100000001011111000011110111011011111110000000000101010010001001010011011011000111111000011110010111111100110000010001110100101110101011000110001111111000110110001001000011001000011111110001000101111100011001111110110010110101100001011110101010110011111001101101000001000011100100010001011100100011100111000011010101010111001001110110010000000001011 1001001011101011100001100100111110010011001011111000101101001100000110010010001111001010100010010100010111110000011000010011101011100011011010010100001001100010100110000000000110000010010110000111000011001011110000011101011010001110101101000010001001111001111001101101100011110100110011101110110000100010010000101011000110000110100111110000111111001010100100001110110110010111110010000011101000111010 1100111101001100010000001010100000101100110001001011111100110101111100100111101100000011001101011111001000010011000100010011110111111001101011011010010110010000101000101001110001110010011010100001100110000011001011010001100101100110011010111111100111100001100101111110110001100000010011010100111110101111010110010011101111010110001100111110000110111000010100111000111011001010110110111100100000000011 0111111001100010101101100010001100101111011011010110110101001000011011010101000111100000101111110000000100110101111101111101100100011010000101111100100100011100111011110010011000110010101010011011001000101101100011011101010000001010011101101111100011001011011001010010101010101010110010011111100101001000101011001011011010100000011010010101101000001101000110100111001101101100101011110100010100011000 0111100010110010101110000101101100110001001011001011000011111000001011011010001101110101000010111011000000011000011101010000001110001111000111110001010101100101010111011110111000111011110001010010110001011010110111100010110111000111101000110111001011100000111011001111000000001101100100101010101101001010011000110101000000011101100010111010011100111101010111100100010001111011101110110000000110101111 0010011011100110011011110101001110110001000000100011111010101100010100100011110001101000101111110001001101101010011110100100110000111001110010001111111011110000111000100111110111100101010000010110000010110001101000100010001000011100100010011000010100111110010000011011001000001110000110110111001011100011111000100100001110100110111011110000111011101001110100010100111010111001010011101011111001011101 1001110101100000000001111010100001000100101110000110101100110111100010011001111000110000110110000000110001100101000101011011010010001110101111001011110110001111111000001001111100011010000011011100010011001000010010100011111011011110110001110110000011100111100000010000010110001100111100110101010111100101110010111010000110101101010000110000110011000010001010101110010010100001110010000101111000110101 1011000011001110000001110100101110010111010001010000000011100011001001011101010011111100101110001011001001001011010010110011011100000001100111101100001011011101110000100101100100100111000010000001010011000100110111000101001110011011111101001100101111100111110000111011010011010001010000111110011110110001001101000111111001111010010100111010110100110010011100000100111100111011011011010101101100011011 0001101001111000101000000110100000000101111101010000100110001110000011011110000011001010001100110111011100100101011111111001011110000010001111001001100000111011000110011111111110010110001110010111101111010010100000100111111000100010000101010010101010010110010000000100101101000000100100000000010100110110010010010000110100001111001000011010011100101110000110101111110111101101100111110011100001110000 0101000010101011011011000101101101110000011100001001100011101010110001111100110001001000101110111001011101010111000010000111111000100101101010000111000111110111110100000101010101100001010000010010001101010110000000101101011101011010011110101000001101000001011101001010000010010100000010101101100110111101000011100110110010011000001110100100100011100100100000011001010011010001100110111100110011110001 0110001110100000100110110110010001000000100100000011101110110011100110101100111001011000001011100101001100000001111010111010111010110110011111010011111010110010001101010101110000010100111011011010100101110100001001000010100011001111011110011101111011110111101010011100011011100010000001101010010001011111101110100011100011100100001101101001001001111010001110011010110010110101001100100100111101010101 0010000110110011100111010010101100100000010011001110010010101111010010000010001101111001100010110001010110000000011100111101000100101101000000000001000001101110101001001011110011100011111001001010100001011100010000110000001110010000010001010001101011011001100000000001010001000010001101101110010110010000101101000110011000100011100011110101010111101000111111000110101110111011101110010100110110111110 1001011101010000000011111010101010111000101011111111100100010011000000111101110011011101110011101100100111100110000010001110100000000100001001101101101111011000111011101111101101010000010101010010111010100011110110111101100001101000111010111101011000010111100001100000011001111001011010110110100000100101100000111110001011010110010000111010000100110100001001000011001100101100001001000110000110000011 1111101100110010100111011101101001111100001111101101001101000000011010111010000001001001011010100000100001101101101000101000010010001110011110101100101011000000101001001101101011111110001001110010111110101101110010001100100100100110000001001101000010010100111010100111010101100101111010000000010001101000111010101101100110100111100010110010111000111010011001100111010100010101100101011000111100000110 0100011100001111001001011010110010010000011111110010000101100100011100000100010010011110110000001111111000010111010011011010100010110101111100101010101111010110101111010111111111000100010011011101010100011001101101000010110011001010110011010110000111111111011101111001000111110001110010000001111000001011010101101110011011001101111001110111111101111111100100000001011010001000010011101100001101001011 1111111010100000110100101100111100001100100010110010111010100101010100011100011111010100100010010100101000011001000110011110001001001010001101010111000010001001100111100011000001110100100000001100001101000000101110110101001000100011000001101000000100111000000001001110010011001010011111000100010000000010001111110000011100000110100011000110111110011110011011010000100110110001100011110100111100001010 1101111001000110001000001101000010101011110010011100111111110101000111101010011110010001000100001111000000001101101110001011010010100001010100010000001110000001000100001001100001100100100001111111011000011011111100101000110101110001101000010001011100100010111011100111011111111111110001100100100101011011010101001010111000010111010111011010100100000100010010011000101110110010001001001111001000000111 0101001101011101000100001010111110100100110100011011000100101111111011010010101110011110100111010111101100011101000100100110001100111001011111111000101010100001111000101010100110111011010101001111010001100111100010101010001001101000011100001010111111001011001101011111110001000000111001100010110100110101011101111011101011001001001001010110110111001000011000011001011101000000110101010000110011100101 0000111010010100111111111111110000100111000011011011111110001000101011000101110101101110011010010010000011110001101000110011010111101110001100001101011000001000010011110100001011101101011001001100000100100010111010110110111110011001010001111110101101011101011101100001100001000001100010101000000111101100111010001101010001000111110000111111111101100011111010010000101001110100100101100111110101010001 1011010000100110011011111101010011110001101000111100100100110110010011101110110000010101101100100001111000110001010111001011101111010001000101111111001111011111110111110010001111001010111011010001110111111011111110111110001011100010100010000100100010110111110010110101100000101100010111110100000110011001111011001100011001111011101001001111001111111101100100010000001000111000100010101100011110011110 1111010110110110000101001010111100111011011110000010101010000000111010010011011000011001000001111000101000111001001011000010100001000010101111100111110011000011101101001100110101010101111000100110111001100110111101010101011011110001110100100100110010010011101011101110111110110011000110110010011011001100111000001101000001001001000010111011011111110100011111000000101010010100101011011000110001111010 0001010001111100110001111101110110101011111110110111001001011001100001110111000011000000011001101000010001100111110000011001010110011000111011101011110010011010011100001101011001111001000110011000011000000010111100010011110000100000000110101110110010110110011001101100100100110101010111000111100101001011100010111101100100011010010110111100011000111111111011110111110001101110000001001011010010011011 0001100001101100000110000000011010101101111010010111011100110101000110101000001000001011010001100011100010000010111011100000110101001000000001101101101000011110111000001001100100011100110000010100111001110011101010010011000000110000111101011110100000001010011100000111000011001101011111110000100100011000100100111001100100101011100101011111010001101101011001110110001011111000010100111101010100101111 0110000001001001100001101101101001000100011010001101111110110100100111001110111001100011100000010110000001011101010001110000110011000111010000110100010110011011001100111010000011000111011011101111011000001001011110101110000000010001101010110011111011111110100110111110100011011000000000001110100111111011100110001000100100011010101000101001011100110110100111010110011100010000110100101001100100010110 0110001011001100000000001110011010000000111010011011011011111001010011101010111101011111101001001101100101100111110100010001100100000111011100111011111001000000001001000101110011110111100001110111100100100011000110010110100001101101101111111111110000110100001011000011010101011011001000111000010110001100110111011010110101110100111001010100100111010010001101101010010010000011001110011100101110101100 1011111011000001010001010110110101000111000101111110110011000010110100101011011011010000110001011001000011110100011010101000010111011000001010011011110100101110101110100111110100110000111101101101101001111001000011000011010000111010101001111001010100000011110001000000111101010100111111011001111011011111100100011110001011110111011001011011010100101101101010001000101000000001001000101110101010010101 0001011001111001110010001001101001001110000101100000001001011111010000111011011000011011000100101011100010001111111110010100110101101010010111000111001011010110110101000100111100001001111101011010000110110011011110100001100000101010010010000100011010000111001101001100010011101000101110100010110010101000100010110001011110000100010011110001001010010000111010110000111011001101100011101101000101110001 0101001110111011011100111110101100110110001000110111000011110100100001000010000111110011001101110011110001000101110101010100100000111101010101100111101101000101000010101000111110111101110110110000001110000101000001110000111000110001001100010111011011001000010110001111101011010101111010001111111001100000010011110111101001100101000110101001101001001011110101110110000011101111010001010100100011110001 1110001100010001110011011111111000101011011010101011001010010011111111001001001010101001101110100000110100100011011110001011001001111011111110111000111001011000111100100001111001011000001000011011101010111011101110101010011011111011111010001101110001100000001101110011110011010110110001001010001001011000111010011010110100101000100011110001110111000111110100110000110001010101110110100101110111011001 0000100100010110111100100001011010111000011011110101000110101000111100010001111010011011011001100000101010000111110110100100001010011011101111101111000101110101101101011010100110101101011011111011001001001010110001100001110101000100101110111011110111101000100110111101101010101001011011010100110001110010101100111010011000100101000110111000000100000101101101011001101010101011100100101011001110010101 1100101110111000110100000100110101110111000110010010100110011101000111111000001111011101111001101110000000001001001011110000100100000010000100110101011010000001001100001001111000001101011101101100110110111010011000101001111001100010011001100001100100000000110100001101110110111101010010001011111110110111111001101001111001101101110111101011101101011111010000001011101011111000000011010111110011011100 0101100010000001001011000110111110000000101000101011001010010100011001001001111111100011110001100001000101001100110001001100110000110000000000010000001011101010110011111101001001100101100011001110110011110011110001101001010000100000111100000010100011111000100011111001101000000100111110100011000101001010110101010100011101011110010100101110110001001101101110100010000000100010010011101101001110110000 1011001110010001011001010011110100011101101000011001001011110000101000010000100000110101111110001101000000100001111101101010001000011110110011110110110001100100001010110110110001010101100110110010111000010011000110011000011001000010011110101100001110101110010001010100100110001001001110001111101000001100110110011001010000101000010000010011011011111000100000001101001001101111010110101000100011101001 0011100010000101101111000100010111000000100111101101111011100001111000011001001110110001111001000011111011010100110111000011101100101001110001011010001111101110001110100100010111110011111000010111010010101000100100011010110111110101001011110100101100100000101001111110111101001110000001101000000011110011001000101101100001101001101100011110001011011100101010100101111110010101100000001100111000011011 1111111100100100101001101101110101001111011010110011000011011001110011100111100111110011110111111011110001010111101101100110010000011000100111010100011100010000110111101101100010000000010111101111110101000000011111111010000010111001001100100011010011110111100001001110000000110101110010001001110001100000110101101100101001100110010111100001001110001011111001110100001101000100011100110000001110101111 0000110111001001000110100000110001001001010011000011110101001100000010001010000100111111110100101010100001101111011110111011101111101011001000111100011100110001010000010101111011011101011010101011010011101001110011111100110001000011010100101001011000011000001001111101100111010110110000110011010100111111101000000000101110110001010110101101011001011100000010011001111100100110000010001101101010001110 1000101101101001100101011011100001111101000111001110110101010011111100000100110001001000011100010110110011110000101001110000000001100111001100110011001011000000000010011000011011100010000110100111101001100011001100100001111111110011110110101110010001101110100101011010101001111010010101010000010100011100101110101110000010101100000110110001000000001100101010001001100101110001101011100000101001101011 1110001101100010111100101111011011111001101111101001111011001101010100111100101010011010010111001111101100110111110000000100011001101110001001001111010101010011001011000000101010110011111101111000111000011110001001101001000001101011011111111010000010010001001011000100001010111110010011011001101110000110010111101010110100110110110010110001001011010010010100100010111010100001110100111000010111010111 0000111000001011100001011011101100100111001111000111010000000000010110010101000110100111011001111001010110111100101101001110011100101110011110110110001010111011110000010110111100000000110110111011111111000100010001010001011100100001100100101000111000000111110000011100100110100110001101100011110111110110010000100110011111111001100000000011011111111000110110110011010100100001101011010110101110000100 0100110111001110100101010110010000011001110001100111010011010110010101101001011110000111101010001001011010111101110101010000111100001100111101101100011011010011101000111000001000101010100111110100111010111000011010011010101101111101010101111001100100100101011000000001100010000011000000111000000011100101111101111000111110010101010111000101011101011011011001110101001000101101001111110011111000001001 1011111001011010111000010111111100011011110111100110101011100110010110010001001110100000011001101011110001101010101110100111100000011010000011111011111010111101000111111000111011100110001100010010101001000000111010101101010000100100100111010100010001011110000001100001010001111010000001101100010111111000100110010110101011001100100010011101100110011110010110001100000000000100111011000101110010101001 0110001010100101010010111011111000101110011000110100100110010000101101001110010100110011010011100000001000011001000001111010100010000100100010011001001101011110111110000101101010110001010101111010000000001001110101111001010101000000001110100001011111101011110100010111001001110010000011110110000011011110100001000011011010010101010011001010100101111100001011011010011100011100100100001001001010011111 0110101101101011000001000100011110010111100010100100111101011110101001100110000111011101001110100011110111001101011100100100111101111000111011110001001111101101110111110101011000100101000001101010100001111001111101001010111001111011011011110111110111101111111111111111111001110111110100111001110001001101101011111111101001010111010111000001111011101000000110101111101010110001011001100100110111010011 0101010000010101111100111011100110100001010100110111100110000111000010010001000011011101011100011000010110011000111010011111000000001010010010000010101001010100001100011000101111000001101101001101101011101110111000011011100000011111110100001010010111011110000110010100011000111100011000010111100111011010100000011011011001000101100111001010111010101011110110011101100001111100101101001000000001010111 1000100101101111100001111011111101111010101011011001101111101001101101101101001101000100000001110010011001110110011010111000111110011110101100010110110100000101110001000001010101100010011111100011100111010110000100101011111101110110110100011101101001011001001111111101111011110001001110110101000000011000010001111010111110011100101000011011101110101111101011001011001001111001000001010001010010011110 0001111011101011001001010011000000001001010101111010111101010100010111011000101001110111001011000111111001011001100101110010101010000100100000001111111110011110011010010000101100010100101111110001101110111101100010100001111001000000010111110110100111101001000000110001101001100011011011001010100000101110110010000001000001001101111100011110101100101110110101000000011011111010010001111011011100101100 1100000000111110100010010100001010100101110000101111100101000111100010111101000100100001101100101100101010110110010101111011001001000101001111011011001000001001001011111100001001001000101100010000001001110110011011111010101100011010101101010101100111101100101100011011011111110010000110000101111110110010100101011010111011011101110100011110011101100110100101000000111010000010011100101011011101001100 0110111111011001110010010100110111010111000110100110011011111101111010111000000000101011100000011111100010001111010011110001110010000000011000000000011110110001100011100001001001100110001010100001100010000001011100111101100101100110011001111000101111001010101100100101001111110110110111100111100011011101100111100000111101110101100100000110100100001001011000100110010011111010110011110110001010011100 1000111000100011011000100100100110111100100101111111100011010010100100101111101010101011110011000110001110000010110100110100011100111001000010011010000001010100100011011001101111011110001010011000011111110010111010110111000111011000010000111000011100001101101101010111111100100000001000100110110011100000001111000010000101001100011111000000001111110011110010001111011000011101001001001000101001111011 0100010001000100111011001000010110101111101101110111000001001101011001101110011010001010111000011000100011001111111111000110101100101100010000001000111011111110111101100011101001101000000001111100110010000000010011010000001001100001010010100011001111000001111000010010011100111100001110000011011101101100111001011000110111101000110000100000100011111101111011010100011010001100110010101011001010000000 1110101011011001000001111111010110110100011001111111111011000000000101111101000111011011101111000001111111100101110001010110111001111010010001110111110100110110100000001111001011110111000101011001111010110110000000111001110111000000001010010011100001110001111110100110000100100000101000110100010100100001001110010100001110000101011001101001010100111000111100101101000000001000101011010001101010101010 1011111010101110111010111011110100011100000011010110001000111010101100001011000111000110110101010001001000100111010111111001110000110011101101111101110111000100101010101001000101011001000001010001111101110111111101000100101110100101111010010011010110110011110110110110101000111110111100111110110110001101011000110100111110111110001011111011101101101001000100110111001001010000110000111000010101110011 0011001100111011101010111111010111110110111101111000101000001011101011001011101101100011110110110100111111110100100100010111011111001101001010011000101110001010111000001111001110010011100010011001001011101010000111011111000010110011101100100100101001100000011110010001110011101101101110100100001100000010010100001011110110100011010011010100101110011001011111111000101010010000111101111001100001001100 1110110011101000000010110110001100011110000111011000001010010100100010001100001001101011101101001011001110000100100100010111111011100110001010001000111101100000011001010110001000001011101111001011101001101000011110011000110001000110110011000000011011010110000011111111110010110100001111110110111100011110010100011110001000100011111101110111100101000101100100111001100011101000111000111111100000101010 0100011100100000111000010101000011001001100010100010111101111000100010000110100111111001100100010011110000100011001111101001101010110000111011010011001011110011100100000010110000000000010110111100001111110001011000111011010100000010110000110110000010110101001110101011001000010011111000111110101101111001110100010001101100100010000001000010110101110111001111101000001110001010111010011101011100101100 1101010001100011001111111101000111011001111000111100000001010000001100010111000101110011000111110100101110011100111010001011011001111111101101111100110100001101110000001000011111000100100001101001010100001101011011111111100101100110010000000101101101001001111110001011110010010000100001111100111111110111111001100000101010111110100101100011000001100001101100000011010011000010001010100100010000011000 1101101100011111101011001011110000000011011011001100111111011100101101010101000000011000010110110011111000000010111011011110000001010110011001100101011100001101011000100001100110001001101110011100110010001100101101010000010101010000000010010110101000101001101000111011001110001100100110101001001111011011101101111111001010011001100010110011001010010001101011011011011011110000101101001100110010001101 0110101001110110110001100000100001001110011011001110101000110110000011110101111001001010010000111110110011011001100110001000101000100000000100100011010000000000100010101010001111111101101111110100111001100100101101111110101011100001100001011011101101101101110010011011000000111111111101000010110010101000001110001001000110001101101010000110011101111011100110001111001101000010111100111010010001010111 0100111001110000101000010000111011010010100111110010100000101001001100000001010010100101010100100010100001111100011000100111010000111011001000011010001100111001000111101011111100110010100111100000100111100011011100011000000011110110000000010111101010010111110100001000100101101010011000011111010101000100010000001010011001000010100111110010010100010011001010010101111011000101000001010111011110011010 1111101101100001101000001000111010001011010010101010001111010000100110011110111001110100000110000000101001001100011000011111110111101100011110010000111100100101111001001110110010010000000011000100001001101010010111100100111101000101000100001110110011001111111110110011100000001000101000110111101100000000100000011100100001010000001000110100000000100000111110000100010010010001101001111100011001110011 1010110000010111010101101010101001111111000101010100100011010010111110010111000101101100100010000010010110001110011001110110010010010111000001010100001111011100100000010000110101110110110101001110000101001100011010001001111111101110111101000111111100000010011100101100000111000011000101000101101101110111111111000110111010111111000000101100001110101010101001111100101001101010100110011000111110110110 1101001001010010111110101110001011101000110110110011001010101000011100001011010000011000110101001011000111110101001110010101100011010001100001111110101001101010011011000110011110101010000011010000101010110011101011011100101111111110000010100100110110000011110100100000000101101100101010011001110100011111000101111101001110000101011010010100010011000001011110100111001100000011001100111011100000000111 1011101000010001011100010100000010100111111111010010001011000010010101111011101001011011101100101001100111010110010100001011000001111011011001110001000111000010110111000101010010000101010000110111100110001010010010111111100101000101000101101001100000011101101111111110001000110001100001101000011101100111100110110010011001111111000101001100100100001011001001100011010110110111000011100101001110110001 1001000110001010011001101101011011010001000111111101110111001010011011101010101100001000111011110000001010010011100101000111000100100011001001001001010000001001010101100000010001101110110100001110010001100001010110001101000100111100110111010101001001010110001000101111110000010110110010111111011101011011010100110001011101111110101101000001010000010111010110001000011111111001110111000111101101000111 0000001111111110101100101011111110110001010000010110001100011000110101001001100001011100100010101000011101001110101000100111011100011001100110001011001001011011001100011010110011010101010111000010110101000011111011111101100010011101001111001010001011101001101100001011000111111101100111010000100111001110111101101011000101110001001100111100001011100111001011110110101100011001010010010111001101010101 0100100110101001011000010011110111000010011100011100000111001011010111110111010100101100001011111000000000101101011110001100010100011111110011000101010111011000101101010110100001111010001101101011001010001001011111010000000001111011010011111000100111011001000110110100001000001011110001101111010001110010111110000111011101101101010111110001111111011011100001111111101010111110110010010110011010011100 0010011001010011100100110011110100011010101100110101000010010100111001011110000011110101010101111101000100110010000000000010111100100011001011100100011101100101101100110011111111001010010001101010011011011011110000101101000001011000001011001100111101110010010011011110110110010010011101010000001101010111101111001000000010110101000001011100001101110111010000000001000111010110000101011111000001001000 1111100100000111101010110011011111001001000011110111001000111110110101010100110011010011000110011010110100011011001000100011011110000001110011110100000001111100010110011100110101000000100001111000001000111010010110000010011011010100101001010001100011101111101011110101010000011011111001100000110010010101101001010001000010111111110001100001000000111110000001111010111000001000100101101101010010100100 1111000101011100101001101011101100101010101111001011111110100100001100100010011001010011100011010000000011011011101010100110110011100011011010110011010001001110111000001001001011011000100011111010010001101001010011001101100000010011001011111111101100011110101101011110011010010110001011011010011111001100100001011010011111010011010001100000010001110101100011101001011100101111110110001100110110000000 1110001111010001011111011000011001000010100011011100111100011101001110101011110101011111011001100000000010001111011000101111010011100010010110001011100101000101011010010011111010001010101101010001001000110101100010000011110001010111111110111001001101111011010100110111000101100110110000100010100001110101100111001100100000101110111000111101010100010010110110110000001001100001011001110110101101000011 0101011010000110011010001001110111111101010100011011011100110010110010001110000000101101001001001110010100001111001111010110011110001111110011100101101100110011110010010001000001110101111010110111110010100101101010111101100001100100011010110111001101110110111100010111000010101100001011111001000011010101001010111001000100001101111110111110100010110110101110110111001111011110010110100001001010110011 1000101110001110011011110110101101100010001001010001110010111111110010001010100000010000111101110000010111110000000100111111101101001011011010100110000110111000001000000000101100000110010100001100100100000101010001000011101111110111110000000101101000010101001111001110011100000001111100010110000001110111000010101101101011101101100111100010001101010110110001110000101001011101011101101110111010011100 0101011110101001001110100011111110000001111101010111001110111011000111101011010000000101000000111000011000000110001010110010010011100100101100001100100110111101010110100110011111011101010010110111100011101111011100001110100111010010111110111010010100110011110011000010010111010000100011101010010000110100100000101111011101111101101111010111110111101001011001001000010100000110011111101111011010001101 0000011110101011110101101111110110000101111100110111001101001100001111000010010110011110001101100100000010101101100001101011100110100101010001010110110010010011100001010011110000111001100011100101110000001010010100000100110111110011110001010011110011111111100011000111011001100010110011111001000011111100111110111100110101111001111100101110001010100111110111110110001001011100110101000011101110010100 0000010001100010111000001111100110010111011001010000100100110111110010100001011011000000101011000101001101011011101100010101000101011010000100110010001110100110001001000101111110011101110011000011101101100010001010100001001001001110010010011101100000101001011101110001000110001110001000101100000111101100110111101001110001110101100011111110101100011000010000001100110011011110110011011010110100010111 1001011011111000100010100101110111110111101000111011101100110101110100111010010001011010100110001110001101101010110011011001111101110010110000111111011011011001111011011010001001111101011100011011111101000010110001110000110011100100101010001011010101111000111000001111010100001011010101111111000100011010111110100100010000011001101010000010011010000011011000101001001101110101111011000101001111000110 1001000011010110001010100111010100001001001001101100001010000101111011110100001100001000111111110011011000000011001101011101001100101111010001111001100111010110110110000000101011110100001001110110110010001000010010000011101100100101100011100100001111100001001100100101100100011011110101010011000000111110010011000011110010010100110011101011000100111011111100100101111011011100110000000111010100111110 1111101011001010000011010010001011101101000101111001111010001011100110010111011000010001011100001111001011111111111011001101010111001101111110111001001101101011100110011111011111110011111111111001110000000000011111001101011001110010000011000000110111111110010010110010010100010000110100001011001100100100111010100101000101011000000100100000000001100011100100101010110010101111101111101001101010001100 0010010001100000111101011101111011111101001001110001110000110111111111100110111011000100001101100011011101001101101110011000000100011000100010000101110100011110010101110011100011001100011111001010100100111101011001100110011010101111100101001001001010010011110110011100101100011111111001001101100111101001001100000111111111110100001110010001101000110110000011101000000110011101000011111110001100000110 0001011011000111000100101000000100010100010001111111100001100011011011001000100000011011000100110100111000000100011100011011000101110100111001110000110101010110000000001101011111111110111011110011100100011011001010010100100100100101110001110110011000111111100100010100010000011011000000010100000110010101010111011111101001100010101010100000101001010110111011111010001000011111111001101010001101010010 0101111001000001111110111011000000000000111100010111001010101010010111000101000100110111111001000111101001101110000111000010111000000111000010011001100011000000100001001101110010111010011001110000011000110001100110110011111101010000111111100110011101100011100101100011100111111101010011111110101001011110011000011010111000000010001000100010111101000000111000011011010011011001101100110001001010011111 0010010011001011101110001011101100101100100001101011101011110100011100010011011100010101110110101001000100011010011101110110010111000100101001110000111111001010101000101101000000110110100111110101010000110010000110110010001011111111011001000110110010011010110010100001110001101010100010100110111000110101001110001001101110011100011000011100010000111110000010010100100011110101101011111011001110001101
cTrader

cTrader用トレード練習ツールcTranerの使い方

6/24/2021 11/12/2024

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

(2024/11/12 追記) すでに開発を終了しています

cTraderのバージョンアップによりMarketReplayというトレード練習ができる機能が標準で追加されました。

こちらのツールでやりたかったことは、おおむねMarketReplayでできると思いますので、開発を終了します。

(本記事での連絡が遅くなり申し訳ありません。)

これまでのご利用ありがとうございました。

 

参考までにMarketReplayはこちらのボタンから起動できます。

cTrader用トレード練習ツールcTraner

cTranerの開発が一段落したため、使い方をここにまとめておきます。

cTranerはcTraderのバックテスト機能を利用してトレード練習をするためのcBot型ツールです。ややこしい名前はご愛敬。

ところで「トレーナー」のスペルは”Traner”じゃなくて”Trainer”ですからね。皆さん間違えちゃダメですよ。(←今の今まで本気で間違えてた人)

もう今更感半端ないんで”cTrader”にひっかけたことにしてスペルミスのままいきますけど。エイゴムズカシイネ。

 

機能概要

バックテスト(ビジュアルモード)専用のトレード練習ツールです。cTraderの過去相場データを利用してトレード練習ができます。ビジュアルモード以外では動きません。

cTraderではTickデータも利用可能なため、過去のスプレッドも正確に再現してより本番環境に近い状態でトレード練習が行えます

こんな感じでトレード練習が可能です。なお、動画内では組み込みのSMAの他にSubChartインジケーター、ProminentLabelインジケーターを使用しています。

見ていただけるとcTraderで普通にトレードするのと同じような使用感でトレード練習ができるのがわかるかと思います。

 

ダウンロード

 

トレード練習のやりかた

①まずはインストール

ダウンロードしたalgoファイルをダブルクリックするとこのウィンドウがでるので、Yesを押してcTraderにインストールしてください。

そもそもalgoファイルが開けない!ってかたはcTrader本体がPCにインストールされてない可能性があります。そんな方は先にcTraderを用意しましょう。

 

②cTraderを起動してAutomate画面に切り替える

インストールしたらcTraderを起動して、右側メニューよりAutomateを選択してください。

 

③好きな通貨ペアを追加

cBotsタグのcBot一覧からcTranerを探して選択し、+マークをクリックして練習に使いたい通貨ペアを選びます。

追加された通貨ペアを選んだら、使用したい時間足に切り替えて、右側の画面をBacktestingタブに切り替えます。

 

④チャート設定

好きにインジケーターやテンプレートを適用し、普段と同じトレード環境を整えます。この時点では主画面に何も表示されていなくて大丈夫です。

なお、スペースキーからSmart Chart Searchも利用可能です。

 

⑤トレード練習設定

歯車マークから設定画面を開き、初期資金、片道手数料、使用するデータを設定します。

データはTickがお勧めですが、m1 barsでも利用可能です。Tick以外を使う場合は利用するスプレッドもここで設定可能です。

チャート上部で練習期間を設定します。ここでVisualModeに必ずチェックを入れてください

好みに応じて、cTranerのパラメータも変更してください。そのままでも問題ありません。

パラメータの内容は記事下部参照。

 

⑥トレード練習開始

スタートボタンを押して開始します。データのダウンロードに少し時間がかかります。

途中での一時停止やスピード調節も可能です。停止ボタン(■)を押してしまうと続きから再開ができませんので注意してください。

 

⑦終わったら結果をエクスポート

練習が終了したら下部のTradeWatchで各種情報を参照できます。Historyタブからはトレード履歴がエクセル出力できるため、エクセルで自分のトレードを分析することも可能です。

 

 

パラメータ説明

Chart UI

ユーザーインターフェースにかかわる設定を行います。

Order Panel 

注文パネルの種類を指定します。以下のうちから使いやすいものを選んで下さい。

QuickTradeButton:cTrader標準のトレードボタンを模した形です。ストップロス、テイクプロフィット、ポジションクローズ、注文キャンセルなどはチャート右下で設定します。

BigPanel :大きな注文パネルです。押し間違いが少なく使いやすいですが、小さいモニタだと邪魔かもしれません。

HiddenPanel:”T”のパネルにマウスが乗ったときのみボタンが出現するようになってます。

MiniPanel:小さいパネルです。Bigはでかすぎる、でも隠れたりするのも嫌、ってときに。

Custom Label Box

トレードラベルを指定するテキストボックスを表示するかどうか指定します。ラベルはいわゆるマジックナンバーみたいなもので、後で集計時に参照することも可能です。

Yesだと注文パネル上でラベルを指定するテキストボックスが追加され、トレードごとにラベルが切り替えられるようになります。Noだとすべてのトレードには”cTraner”のラベルがつきます。

Right Button

ポジションのSL,TP変更用タグや決済、取消ボタンを右側に表示するかどうか。NoだとcTrader標準同様ラインの左側に表示されます。Yesだとライン右側に表示されます。

Auto Rescale

ローソク足の更新に伴ってY軸スケールを自動調整するかどうか。デフォルトはYesですが、この場合ローソク足更新のたびにスクロール状態がリセットされます。スクロール時は一時停止をお勧めします。

 

Pause

一時停止を押さずにチャートを無理やり止める機能があります。本当に無理やり止めるのでポーズ中は一切反応がありませんし、途中でポーズ解除もできません

高速再生時に一時停止するポイントを逃さないようにあらかじめポーズを仕掛けておく、という使い方が主になると思います。

なお、発注ボタンなどボタン類はポーズ中に押しても一見反応がありませんが、停止解除時に機能します。連打しないよう注意してください。

When

止めるタイミングを指定します。ローソク足更新時(BarUpdated)、4時間足、日足、月足更新時(~Updated)、指定時間(FixedTime)、サイン時(EntrySign)のいずれかです。デフォルトはポーズなし(None)

4時間足~月足更新時はいずれも下位時間足のチャートでのみ機能します。サイン時は特定のインジケーターと併用したときのみ有効です。

Scheduled Time(EST)

WhenでFixedTimeを選択した時は、ここで時間を指定するとその時間にポーズがかかります。日本時間ではなくニューヨーク時間で指定します

Stop Seconds

ポーズ時止める秒数を指定します。最大10秒。10秒以上止めたい場合は一時停止を押してください。

 

 

マルチタイムフレーム対応について

cTranerはあくまでバックテスト環境で動くため、練習中に別時間足のチャートを開くことができません。

この別時間足チャート表示を補うためのインジケーターとしてSubChartインジケーターがあります。(上記のデモ動画内でも利用してます。)

このようにメインチャート下に最大3枚まで別時間足のチャートを表示させることができます。

表示できるのはローソク足と移動平均線のみのためあまり細かいことはできませんが、「上位時間足は形さえわかればいい」という方には十分だと思います。

 

ダウンロード

 

使用にあたっての注意点(不具合など)

・十分な数のローソク足が読み込まれるまで表示されません。練習開始直後はチャートの右側までローソク足がすすむまでは表示されないことがあります。

・サブチャート上へは一応ラインなどの描画も可能ですが、あまり描かない方がいいかもしれません。ときどきおかしくなります。

・チャートの拡大率を変更すると表示が乱れることがあります。その場合は、パラメータ設定画面を開いてDummyパラメータを切り替えてください。サブチャート上でダブルクリックすればパラメータ設定画面が開きます。

とにかく表示されなきゃパラメータ画面開いてDummyパラメータを切り替えてください。(パラメータを変更することによりインジケーターを再起動させています。Dummyパラメータ自体には意味がありません。)


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

新しいコメント

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

cTrader's Life

© 2025 ajinori