0.00/0.00	c [MSE2022] -- begin -- [MSE2022]
61.80/61.29	0.00/0.00	c
61.80/61.29	0.00/0.00	c NuWLS based on TT-Open-WBO-Inc:	 an Anytime MaxSAT Solver --- based on Glucose4.1 (core version)
61.80/61.29	0.00/0.00	c Version:	 MaxSAT Evaluation 2021
61.80/61.29	0.00/0.00	c Author of NuWLS:	 Yi Chu, Xiang He
61.80/61.29	0.00/0.00	c Author of TT-Open-WBO-Inc:	 Alexander Nadel
61.80/61.29	0.00/0.00	c Authors of the baseline solver Open-WBO-Inc:	 Saurabh Joshi, Prateek Kumar, Ruben Martins, Sukrut Rao
61.80/61.29	0.00/0.00	c WARNING: for repeatability, setting FPU to use double precision
61.80/61.29	1.59/1.64	c |                                                                                                       |
61.80/61.29	1.59/1.64	c ========================================[ Problem Statistics ]===========================================
61.80/61.29	1.59/1.64	c |                                                                                                       |
61.80/61.29	1.59/1.64	c |  Problem Format:             MaxSAT                                                                   |
61.80/61.29	1.59/1.64	c |  Problem Type:             Weighted                                                                   |
61.80/61.29	1.59/1.64	c |  Number of variables:       2532915                                                                   |
61.80/61.29	1.59/1.64	c |  Number of hard clauses:    7596892                                                                   |
61.80/61.29	1.59/1.64	c |  Number of soft clauses:         28                                                                   |
61.80/61.29	1.59/1.64	c |  Number of cardinality:           0                                                                   |
61.80/61.29	1.59/1.64	c |  Number of PB :                   0                                                                   |
61.80/61.29	1.59/1.64	c |  Parse time:                   1.47 s                                                                 |
61.80/61.29	1.59/1.64	c |                                                                                                       |
61.80/61.29	1.59/1.64	c Limiting number of clusters to number of weights
61.80/61.29	1.59/1.64	c all_weights = true;
61.80/61.29	1.59/1.64	c #Diff Weights= 4 | #Modified Weights= 4
61.80/61.29	31.49/31.50	o 15
61.80/61.29	32.59/32.67	c total_lit_count 20257799
61.80/61.29	32.79/32.80	c before build neighbor
61.80/61.29	32.79/32.83	c build instime is 0.48
61.80/61.29	32.79/32.83	c using neighbor 
61.80/61.29	33.09/33.18	c build NuWLS instance done!
61.80/61.29	33.09/33.18	c changing to NuWLS solver!!!
61.80/61.29	33.39/33.42	o 15
61.80/61.29	48.40/48.42	c 15.01
61.80/61.29	48.89/48.92	c nuwls search done!
61.80/61.29	48.89/48.92	c step 7047000 get_runtime 15.49 time_limit_for_ls15
61.80/61.29	57.89/57.98	s SATISFIABLE
61.80/61.29	57.89/57.98	o 15 
61.80/61.29	57.89/57.99	v 001000111111111000000000001000100001100000100110011001101010101110000100000100100110100010101000000000110100011001011110100001000111001101001010001100000011000111011001101101010001000101101011011001101000011100100001001111010010011011110001010100111110001111000011111110100101011010111101111001101100101000001000001111111100110000010000011110001101110001101010010001010111110010010110011000110101000101101000011100010101101110000011011001101110001101100111001100110000000100111101011100101111010111010001111010010100110111101011110011000011110110011110110010000100110000101111110001100010100001011100111101100000110101000000111101101001010001010101010010110001001000100100110100011011111100011011001110100101100011010111100011011100111100111010011101011000111101000010110100001001100010000001000110111011011010000001111010011101001111000111110010110100101110001101010000100000101011010110100101000100011111001001000100100111100000001101100111110000110000111101010010000001011100101001100110010111001011011001001100111110011100011111001000011100001100101111111001101100100000000010101101111000110000110110011010001110100000100010010001110001011110001010010100110101011110110000001100011101101010110000111100001110001001100011000101100010001100101111001001101101100101010111101010011100101111111000010110111011110110100110011010100001101000100111100011000101001001001001111010010011001001100111010111101000011001110011010100110011000000111111110111111111000101110000111001110111001101100011001000100011110100100100110111000101001111100101010010111110100011010111101111011010011001101010000011100010111101000111001010010111110001011110110011010100000111110110100100011100010001001101100100100011000011010001000100101000101100110011011000001101011100001101010011110001101011000001111011110100001011010000100110001000100110111011101101111000000110001001111100100000000000010001000000000100000000010101011001010101100111010110010110010101011000011101010111010110010110011111111111010101100111111111011111000000000001000001000000000100000000010101011001000001000110010110000100011111111111100101010111111111011111010101011001011111110111111111010110010101011001010101100111010110010110010111111101011111110111111111110110010101011001011111110111111111010110010101011000010001000110010110000100010000010000010001000100010110000000010000010000010001000100010110000000010101011001010101100111010110010110011001010100011101010111010110010110010111111101011111110111111111110110010111111101000001000111011111000100011111111111000001000111111111010101010000010001000001000100010110000000011001010100011101010111010110010110010111111100010001000111011111000100011101111100010001000111011111000100010000010000000000000000000100000000010101011001110111110111111111010110011101111101010101100111111111010110010101011001000001000110010110000100011001010101000001000110010110000100011001010100011101010111010110010110011101111100011101010111111111010110010000010001011111110111011111000100011101111101010101100111111111010110011001010100000000000100000100000100000100010000000000000000000100000000010000010001011111110111011111000100011001010101010101100111010110010110010101011001011111110111111111010110010101011000011101010111010110010110011101111100010001000111011111000100011101111100010001000111011111000100011001010101000001000110010110000100011111111111010101100111111111011111010111111100011101010111111111010110000000000001010101100100000100000100000000000000010001000000000100000000011101111101111111111111111111111111011001010101011111110111111111010110011001010100011101010111010110010110010101011000010001000110010110000100011001010101011111110111111111010110011101111101000001000111011111000100011001010100011101010111010110010110000000000000011101010100000100000100010101011000010001000110010110000100000000000000011101010100000100000100010101011000011101010111010110010110010000010001010101100110010110000100000000000000011101010100000100000100010111111101000001000111011111000100000000000000011101010100000100000100010000010001011111110111011111000100010000010000011101010110010110000100010000010000011101010110010110000100010000010001010101100110010110000100011101111101010101100111111111010110011001010101111111111111111111011111011111111111011111110111111111111111010101011000010001000110010110000100010000010001011111110111011111000100011111111111000001000111111111010101010000010001010101100110010110000100000100010000010001000100010110000000010111111101110111110111111111110110010101011001011111110111111111010110011111111110011101010111111111011111011111111111000001000111111111010101000100010001010101100110010110000100010000010001010101100110010110000100010000010000011101010110010110000100011001010101000001000110010110000100010101011001000001000110010110000100000100010000011101010110010110000100010101011000010001000110010110000100010101011001011111110111111111010110011101111100010001000111011111000100011101111100010001000111011111000100011111111110000000000111010101010101010101011001011111110111111111010110011111111111110111110111111111111111010111111101110111110111111111110110000111010100011101010111010110010110011111111111010101100111111111011111011101111100010001000111011111000100011001010100000000000100000100000100011001010101011111110111111111010110000000000001010101100100000100000100010000010001000001000100010110000000010101011001010101100111010110010110011111111111011111110111111111111111010111111101110111110111111111110110010111111101011111110111111111110110011101111100010001000111011111000100010000010000010001000100010110000000010000010001110111110111011111000100010000010000011101010110010110000100010101011001010101100111010110010110010111111101010101100111111111010110010000010001010101100110010110000100010101011000010001000110010110000100011101111100011101010111111111010110010101011000010001000110010110000100010101011000011101010111010110010110010000010000011101010110010110000100000100010000011101010110010110000100010101011001010101100111010110010110000100010001010101100110010110000100000100010001011111110111011111000100010000010000010001000100010110000000010101011000011101010111010110010110011001010100011101010111010110010110010101011000010001000110010110000100010000010001010101100110010110000100010000010001000001000100010110000000011111111111000001000111111111010101010101011001011111110111111111010110010101011000010001000110010110000100011001010100000000000100000100000100010111111100011101010111111111010110010101011001111111111111110111110111110001000100011101111101110001111100010001111111110000011110011111010110011110011111010110000100010001110111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000000000000101010110010000000100000100011111111110000000000111000101010101010111110000000001100001011000010001100001011000010001010101100110010101011100010110010110011101111100011101010111100111110101100111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011001010101110111110111100111110101100001110101010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001000001000111111111111110011111010101000100010000011101010110000101100001000111111100000001111001111101011001100001011000010001110111110100000100011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100100000100010101011001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000000000000011111111111110001010101010101010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000100010000011101010110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000110010101011001010101110001011001011001100101010001110101011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010111111101011111110111110111111101100000000000000000000000000000000000000001111100000000011000010101000100011000010101000100010101011001011111110111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001011111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100010111111101100101010111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100100000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100001000100010101011001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000011101010100000100011000010110000100000111010101110111110111100111110101100111111100000001111001111101011001100001011000010001010101100111011111011110011111010110011101111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101111111010111111101111101111111011000010001000101111111011100011111000100011111111100000111100111110101100111100111110101100111111111110101011001111101111101111101000001000101010110011000010110000100011111111000000111100111110101100111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010111111101010101100111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100010101011001011111110111100111110101100111111111110111111101111111111111111101111111111100011111111111111111011110011111010110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011000010001000001110101011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001011111110101010110011110011111010110011001010100010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010111111101010101100111100111110101100101111111010000010001110001111100010001111111100000011110011111010110011100010110010110010000010001110111110111000111110001000101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001110111110111011111011111011111110110000100010001011111110111000111110001000111111111000001111001111101011001111001111101011000011101010110010101011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100100000100010000010001000001011000000001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000100000100000111010101100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100101010110010101011001110001011001011000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001100101010111000101100101100111111111110000010001111001111101010101111111100000011110011111010110011100010110010110010000010001000001000100000101100000000101010110000111010101110001011001011001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000010001000101010110011000010110000100011001010101000001000110000101100001000111110000000001110001011001011001000001011000000001100101010111111111111111011111011111011111111111110111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111110000000000001111111110000011111011111011111011100011111000100011111111000000111100111110101100111000111110001000101111111011111111111111111111111111101111111111001000100011110011111010101011111111111000111111111111111110111100111110101100000000000000100010000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011100011111000100011100011111000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100111011111011110011111010110010111111100010001000111000111110001000111111110000001111001111101011001110001011001011000010001000111111111111110011111010101000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110011001010101110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100000000000011111111111110001010101010101010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010000010000011101010110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000011101111101010101100111100111110101100100000100000111010101100001011000010001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010000000000000101111111011000010101000100000000000001111111111111000101010101010111111000000001110001011001011001100001011000010001110111110101010110011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000000100010001110111110111000111110001000101111111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001100101010001110101011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011000011101010100000100011000010110000100000111010100010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111110000000001111111111111111111111111110000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000001000100000000000000000000010000000001000001000001110101011000010110000100011100000000000110000101100001000000000001000000000001110101010101011001110001011001011000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010101011001011111110111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100000111010100000000000100000001000001000111011111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000000000000000100010000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000001000100010101011001100001011000010000011101010100000100011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010001110111110111000111110001000001110101010111111101111001111101011001111111100000011110011111010110011100010110010110010111111100010001000111000111110001000101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000000010001000110010101011000010110000100010111111101110111110111110111111101100111111110000001111001111101011001110001111100010001110111110111011111011111011111110110000111010101010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110011001010101110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000100000100000100010001000001011000000001111111111111011111011111111111111111011111111000000111100111110101010111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110011001010100011101010111000101100101100111111110000001111001111101011001110001011001011000011101010101010110011100010110010110010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100100000100010000010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000000000000000000000000000000000000000000010001000101010110011000010110000100011000000000000100000001000001000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011001010101011111110111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100011101111100010001000111000111110001000101010110011111111111111101111101111101111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001000001000101111111011100011111000100000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100010111111101110111110111110111111101100111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111100011101010111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001011111110100000100011100011111000100011001010101010101100111000101100101100111111100000001110001011001011001110001011001011001100101010101111111011110011111010110000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101111111011101111101111101111111011000010001000000000000000000000100000000011111100000000111000111110001000110000101010001000101010110000000000001000000010000010001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010000011101010110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000010000010001100101010110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000001110101010000010001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000100000100000000000000000000010000000001010101100100000100011000010110000100011100000000000110000101100001000000000001000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100000100010000010001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111010101100111110111110111110111111111110000010001111001111101010101111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000001000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000000010001000111011111011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111011111000100010001110001111100010001011111110001110101011110011111010110011111111000000111100111110101100111000101100101100101111111010101011001111001111101011000010001000001110101011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000000000000111011111011000010101000100010111111101110111110111110111111101100111111110000001111001111101011001110001111100010001010101100111011111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110010000010001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000101010110000000000001000000010000010001110111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111100111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000000000000000000000000000000000000000101010110000100010001100001011000010001100000000000010000000100000100000000000100000000000000000001011111110110000101010001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001010101100101010110011100010110010110000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001010101100110010101011100010110010110000000000001000001000000000001000000000111100000000001100001011000010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000000100010001000001000100000101100000000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000011001010101000001000110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001110111110101010110011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010000010001000111011111011100011111000100011001010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111110000000000000000000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000011111111111111111110000000000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000100000100010111111101110001111100010001110111110110010101011110011111010110011111111000000111100111110101100111000101100101100101010110010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010000010001110111110111000111110001000100000100010000010001000001011000000001111100000000011000010110000100011000010110000100000111010101010101100111000101100101100110010101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100101111111010101011001111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100101111111010000010001110001111100010001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100101111111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001000001000000000000000000000100000000010101011001000001000110000101100001000111000000000001100001011000010000000000010000000001000001000001110101011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000001000100010101011001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000100000100010000010001000001011000000001010101100110010101011100010110010110011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001010101100100000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001011111110101111111011111011111110110010101011001000001000110000101100001000111111110000001111001111101011001110001111100010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111011111010101011001111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000101010110011101111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010111111101010101100111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100010111111100011101010111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001110111110111011111011111011111110110011101111101010101100111100111110101100111111111100001111101111111011001111001111101011001110111110101111111011111011111110110000111010101011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100111011111011111111111111111111111111101111111111110011111111111111111011111011111110110000100010001011111110111000111110001000111111111111111111111111111111111111111111111111100011111011111011111011111011111011111011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111101111111011001111101111111011001000001000101010110011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001010101100111111111111111011111011111000111010101010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100000000000010111111101100001010100010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000001110101010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100000000000000111010101000000010000010001111100000000011000010110000100011000010110000100010101011001011111110111100111110101100001110101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000001000100000100010001000001011000000000000000000111011111011000010101000100011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010101011001110111110111100111110101100001000100000111010101100001011000010001111111000000011110011111010110011000010110000100010111111101010101100111100111110101100001110101011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000111011111011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110011001010101110001011001011001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100101010110000100010001100001011000010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000000011101010101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000101010110011001010101110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100010000010000011101010110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001000001000101010110011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010000000000000000000001000000000100000100000111010101100001011000010001110000000000011000010110000100000000000100000000010000010000000000000000000001000000000001000100010101011001100001011000010001110000000000011000010110000100000000000100000000011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000000010001000001000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001000001000101010110011000010110000100000000000000011101010100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111000000000000000000000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111111100000000000000000001111111111111111111111100000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111100000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000111111111110101011001111101111101111100010001000111111111111110011111010101011111111110000111110111111101100111100111110101100000000000010101011001000000010000010001010101100111111111111111011111011111011111110000000111000111110001000111000111110001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110000111010101010101100111000101100101100110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111110011101010111110111110111110101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100000000000010111111101100001010100010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100000000000000010001000000000001000000000001000100011001010101100001011000010001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001110111110111011111011111011111110110011101111101110111110111110111111101100111111111110001111101111111011001111101111111011001011111110101111111011111011111110110010101011000010001000110000101100001000111111110000001111001111101011001110001111100010001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100101111111010000010001110001111100010001011111110110010101011110011111010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011001100101010101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110011111111111011111110111111111111111110111111111110001111111111111111101111001111101011001110111110100000100011100011111000100010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100001000100010111111101110001111100010001100101010100000100011000010110000100011111100000000111000101100101100110000101100001000110010101010101011001110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110010101011001010101100111000101100101100110010101000111010101110001011001011001111111000000011100010110010110011100010110010110000100010001110111110111000111110001000110010101000000000001000000010000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110011111111111110111110111111111111111110111111111100001111101111101111101111001111101011001010101100001000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001100101010111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010000011101010000000000010000000100000100010000010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101010110011001010101110001011001011001110111110111111111111111111111111111011111111110000111110111110111110111100111110101100101111111010111111101111101111111011001010101100111111111111111011111011111011111111111000111110111111101100111110111111101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110010000010001000001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111010101100111110111110111110101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111110000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100110010101011111111111111101111101111101011111110001000100011100011111000100011111111100000111100111110101100111100111110101100001000100011101111101110001111100010000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001100101010111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100000100010001010101100110000101100001000001110101011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001010101100000000000010000000100000100010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000100000100010101011001100001011000010001111111111000000000011100010101010101011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001011111110101010110011110011111010110000100010001111111111111100111110101010111111111000001111101111111011001110001011001011001010101100100000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100010101011001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000101010110010000010001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100000000000001100101010100000001000001000111011111000100010001110001111100010001111100000000011000010110000100011000010110000100000100010001110111110111000111110001000001000100011101111101110001111100010001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001011111110101010110011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001011111110101010110011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111110111110111111111111111110101111111010101011001111001111101011001111111111100011111111111111111011110011111010110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011000000000000111011111011000010101000100000111010100000000000100000001000001000111100000000001100001011000010001000001011000000001010101100001110101011100010110010110010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101111111010111111101111101111111011000010001000110010101011000010110000100011111111000000111100111110101100111000111110001000101111111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110010101011001110111110111100111110101100110010101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110010000010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000100000100010101011001100001011000010001011111110111111111111111111111111111011111111100000111110111110111110111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011101111100000000000110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000000000000001111111111111000101010101010101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001110111110110010101011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001000001000101010110011000010110000100010111111100000000000110000101010001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001111111111001000100011110011111010101011111110000000111100111110101100110000101100001000101111111000100010001110001111100010001100101010001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000000010001000100000100010000010110000000010101011001100101010111000101100101100111110000000001100001011000010001100001011000010000011101010000000000010000000100000100010111111101011111110111110111111101100111111100000001110001111100010001110001111100010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100010111111101110001111100010001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000001000100010111111101110001111100010001100101010001110101011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111000000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000000100010001000001000100000101100000000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100010111111101111111111111111111111111110101010110011111111111111101111101111101111111111110011111111111111111011111011111110110011111111111111111110000000000011111111110000111110111110111110111100111110101100111111110000001111001111101011001110001111100010001010101100100000100011000010110000100010111111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111110010101011111011111011111000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110101111111000100010001110001111100010001111111110000011110011111010110011110011111010110000100010001110111110111000111110001000001000100010111111101110001111100010001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000000000000010001000000000001000000000111110000000001110001111100010001000000010000010000010001000101010110011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000000000000011101111101100001010100010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000101010110010101011001110001011001011000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011101111101100101010111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100000100010000010001000100000101100000000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000100000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000001000100010101011001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001110111110111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100000000000001010101100100000001000001000100000100011111111111111001111101010101111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000000000000000000000000000000000000000011101111100010001000111000111110001000111000000000001000000010000010001000000010000010001000001000101010110011000010110000100000000000001110111110110000101010001000111110000000001110001011001011001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000101010110010000010001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000111011111010000010001110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001100101010001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011000000000000000000000000000000000000000011100000000000100000001000001000100000001000001000101010110010111111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010000010000000000000000000001000000000111011111010000010001110001111100010001111000000000011000010110000100010000000100000100011101111101011111110111110111111101100000000000010101011001000000010000010001111111000000011100011111000100011100011111000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001000001000101010110011000010110000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010000000000000100000100000000000100000000011101111101000001000111000111110001000111100000000001100001011000010001000000010000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100111011111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011000011101010111000101100101100111111111111001010101111101111101111101111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111011111011111111111111111010111111100000000000110000101010001000111111111000001111101111101111101110001111100010001010101100111011111011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111111111111111111100111111111111111011111110111111111010110011001011000010001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000101111111010000010001110001111100010001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100001000100011101111101110001111100010001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110000000000001011111110110000101010001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100000111010101110111110111100111110101100111011111000111010101111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101111111010101011001111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100110010101010101011001110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100000100010001000001000100000101100000000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011101111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001110111110101111111011111011111110110000111010101000001000110000101100001000111111110000001111001111101011001110001111100010001111111111001000100011110011111010101011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100110010101011101111101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110010111111101111001111101011001111111111111111111111111111111111111111111111111100111111111111111110111110111110111110111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001110111110101111111011111011111110110010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001011111110101010110011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100101010110010101011001110001011001011001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100101010110011101111101111001111101011001111111111111111111111111111111111111111111111111100111111111111111110111110111110111110111111111111111111111110000000111111111111001111111111111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111111000000000000000111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111000000011111111111000111110111111101100111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111110110011111111111111111110110011111111101011001111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110010000010001100101010110000101100001000110010101010000010001100001011000010001111100000000011100010110010110010000010110000000000111010101010101100111000101100101100111111111100000000001110001010101010101111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001000001000100000100010000010110000000000100010001000001000100000101100000000111000000000001000001011000000001000001011000000000000000000101111111011000010101000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001011111110111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110000111010101011111110111100111110101100101111111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100111111111111111011111011111010101011001000001000110000101100001000111111110000001111001111101011001110001111100010001011111110001000100011100011111000100011111111111011111110111111111111111110111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111111111111111111100111111111111111011111110111111111010110011001011000010001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000101111111011001010101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000101010110011111111111111101111101111101010101100000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001011111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110000100010000011101010110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100001000100010111111101110001111100010000000000000101111111011000010101000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010101011001000001000110000101100001000101111111011101111101111101111111011001111111100000011110011111010110011100011111000100000100010001011111110111000111110001000111111111110111111101111111111111111101111111111000011111011111011111011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001011111110110010101011110011111010110000100010001100101010110000101100001000111111100000001111001111101011001100001011000010001010101100001000100011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110011111111111111101111101111101010101100111011111011110011111010110011111111110000111110111111101100111100111110101100111011111010101011001111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111011111111111110111110111111111111111110111111111111001111111111111111101111101111111011000010001000111111111111110011111010101011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100101111111010101011001111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100101111111011101111101111101111111011001011111110110010101011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111000000000000000000111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110010000010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111101000001000111000111110001000111111111111111111111111111111111111111111111111100011111011111011111011111011111011111011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111100000100011110011111010101000111010101111111111111110111110111110111111111100001111101111111011001111001111101011001110111110111011111011111011111110110000100010001000001000100000101100000000111111100000001110001111100010001110001111100010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111101111111011111111111111111000111010100011101010111000101100101100111111111100001111101111101111101111001111101011000011101010111011111011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111011111011001010101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000111111111111101111101111111111111111101111111100000011110011111010101011100011111000100000100010000010001000100000101100000000110010101000100010001100001011000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000001000100010000010001000001011000000000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000001110101000000000001000000010000010001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100101010110011001010101110001011001011001111111000000011100010110010110011100010110010110000100010000000000000000000001000000000110010101011101111101111001111101011001111100000000011100011111000100010000000100000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000101010110011000010110000100000000000001100101010100000001000001000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000000000000000000000000000000000000000000100000000000000000000010000000000000000010000000001111110000000000000000000000001110000000000011000010110000100000000000100000000011000000000000100000101100000000000000001000000000000000000000000000000000000000000000001010101100101010110011100010110010110011100000000000100000001000001000100000001000001000001000100011001010101100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111000000000000000000000000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001011111110000000000011000010101000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001100101010100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000110010101010111111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111100100010001111001111101010101011111110000000000011000010101000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111000000111110001100101100001000110010110000100011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011001011000010001100101100001000111100001100101100001000100010110000000010101011001000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000000111010101110111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010000010001000111011111011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111100010001000111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011101111100010001000111000111110001000111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100001110101011100010110010110010111111100000000000110000101010001000111111000000001110001011001011001100001011000010001011111110101010110011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101111111010111111101111101111111011001010101100110010101011100010110010110011111111100000111100111110101100111100111110101100001000100010111111101110001111100010001000001000110010101011000010110000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010000010000011101010110000101100001000101111111011101111101111101111111011001111111100000011110011111010110011100011111000100000100010001100101010110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111010000010001110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100110010101011101111101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010000010001111111111111100111110101010100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011101111101011111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001100101010100000100011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010000010001100001011000010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000111011111010111111101111101111111011000011101010110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001000001000100000100010000010110000000010101011000000000000100000001000001000111000000000001000001011000000001000001011000000000010001000000000000000000000100000000000100010001000001000100000101100000000110000000000001000001011000000000000000010000000001111110000000000000000000000001110000000000010000010110000000010000010110000000011000000000000100000101100000000000000001000000000100000100010101011001100001011000010001100101010101111111011110011111010110011111110000000111100111110101100110000101100001000100000100011101111101110001111100010000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111111111111111111111111111100000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010111111101011111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110000111010100011101010111000101100101100111111111110111111101111111111111111101111111111000011111011111011111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100001000100011000010110000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010001110111110111011111011111011111110110011101111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111110000000000000000000001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110000111010101010101100111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011101111101110111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001100101010101010110011100010110010110010111111100011101010111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111000001000111100111110101010111111111111001111111111111111101111101111101111101111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100000000000010000010000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000001000100011001010101100001011000010001000001000110010101011000010110000100011111000000000111000101100101100100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010111111101010101100111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100010101011001110111110111100111110101100000000000010000010000000000010000000001111100000000011100011111000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110010111111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000001000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100000000000000100010000000000010000000001111100000000011100011111000100010000000100000100010111111101011111110111110111111101100100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001000001000101111111011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100011001010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001000100010000010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000100000100010111111101110001111100010000011101010100000100011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000100000100010000010110000000010000010000000000000000000001000000000110000000000001000001011000000000000000010000000000010001000101010110011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000101010110010101011001110001011001011001100101010101010110011100010110010110011111110000000111000101100101100111000101100101100100000100010101011001100001011000010001000001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111110000000000000000000000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000000000000001100101010100000001000001000001000100011111111111111001111101010101111110000000011100011111000100011000010110000100000100010001111111111111100111110101010100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001100101010101111111011110011111010110010000010001011111110111000111110001000111111110000001111001111101011001110001011001011001111111111100000100011110011111010101011101111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011001010101010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010101011001111111111111110111110111110000000000010111111101100001010100010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000000000000000000000100000000010000010001000001000100000101100000000110000000000001000001011000000000000000010000000000000000000101111111011000010101000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000100000100010101011001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000101010110010101011001110001011001011000010001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011000000000000100000001000001000000000000000000000000000000000000000001000000000000000000000100000000000000000100000000000100010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111110000000000000000000000011100000000000110000101100001000000000001000000000111000000000001100001011000010000000000010000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000101010110010111111101111001111101011001100101010001000100011000010110000100011111110000000111100111110101100110000101100001000100000100000100010001000001011000000001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100111011111000100010001110001111100010001111111000000011100010110010110011100010110010110010000010001110111110111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111110000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001011111110101010110011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011000000000000101010110010000000100000100000000000000010001000000000001000000000110000000000001000001011000000000000000010000000001111111111100000000000000000001111110000000011100011111000100011000010110000100011110000000000110000101100001000100000001000001000101010110010101011001110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000101111111000100010001110001111100010001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001000001000101010110011000010110000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000000000000000000000000000000000000000000000100010000010001000100000101100000000100000000000000000000010000000000000000010000000001111100000000000000000000000001100000000000010000010110000000000000000100000000011000000000000100000101100000000000000001000000000000000000010101011001000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000000000000000100010000000000010000000001000001000101111111011100011111000100011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111000000000000000000000000000000000000000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000011101111101010101100111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111010101100111110111110111110101111111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001000001000110010101011000010110000100011111111111000001000111100111110101010111111100000001111001111101011001100001011000010001000001000001110101011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100000000000011101111101100001010100010001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101111111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001010101100110010101011100010110010110011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100100000100011101111101110001111100010001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100001110101010000010001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010111111101100101010111100111110101100001000100010111111101110001111100010001111111100000011110011111010110011100010110010110010111111101010101100111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110011111111111111101111101111100000000000100000100000000000100000000011111100000000111000111110001000110000101010001000111011111011101111101111101111111011000011101010101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100000000000000000000000000000000000000001110000000000010000000100000100010000000100000100010101011001011111110111100111110101100001000100011101111101110001111100010001111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001011111110101010110011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110000111010101110001011001011001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100101010110010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110011111111111010101100111110111110111110111111111000001111001111101011001111001111101011001010101100101111111011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111011111010000010001110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000000000000011111111111110001010101010101011111110001110101011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000100010001000001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100001000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001010101100101111111011110011111010110000100010000000000000000000001000000000111110000000001110001111100010001000000010000010000010001000001000100010000010110000000011101111101000001000111000111110001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000000000000000000000000000000000000000001000100011111111111111001111101010101111000000000011000010101000100010000000100000100000000000000010001000000000001000000000001000100000100010001000001011000000001100000000000010000010110000000000000000100000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000000010001000100000100010000010110000000011001010101100101010111000101100101100111110000000001100001011000010001100001011000010000010001000001000100010000010110000000010000010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111000000000000000000000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111000000000000000000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111110000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000111011111000100010001110001111100010001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000101010110000100010001100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010001011111110111000111110001000001000100011001010101100001011000010001111110000000011100010110010110011000010110000100000000000001011111110110000101010001000111011111011001010101111001111101011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001000100000000000000000000010000000001000001000101111111011100011111000100011110000000000110000101100001000100000001000001000001000100000000000000000000010000000001010101100100000100011000010110000100011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010101011000011101010111000101100101100111111111111101111101111111111111111101111111111000011111011111011111011110011111010110011111111111010101100111110111110111110110010101000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001011111110111011111011111011111110110010101011000010001000110000101100001000111111110000001111001111101011001110001111100010001000001000111111111111110011111010101010111111101100101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100010101011001100001011000010001111111111001000100011110011111010101011111110000000111100111110101100110000101100001000000000000000100010000000000010000000001000001000001000100010000010110000000011000000000000100000101100000000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010000010001000100000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001010101100000000000010000000100000100010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100011101111101110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100001110101010101011001110001011001011001100101010001110101011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010000010001010101100110000101100001000110010101011001010101110001011001011001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001011111110100000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001011111110111011111011111011111110110010111111100010001000111000111110001000111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011101111101000001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100001000100010111111101110001111100010001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001100101010101010110011100010110010110011001010100010001000110000101100001000111111000000001110001011001011001100001011000010001100101010101010110011100010110010110010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110010000010001100001011000010001011111110001110101011110011111010110011111110000000111100111110101100110000101100001000000000000010101011001000000010000010000000000000101010110010000000100000100011100000000000100000101100000000100000101100000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100000111010100000000000100000001000001000000000000010111111101100001010100010001111000000000011000010110000100010000010110000000010101011001110111110111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001000001000000000000000000000100000000011100000000000110000101100001000000000001000000000101010110010101011001110001011001011001010101100001110101011100010110010110011111110000000111000101100101100111000101100101100111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010000010001010101100110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000000000000000110010101010000000100000100011101111101010101100111100111110101100111111000000001110001111100010001100001011000010000000000000110010101010000000100000100010101011001111111111111110111110111110111111100000001110001111100010001110001111100010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111010000010001110001111100010001010101100001110101011100010110010110011111110000000111000101100101100111000101100101100111111111110101011001111101111101111100000000000101010110010000000100000100011111110000000111000111110001000111000111110001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001100101010101111111011110011111010110000100010000000000000000000001000000000111110000000001110001111100010001000000010000010001010101100101010110011100010110010110000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010000010001100001011000010000000000000000000000000000000000000000011000000000000100000001000001000000000001000000000001000100000111010101100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010101011001100101010111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111101110111110111110111111101100101111111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001010101100111011111011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010000010001000101010110011000010110000100000111010101000001000110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010000010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110000111010101011111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001000001000100000100010000010110000000011111111111010101100111110111110111110111111100000001110001111100010001110001111100010000000000000000000000000000000000000000000100010001010101100110000101100001000110000000000001000000010000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000001000001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010101011001110111110111100111110101100100000100000111010101100001011000010001111111000000011110011111010110011000010110000100000111010101000001000110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100010000010001000001011000000001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000101010110010101011001110001011001011000000000000111011111011000010101000100011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000001110101010000010001100001011000010001111100000000011100010110010110010000010110000000010111111101111111111111111111111111110101111111010101011001111001111101011001111111111100011111111111111111011110011111010110011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001011111110100000100011100011111000100011101111100011101010111100111110101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100011101111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001111111111111011111011111111111111111011111111100000111110111110111110111000111110001000001000100000100010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100000000000010000000100000100000000000001010101100100000001000001000111000000000001000001011000000001000001011000000000000000000100000100000000000100000000010111111101011111110111110111111101100111111000000001110001111100010001100001010100010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000000000000010111111101100001010100010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000001000100010111111101110001111100010001100101010001000100011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000000000000001000001000000000001000000000110010101010101011001110001011001011001111000000000011000010110000100010000000100000100000000000001000001000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000000011101010110010101011100010110010110000100010000011101010110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011001010101010101100111000101100101100001000100000000000000000000010000000001111000000000011000010110000100010000000100000100010000010000000000000000000001000000000001000100000100010001000001011000000001100000000000010000010110000000000000000100000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001000001000100000100010000010110000000010000010000000000000000000001000000000110000000000001000001011000000000000000010000000000010001000001110101011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000111111111111111100000000000000000000000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111100000000000000000000000111000000000001000001011000000001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111110000000000000000000000000001111111111111111111000000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000011111111111111111000000000000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000101010110010101011001110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001110111110111100111110101100000000000000000000000000000000000000001111000000000011000010101000100010000000100000100010101011001000001000110000101100001000001000100011001010101100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000001000100011001010101100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000101010110010111111101111001111101011000000000000101111111011000010101000100011111110000000111100111110101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000000000001110111110110000101010001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000010101011001111111111111110111110111110101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111101010110011111011111011111000100010001011111110111000111110001000111111111000001111001111101011001111001111101011000000000000100000100000000000100000000010101011001010101100111000101100101100111100000000001100001011000010001000000010000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000101111111000100010001110001111100010001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111110111110100000100011100011111000100011111111111000111110111110111110111110111110111110111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001011111110101111111011111011111110110010101011001110111110111100111110101100111111111100001111101111111011001111001111101011000010001000110010101011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000000000000000100010000000000010000000001000001000111011111011100011111000100011110000000000110000101100001000100000001000001000101010110000000000001000000010000010001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100000100010001011111110111000111110001000111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011101111101111111111111111111111111110000000000000100010000000000010000000001111111000000011110011111010101011000010101000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000010001000101111111011100011111000100000000000001011111110110000101010001000111111000000001110001011001011001100001011000010001011111110111011111011111011111110110010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000100010001011111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100010000010001000001000100000101100000000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001110111110100000100011100011111000100000111010101010101100111000101100101100111111100000001110001011001011001110001011001011001010101100111011111011110011111010110000111010100000000000100000001000001000111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111011111010111111101111101111111011001010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111011111010101011001111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100000000000011101111101100001010100010001111111000000011110011111010110011000010110000100010101011001110111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111011111000111010101111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011001010101000001000110000101100001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011001010101000001000110000101100001000101111111011001010101111001111101011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000011101010101111111011110011111010110000100010001111111111111100111110101010111111111000001111101111111011001110001011001011000010001000111011111011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100000000000000111010101000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000001110101010000010001100001011000010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001011111110101111111011111011111110110010000010001110111110111000111110001000111111111000001111001111101011001111001111101011001010101100101010110011100010110010110000000000001011111110110000101010001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000000000000010101011001000000010000010001000001000111111111111110011111010101011111100000000111000111110001000110000101100001000111011111011001010101111001111101011000010001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010111111101011111110111110111111101100000000000011101111101100001010100010001111111100000011110011111010110011100011111000100010111111101011111110111110111111101100101010110010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011000010001000001110101011000010110000100011111111111110111110111111111111111110111111111000001111101111101111101110001111100010000000000000101010110010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111101000001000111000111110001000111111111110000010001111001111101010101111111100000011110011111010110011100010110010110010000010001110111110111000111110001000101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001110111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100010111111100011101010111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101111111011111111111111111111111111101110111110110010101011110011111010110011111111111000111111111111111110111100111110101100111111111110101011001111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011001010101000001000110000101100001000111011111011101111101111101111111011001111111100000011110011111010110011100011111000100010101011001111111111111110111110111110101111111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111110101011001111101111101111101011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111110111111101111111111111111101111111111101010110011111011111011111011111111111100111111111111111110111110111111101100111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111011111110110011111011111110110010101011001010101100111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001100101010100000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000000010001000100000100010000010110000000000111010101000001000110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101111111011001010101111001111101011000000000000110010101010000000100000100011111100000000111000111110001000110000101100001000111011111010101011001111001111101011000000000000100000100000000000100000000011111000000000111000111110001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000000000000110010101010000000100000100010101011001110111110111100111110101100111111000000001110001111100010001100001011000010000000000000100000100000000000100000000011101111100011101010111100111110101100111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100000100010001000001011000000001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000000000000000000000000000000000000000000010001000100000100010000010110000000010000000000000000000001000000000000000001000000000111111100000000000000000000000111000000000001100001011000010000000000010000000001110000000000011000010110000100000000000100000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111100000000000000000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011000011101010111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011101111100000000000110000101010001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000000000000101111111011000010101000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100000000000010000000100000100010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001010101100110000101100001000001110101000100010001100001011000010001111100000000011100010110010110010000010110000000010111111101111111111111111111111111110101010110000000000001000000010000010001111111100000011110011111010101011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001010101100110010101011100010110010110000111010101010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000001000100010101011001100001011000010001110111110000000000011000010101000100011111000000000111000101100101100100000101100000000111011111010111111101111101111111011001111111111111111111111111111111111111111111111111110111111111111111110111111111111111110111111111111111111100000000000111111111000001111101111101111101110001111100010001111111110000011111011111011111011100011111000100010101011001010101100111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110000100010000010001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000100000100010101011001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000101010110011101111101111001111101011000010001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011101111101100101010111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110000111010100011101010111000101100101100111011111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001100101010001000100011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001010101100100000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110000000000001000000010000010001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000000000000010111111101100001010100010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001100101010001000100011000010110000100011101111100000000000110000101010001000111110000000001110001011001011001000001011000000000000000000001000100000000000100000000010000010001000001000100000101100000000110000000000001000001011000000000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000101010110000100010001100001011000010001110111110100000100011100011111000100011111100000000111000101100101100110000101100001000000000000011101111101100001010100010001011111110001110101011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011000011101010111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101111111011110011111010110000000000001110111110110000101010001000111111100000001111001111101011001100001011000010001100101010111011111011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111101011111110111110111111101100101010110000111010101110001011001011001111111110000011110011111010110011110011111010110011101111101011111110111110111111101100001000100000100010001000001011000000001111111000000011100011111000100011100011111000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100100000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001100101010101010110011100010110010110000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100100000100010000010001000001011000000001110111110111011111011111011111110110011111110000000111000111110001000111000111110001000111111111110101011001111101111101111101010101100111011111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001110101010101011001110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111101100101010111100111110101100101111111011001010101111001111101011001111111110000011111011111110110011100010110010110010111111101110111110111110111111101100101111111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001000001000100000100010000010110000000011101111101011111110111110111111101100111111100000001110001111100010001110001111100010000000000000111011111011000010101000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111011111011001010101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000101111111000100010001110001111100010001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000111011111011100011111000100000000000001000001000000000001000000000111100000000001100001011000010001000000010000010000011101010101111111011110011111010110000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101010110011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100100000100010101011001100001011000010001000001000111111111111110011111010101011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011000010001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100000100010001000001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000001110101011000010110000100000000000001110111110110000101010001000111110000000001110001011001011001000001011000000001011111110111011111011111011111110110010111111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011101111101011111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100010000010000011101010110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110100000100011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001100101010101010110011100010110010110000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100100000100011001010101100001011000010001110111110001000100011100011111000100011111100000000111000101100101100110000101100001000111011111011111111111111111111111111101011111110100000100011100011111000100011111111110000111110111110111110111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111110101011001111101111101111101111111111111011111111111111111011111111111111111000000000000010001000000000001000000000100000100000100010001000001011000000001100000000000010000010110000000000000000100000000011111111111111110000000000000011111111000000111100111110101010111000111110001000111111100000001111001111101010101100001010100010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001000100011001010101100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101010101100111111111111111011111011111011111111111000111110111111101100111110111111101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100010101011000011101010111000101100101100101111111011001010101111001111101011001111111100000011110011111010110011100010110010110000111010101010101100111000101100101100110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100111011111011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001010101100101010110011100010110010110010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000101010110010000010001100001011000010001011111110001000100011100011111000100011111100000000111000101100101100110000101100001000000000000010101011001000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110101111111011111011111110110011111111111011111110111111111111111110111111111111001111111111111111101111101111111011001010101100001000100011000010110000100000111010101100101010111000101100101100111111000000001110001011001011001100001011000010001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000101010110010111111101111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111101111101111111111111111101110111110101111111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011101111101010101100111100111110101100110010101011101111101111001111101011001111111110000011111011111110110011100010110010110010101011000011101010111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111011111011111111111111111011101111101000001000111000111110001000111111111100001111101111101111101111001111101011000000000000101010110010000000100000100011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100101111111010111111101111101111111011001111111110000011110011111010110011110011111010110010111111101100101010111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100110010101011100010110010110011111111111000001000111100111110101010111111110000001111001111101011001110001011001011001010101100101010110011100010110010110011111111111111111111111111111111111111111111111110001111101111101111101111101111101111101111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111000000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100110010101000100010001100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000001000100000100010001000001011000000001010101100111111111111111011111011111011111110000000111000111110001000111000111110001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010101011000010001000110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000010111111101011111110111110111111101100001000100010111111101110001111100010001111111110000011110011111010110011110011111010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000001110101011101111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010000010000010001000100000101100000000101111111010000010001110001111100010001111100000000011000010110000100011000010110000100011111111111010101100111110111110111110001110101010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100100000100011000010110000100010000010000011101010110000101100001000111110000000001110001011001011001000001011000000001000001000111011111011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000101010110010000010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000001110101000100010001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100111011111011110011111010110011111111111100101010111110111110111110111111111100001111101111111011001111001111101011000011101010001110101011100010110010110000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100000000000010111111101100001010100010001100101010101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010000010001000001000100000101100000000111011111010101011001111001111101011001111110000000011100011111000100011000010110000100010101011001010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000000010001000000000000000000000100000000010101011000000000000100000001000001000110000000000001000001011000000000000000010000000001000001000111011111011100011111000100010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000111000111110001000100000001000001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001111111111111110111110111110101010110010000010001100001011000010001111111100000011110011111010110011100011111000100010000010000010001000100000101100000000101111111011001010101111001111101011001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110100000100011100011111000100011111111110010001000111100111110101010111111110000001111001111101011001110001011001011001000001000100000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111011111010000010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100000000000000100010000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010111111101000001000111000111110001000111111111110101011001111101111101111101111111110000011110011111010110011110011111010110000100010000010001000100000101100000000000000000011001010101000000010000010001110000000000010000010110000000010000010110000000011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100011001010101100001011000010000000000000110010101010000000100000100011110000000000110000101100001000100000101100000000100000100000100010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011101111101011111110111110111111101100100000100010000010001000001011000000001111111000000011100011111000100011100011111000100000111010100010001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111011111011111111111111111000100010001111111111111100111110101010111111111110001111111111111111101111001111101011001111111111101010110011111011111011111000111010101011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111011111010111111101111101111111011001111111111001000100011110011111010101011111111110000111110111111101100111100111110101100111011111010111111101111101111111011001011111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111100000000000000000111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001010101100101111111011110011111010110011111111111011111110111111111111111110111111111110001111111111111111101111001111101011001011111110101111111011111011111110110010101011001111111111111110111110111110111111111110001111101111111011001111101111111011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100101010110000000000001000000010000010001011111110101010110011110011111010110011111100000000111000111110001000110000101100001000100000100010101011001100001011000010000011101010101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110010000010001000001000100000101100000000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000010000010001011111110111000111110001000100000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000000000000001110101010000000100000100011101111100000000000110000101010001000111100000000001100001011000010001000001011000000000010001000101010110011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000001110101000111010101110001011001011001111110000000011100010110010110011000010110000100000000000000010001000000000001000000000001000100000100010001000001011000000001100000000000010000010110000000000000000100000000011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000000000000000000000000000000000000000000010101011000000000000100000001000001000100000000000000000000010000000000000000010000000000010001000001000100010000010110000000010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001111100000000000000000000000001100000000000010000010110000000000000000100000000011000000000000100000101100000000000000001000000000111111111111111000000000000000000000000000000000000000000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000011111111111111111110000000000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000001110101011101111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100000000000010111111101100001010100010001000001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100000100010000010001000100000101100000000110010101010101011001110001011001011001111100000000011000010110000100011000010110000100010111111101100101010111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111011101111101111101111111011001100101010101010110011100010110010110011111111100000111100111110101100111100111110101100111011111000100010001110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111100101010111110111110111110110010101000000000001000000010000010001111111000000011100011111000100011100011111000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010000000000000000000000000000000000000000010101011000011101010111000101100101100111000000000001000000010000010001000000010000010000000000000101010110010000000100000100010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000001110101000111010101110001011001011001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111011111010111111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001010101100101010110011100010110010110011001010101000001000110000101100001000111111000000001110001011001011001100001011000010000000000000100000100000000000100000000000100010000010001000100000101100000000110000000000001000001011000000000000000010000000001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000101010110010111111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000001000100000100010001000001011000000001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000000111010100011101010111000101100101100111011111010000010001110001111100010001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000000000000000000000100000000010111111101000001000111000111110001000111100000000001100001011000010001000000010000010001010101100111011111011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011001010100000000000100000001000001000110010101010000010001100001011000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100101010110011100010110010110010101011000000000000100000001000001000111110000000001100001011000010001100001011000010001111111111001000100011110011111010101011101111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000100000100000000000000000000010000000001000001000001110101011000010110000100011100000000000110000101100001000000000001000000000100000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000000111010100010001000110000101100001000000000000011111111111110001010101010101111110000000011100010110010110011000010110000100011101111100010001000111000111110001000100000100000000000000000000010000000001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000100000100010101011001100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000101010110010101011001110001011001011000010001000001110101011000010110000100011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010000010001111111111111100111110101010101010110000100010001100001011000010001111111000000011110011111010110011000010110000100000000000001010101100100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111100000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001110111110100000100011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001010101100111011111011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100101111111011101111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000001000100000100010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100111011111011110011111010110011111111110010001000111100111110101010111111111000001111101111111011001110001011001011000011101010111111111111111011111011111000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101111111011001010101111001111101011000010001000111011111011100011111000100011111111000000111100111110101100111000101100101100001000100010111111101110001111100010001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000000000000000000000000000000000000000111011111010101011001111001111101011001111000000000011000010101000100010000000100000100010000010001110111110111000111110001000000000000011101111101100001010100010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001011111110000000000011000010101000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000011101111100000000000110000101010001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001010101100111011111011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010001010101100101111111011110011111010110011001010100010001000110000101100001000111111100000001111001111101011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111110000000000000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000001000100011101111101110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111110101011001111101111101111101010101100101111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010000010001110111110111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011001010100011101010111000101100101100101111111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110000111010101110001011001011000011101010111011111011110011111010110011111111000000111100111110101100111000101100101100001110101010111111101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011101111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100001110101011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111011111011111111111111111011001010101000001000110000101100001000111111111000001111101111101111101110001111100010001000001000111111111111110011111010101011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110011111111111111101111101111101110111110101010110011110011111010110011111111110000111110111111101100111100111110101100000000000000100010000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100100000100011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010000010001000101111111011100011111000100000100010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110011001010101110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100001000100010111111101110001111100010001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110000100010001100101010110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100001000100011000010110000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001110111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100101111111000000000001100001010100010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000010001000000000000000000000100000000000000000001011111110110000101010001000111000000000001100001011000010000000000010000000001011111110001110101011110011111010110000100010001100101010110000101100001000111111100000001111001111101011001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000110010101010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100110010101000100010001100001011000010001111111111001000100011110011111010101011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111101000001000111000111110001000100000100011101111101110001111100010001111111000000011100010110010110011100010110010110010000010000010001000100000101100000000000000000000100010000000000010000000001100000000000010000010110000000000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000101010110010000010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000101010110011001010101110001011001011001110111110100000100011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111101010110010111111101111001111101011001111111111110011111111111111111011111011111011111011101111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001110111110001000100011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001000001000001110101011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110000111010101110001011001011000010001000111111111111110011111010101011111111000000111100111110101100111000101100101100111011111010000010001110001111100010001000001000110010101011000010110000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111010111111100000000000110000101010001000111111110000001111001111101011001110001111100010000010001000001000100010000010110000000000111010101000001000110000101100001000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111011111011001010101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000000000000010111111101100001010100010001011111110001000100011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010101011001111111111111110111110111110001000100011001010101100001011000010001111111100000011110011111010110011100011111000100011101111100011101010111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111000100010001110111110111000111110001000111111111000001111001111101011001111001111101011001010101100101111111011110011111010110010111111100011101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110000000000001010101100100000001000001000001110101011001010101110001011001011001111100000000011000010110000100011000010110000100000100010001011111110111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111001000100011110011111010101011101111101011111110111110111111101100111111111100001111101111111011001111001111101011000011101010101010110011100010110010110010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101010110011101111101111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111011111011101111101111101111111011001110111110111111111111111111111111111011111111111100111111111111111110111110111111101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011001010101000001000110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100010111111101011111110111110111111101100111111111110101011001111101111101111101111111111100011111011111110110011111011111110110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110000111010101110001011001011000011101010101111111011110011111010110011111111000000111100111110101100111000101100101100001110101010111111101111001111101011001110111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000111010101000001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000010111111100000000000110000101010001000101010110011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001100101010101010110011100010110010110000000000001000001000000000001000000000111100000000001100001011000010001000000010000010001000001000000000000000000000100000000000100010001100101010110000101100001000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000101010110011001010101110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100001000100000000000000000000010000000001011111110001000100011100011111000100011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000000000000100000100000000000100000000010111111101010101100111100111110101100111110000000001110001111100010001000000010000010000010001000101010110011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010111111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100001110101010101011001110001011001011000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111100000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011101111100010001000111000111110001000110010101000100010001100001011000010001111110000000011100010110010110011000010110000100010101011001110111110111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000001110101011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001011111110001000100011100011111000100000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010001110111110111000111110001000101111111010000010001110001111100010001111111000000011100010110010110011100010110010110010101011001111111111111110111110111110101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100110010101011100010110010110010111111101110111110111110111111101100111111111000001111001111101011001111001111101011000010001000100000100010000010110000000011101111100000000000110000101010001000111100000000001100001011000010001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000100000100011001010101100001011000010001110111110111111111111111111111111111011111111100000111110111110111110111000111110001000001000100011111111111111001111101010101010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010111111101000001000111000111110001000001110101000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111110111110111111111111111110000000000010101011001000000010000010001111111100000011110011111010101011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011000011101010000000000010000000100000100011111100000000111000111110001000110000101100001000111011111011111111111111111111111111100011101010101010110011100010110010110011111111110000111110111110111110111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010101011001110111110111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100000100010001010101100110000101100001000000000000011101111101100001010100010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001000001000101010110011000010110000100010111111100010001000111000111110001000111111000000001110001011001011001100001011000010000000000000101010110010000000100000100000000000001010101100100000001000001000111000000000001000001011000000001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101111111011111111111111111111111111100010001000101111111011100011111000100011111111110000111110111110111110111100111110101100101010110010101011001110001011001011000000000000110010101010000000100000100011111000000000110000101100001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001000001000101010110011000010110000100010000010000011101010110000101100001000111110000000001110001011001011001000001011000000001110111110000000000011000010101000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000110010101000100010001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111100101010000000000010000000100000100011111111100000111100111110101010111100111110101010111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000000000000000000000000000000000000000111011111000100010001110001111100010001110000000000010000000100000100010000000100000100000000000001010101100100000001000001000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001010101100101010110011100010110010110000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001010101100101010110011100010110010110011001010100000000000100000001000001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010111111100000000000110000101010001000110010101000100010001100001011000010001111100000000011100010110010110010000010110000000011001010101000001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001000001000101111111011100011111000100000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001010101100111011111011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111011111011001010101111001111101011001100101010001000100011000010110000100011111110000000111100111110101100110000101100001000000000000010000010000000000010000000001111111111001000100011110011111010101011111000000000111000111110001000100000001000001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011101111101110111110111110111111101100101111111010101011001111001111101011001111111111000011111011111110110011110011111010110000000000001111111111111000101010101010101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100001110101010101011001110001011001011001011111110110010101011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011101111101011111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011101111101010101100111100111110101100111111111110111111101111111111111111101111111111100011111111111111111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011000000000000100000100000000000100000000011111111110010001000111100111110101010111110000000001110001111100010001000000010000010001110111110100000100011100011111000100010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110010000010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000000000001000001000000000001000000000111100000000001100001011000010001000000010000010001100101010001000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111110101011001111101111101111100000000000000000000000000000000000000011111000000000110000101010001000110000101010001000101111111000100010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111100000000000000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010111111101000001000111000111110001000111011111010000010001110001111100010001111111000000011100010110010110011100010110010110010000010001011111110111000111110001000001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100011111111110000000000111000101010101010111111000000001110001011001011001100001011000010001010101100111011111011110011111010110011111111110010001000111100111110101010111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000000000000000000000000000000000000000011111111111010101100111110111110111110111110000000001100001010100010001100001010100010001110111110100000100011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000110010101010101011001110001011001011001100101010101010110011100010110010110011111110000000111000101100101100111000101100101100110010101000100010001100001011000010001110111110001000100011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011101111100000000000110000101010001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100010000010001000001000100000101100000000000000000000000000000000000000000000001000000000000000000000100000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000001000001000111000000000001100001011000010000000000010000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000000000000011001010101000000010000010001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111011111110111111111111111110111011111010111111101111101111111011001111111111110011111111111111111011111011111110110000111010101000001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111110000000000011111111110000111110111110111110111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111000000011111111111111111111111111110000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001010101100111011111011110011111010110011001010101011111110111100111110101100111111111000001111101111111011001110001011001011000000000000100000100000000000100000000010101011001111111111111110111110111110111111000000001110001111100010001100001010100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110010000010001100001011000010000010001000001110101011000010110000100011111000000000111000101100101100100000101100000000111111111110101011001111101111101111101000001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100001000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000001000100011001010101100001011000010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000000000000000111010101000000010000010000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010111111100011101010111100111110101100000000000010000010000000000010000000001111100000000011100011111000100010000000100000100010101011001011111110111100111110101100110010101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001011111110001000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010000010001000110010101011000010110000100011001010100010001000110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010111111101000001000111000111110001000001000100010111111101110001111100010001111111000000011100010110010110011100010110010110010000010000010001000100000101100000000110010101000111010101110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001110111110001000100011100011111000100010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111110010101011111011111011111010111111100000000000110000101010001000111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110010101011001110001011001011001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100101010110011111111111111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110000100010000011101010110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000011111111111110111110111111111111111110101010110010101011001110001011001011001111111111000011111011111011111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100011111111111111001111101010101010101100101010110011100010110010110011111111000000111100111110101100111000101100101100100000100000100010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100100000100010111111101110001111100010001111111000000011100010110010110011100010110010110011001010101110111110111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001011111110100000100011100011111000100011001010101111111111111110111110111110111111111000001111001111101011001111001111101011001111111111101111111011111111111111111011101111100010001000111000111110001000111111111100001111101111101111101111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111011111010101011001111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110011101111101111001111101011001011111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111000000000000000000000111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001011111110101010110011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001000001000101111111011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100001000100011001010101100001011000010001110111110101111111011111011111110110011111111000000111100111110101100111000111110001000100000100011001010101100001011000010001011111110110010101011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001000001000110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001100101010110010101011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001000001000101010110011000010110000100010111111100011101010111100111110101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111110111110111111111111111110101010110010111111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010000010001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110000100010001100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000101010110000100010001100001011000010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010000010001000100000101100000000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000010000010000010001000100000101100000000001000100011001010101100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000001000100010000010001000001011000000001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000101010110011101111101111001111101011000011101010000000000010000000100000100011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010000010000010001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000111011111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111000000000000000000000011111111111111111111100000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000000010001000101111111011100011111000100010111111100000000000110000101010001000111111000000001110001011001011001100001011000010001010101100111111111111111011111011111010111111101100101010111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000101010110010111111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111101111101111111111111111100000000000111011111011000010101000100011111111100000111110111110111110111000111110001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000000010001000111011111011100011111000100011001010100011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111011111011001010101111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111011111000111010101111001111101011000010001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010000010001010101100110000101100001000111011111011101111101111101111111011001111111100000011110011111010110011100011111000100010101011001010101100111000101100101100000000000000000000000000000000000000001110000000000010000000100000100010000000100000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001010101100000000000010000000100000100000100010001000001000100000101100000000111000000000001000001011000000001000001011000000001000001000101010110011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000000100010000000000000000000001000000000100000100000000000000000000010000000001000000000000010000010110000000000000000000000000011111000000000000000000000000011000000000000100000101100000000000000001000000000110000000000001000001011000000000000000010000000001010101100101010110011100010110010110011101111100000000000110000101010001000111111000000001110001011001011001100001011000010001100101010110010101011100010110010110000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111100000000000000000000000000000000000000000001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111111111111111111111111100000000000000000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000100000100000100010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000101010110010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100000111010101011111110111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100010101011001010101100111000101100101100001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000001000100011001010101100001011000010001011111110111111111111111111111111111011111111100000111110111110111110111000111110001000001000100011111111111111001111101010101010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011101111100011101010111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001010101100101111111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001011111110100000100011100011111000100011111111111000001000111100111110101010111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110000111010101110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000001000100010000010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001011111110110010101011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001110111110101010110011110011111010110000000000001011111110110000101010001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110000000000001000000010000010001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000101010110011111111111111101111101111101000001000001000100010000010110000000011111110000000111000111110001000111000111110001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000000100010000000000000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100010101011001000001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001011111110101010110011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010001000001000101111111011100011111000100000000000000000000000000000000000000000111000000000001000000010000010001000000010000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000101010110011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000000111010101110111110111100111110101100111111000000001110001111100010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000100000100000100010001000001011000000001110111110110010101011110011111010110011111100000000111000111110001000110000101100001000100000100000100010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000000100010000010001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000010000010001110111110111000111110001000001110101011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101010110010111111101111001111101011001000001000001000100010000010110000000011111100000000111000111110001000110000101100001000101010110000100010001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011101111101100101010111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011001010101110111110111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000001000100010000010110000000010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001010101100110010101011100010110010110010111111101100101010111100111110101100111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000001000100010111111101110001111100010001000001000001110101011000010110000100011111100000000111000101100101100110000101100001000001110101000000000001000000010000010000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010000011101010111011111011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000001000100010101011001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000100010001110111110111000111110001000101010110011111111111111101111101111101111111110000011110011111010110011110011111010110011111111111111111111111111111111111111101010110011111111111111101111101111101111111111111011111111111111111011111111111111111011111111111111111111111000000011111111111000111111111111111110111100111110101100111111111110001111111111111111101111001111101011001011111110100000100011100011111000100010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111000000000011100010101010101000000000001011111110110000101010001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011101111101111111111111111111111111110101111111010000010001110001111100010001111111111000011111011111011111011110011111010110011101111101111111111111111111111111110001110101010111111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001010101100110010101011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100000111010101110111110111100111110101100111111100000001111001111101011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100101010110000100010001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000001000100010000010001000001011000000000011101010000000000010000000100000100011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010111111101000001000111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011101111101100101010111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000101111111010000010001110001111100010001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100101010110000000000001000000010000010001000001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011101111101000001000111000111110001000100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000000000000000110010101010000000100000100011101111101000001000111000111110001000111110000000001100001011000010001100001011000010000000000000001110101010000000100000100010000010000000000000000000001000000000110000000000001000001011000000000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000001110101000100010001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111110000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001000001000101010110011000010110000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110010111111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111110101011001111101111101111101100101010000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010000010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100110010101011100010110010110000000000000000000000000000000000000000111000000000001000000010000010001000000010000010001000001000101010110011000010110000100010111111101110111110111110111111101100111111110000001111001111101011001110001111100010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000000000001011111110110000101010001000111011111000111010101111001111101011001111111000000011110011111010110011000010110000100000000000000000000000000000000000000000000000000010000010000000000010000000000000000000000000000000100000000000000000000000000011111111000000000000000000000011110000000000110000101100001000100000001000001000111000000000001000000010000010001000000010000010001010101100001000100011000010110000100011101111100000000000110000101010001000111110000000001110001011001011001000001011000000001000001000111011111011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000100000100010101011001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111011111010101011001111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000100010001011111110111000111110001000001000100011111111111111001111101010101111111100000011110011111010110011100010110010110010111111101010101100111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100100000100011111111111111001111101010101110111110001000100011100011111000100011111111000000111100111110101100111000101100101100101010110010101011001110001011001011000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011101111100000000000110000101010001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000000000000001010101100100000001000001000001110101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001110111110001110101011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010000010001000101111111011100011111000100011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111000111010101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000100000100000100010001000001011000000000000000000100000100000000000100000000011000000000000100000101100000000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100111011111011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100010000010000011101010110000101100001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101111111010111111101111101111111011001100101010110010101011100010110010110011111111100000111100111110101100111100111110101100001000100000111010101100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111100010001000111000111110001000101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011101111101111111111111111111111111110101111111011111111111111111111111111101111111111111011111111111111111111111011111110110011111111111111111111100000000011111111110000111110111110111110111100111110101100111111111100001111101111101111101111001111101011001011111110111111111111111111111111111010101011000011101010111000101100101100111111111100001111101111101111101111001111101011001110111110001000100011100011111000100000000000001000001000000000001000000000111100000000001100001011000010001000000010000010001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110001000100010000010001000001011000000001111111000000011100011111000100011100011111000100000100010001011111110111000111110001000001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100110010101011100010110010110011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110000100010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111011111111111111111111111111101010101100110010101011100010110010110011111111110000111110111110111110111100111110101100101010110010111111101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011001010100011101010111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100001110101010101011001110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011001010100011101010111000101100101100101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111000001000111100111110101010111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011000000000000001110101010000010000010001010101100101111111011111111101011001010101100001000100011001011000010001111111111100000100011111111101010100000000000101010110010000010000010001010101100101010110011101011001011001111111111111011111011111111111111101010101100101010110011101011001011001010101100101111111011111111101011001011111110101010110011111111101011001010101100101010110011101011001011001010101100000000000010000010000010001000001000000000000000000010000000001000001000000000000000000010000000001010101100101111111011111111101011001100101010001000100011001011000010001011111110101010110011111111101011001011111110101010110011111111101011001111111111101010110011111111101111101000001000101010110011001011000010001100101010001000100011001011000010001011111110001110101011111111101011001110111110001110101011111111101011001000001000001000100010001011000000001010101100110010101011101011001011001110111110101111111011111111111011001010101100101010110011101011001011001100101010101010110011101011001011001100101010001000100011001011000010001110111110001000100011101111100010001000001000101010110011001011000010001110111110101111111011111111111011001100101010001000100011001011000010000010001000001000100010001011000000001000001000101010110011001011000010001100101010100000100011001011000010001010101100101010110011101011001011001010101100001000100011001011000010001110111110001110101011111111101011001110111110001110101011111111101011001100101010101010110011101011001011001111111111100000100011111111101010101011111110001000100011101111100010000000000000101111111011001010100010000000000000001110101010000010000010001110111110111011111011111111111011001100101010101010110011101011001011001100101010001000100011001011000010001010101100001110101011101011001011001100101010101010110011101011001011001110111110101010110011111111101011001100101010001000100011001011000010000000000000001000100000000010000000001010101100000000000010000010000010000000000000001000100000000010000000001010101100001000100011001011000010001000001000100000100010001011000000000000000000001000100000000010000000001011111110101010110011111111101011000000000000001000100000000010000000001000001000101010110011001011000010001000001000001000100010001011000000001000001000001000100010001011000000001000001000101111111011101111100010001110111110101111111011111111111011001100101010111011111011111111101011001111111111101010110011111111101111101010101100000000000010000010000010001000001000101010110011001011000010001111111111101010110011111111101111101000001000100000100010001011000000000010001000000000000000000010000000001011111110111111111111111111111111101010101100101010110011101011001011001111111111001000100011111111101010101111111111101010110011111111101111100010001000101111111011101111100010001000001000101111111011101111100010001000001000001000100010001011000000001100101010101010110011101011001011001010101100101010110011101011001011000010001000001000100010001011000000001010101100000000000010000010000010001010101100101010110011101011001011001110111110000000000011001010100010001110111110000000000011001010100010001111111111001000100011111111101010101010101100101010110011101011001011001111111111110010101011111111101111101011111110110010101011111111101011000011101010001000100011001011000010001111111111100000100011111111101010101110111110001110101011111111101011001100101010001000100011001011000010001100101010101010110011101011001011000000000000101111111011001010100010001000001000101010110011001011000010001010101100100000100011001011000010001111111111101010110011111111101111101011111110110010101011111111101011001011111110101010110011111111101011001110111110001110101011111111101011001000001000001110101011001011000010001000001000110010101011001011000010001000001000001000100010001011000000001010101100101111111011111111101011001011111110100000100011101111100010001000001000101111111011101111100010001010101100000000000010000010000010001110111110001000100011101111100010001010101100001110101011101011001011001010101100001000100011001011000010001000001000001000100010001011000000000010001000001000100010001011000000001010101100100000100011001011000010000010001000101111111011101111100010000010001000101010110011001011000010001000001000000000000000000010000000001010101100001000100011001011000010001100101010001000100011001011000010001010101100001110101011101011001011001000001000101111111011101111100010001000001000101010110011001011000010001111111111101010110011111111101111101010101100101010110011101011001011001010101100001110101011101011001011001100101010001000100011001011000010001011111110001000100011101111100010001011111110101111111011111011111110110000100010001111111111111100111110101010111111111100001111101111111011001111001111101011000010001000101010110011000010110000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100001110101000100010001100001011000010001011111110001000100011100011111000100011111100000000111000101100101100110000101100001000001110101011101111101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000011101010111111111111111011111011111010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001010101100001000100011000010110000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000110010101011101111101111001111101011000011101010100000100011000010110000100011111110000000111100111110101100110000101100001000111011111011111111111111111111111111101011111110111011111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010101011001110111110111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110000000000001011111110110000101010001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000101111111011100011111000100010101011001100101010111000101100101100111111100000001110001011001011001110001011001011000000000000101010110010000000100000100010000010001011111110111000111110001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110010101011000000000000100000001000001000111011111000111010101111001111101011001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000011101010101010110011100010110010110000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001010101100000000000010000000100000100010101011000000000000100000001000001000111000000000001000001011000000001000001011000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101010110011101111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000001000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111100011101010111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110010000010001011111110111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001110101011001010101110001011001011000011101010001110101011100010110010110011111110000000111000101100101100111000101100101100111111111100100010001111001111101010101111111111101111111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110000111010101010101100111000101100101100001110101011001010101110001011001011001111111000000011100010110010110011100010110010110011001010101110111110111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100111011111011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010001010101100001110101011100010110010110011001010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001000100010111111101110001111100010001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100001000100010000010001000001011000000001100101010100000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111000000000000000111111110000001111001111101011001110001111100010001111110000000011100011111000100011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001011111110111011111011111011111110110010111111101010101100111100111110101100111111111100001111101111111011001111001111101011000010001000001000100010000010110000000010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000101010110011111111111111101111101111100000000000110010101010000000100000100011111110000000111000111110001000111000111110001000000000000010111111101100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010101011000000000000100000001000001000111011111010111111101111101111111011001111111000000011100011111000100011100011111000100010000010001011111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100110010101011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001110111110100000100011100011111000100010000010000011101010110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000000000000001010101100100000001000001000000000000010000010000000000010000000001100000000000010000010110000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001110111110111011111011111011111110110011101111100011101010111100111110101100111111111100001111101111111011001111001111101011001011111110001110101011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000000000000011101111101100001010100010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000110010101010111111101111001111101011001100101010101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010000010001011111110111000111110001000101111111000000000001100001010100010001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000101010110011001010101110001011001011001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001011111110110010101011110011111010110011111111000000111100111110101100111000101100101100101111111000111010101111001111101011000000000000111011111011000010101000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100100000100010101011001100001011000010001111111100000011110011111010110011100011111000100000111010101000001000110000101100001000101010110011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100101111111011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001110111110001000100011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001110101000111010101110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100101111111010111111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001000001000111011111011100011111000100000100010001111111111111100111110101010111111110000001111001111101011001110001011001011001000001000001000100010000010110000000010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000100000100000100010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000000000000000111010101000000010000010001111111111101010110011111011111011111011111110000000111000111110001000111000111110001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111000000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100000000000001000001000000000001000000000100000100000100010001000001011000000001100000000000010000010110000000000000000100000000000111010101110111110111100111110101100001110101010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001110001111100010001000000010000010001010101100001110101011100010110010110010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001010101100001000100011000010110000100011101111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000000000000001010101100100000001000001000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000010000010001010101100110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000000000000000110010101010000000100000100000100010000000000000000000001000000000110000000000001000001011000000000000000010000000001000001000101010110011000010110000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111100000000000000000000000000000000000000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111111100000000000000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000001110101010000010001100001011000010001011111110111111111111111111111111111011111111100000111110111110111110111000111110001000111011111010101011001111001111101011000000000000111111111111100010101010101011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011101111100000000000110000101010001000111111111110000010001111001111101010101111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110000111010101110001011001011001100101010111011111011110011111010110011111111000000111100111110101100111000101100101100101010110010101011001110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011001010101010101100111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100000111010101011111110111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001110111110001110101011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001110111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101111111000111010101111001111101011001000001000111111111111110011111010101011111111100000111110111111101100111000101100101100111011111010111111101111101111111011001011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001110111110101111111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001110111110101010110011110011111010110010101011000000000000100000001000001000111111000000001110001111100010001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111110101011001111101111101111101110111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111001010101111101111101111101111111111100000100011110011111010101011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100010101011001000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000101111111011100011111000100011101111100011101010111100111110101100111111110000001111001111101011001110001011001011001110111110111011111011111011111110110000000000000011101010100000001000001000111111100000001110001111100010001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000111010100000000000100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011101111101100101010111100111110101100101111111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001010101100000000000010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001100101010001000100011000010110000100000111010101100101010111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101010110010101011001110001011001011001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000001000100010101011001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100111111111100100010001111001111101010101111111110000011111011111110110011100010110010110000100010001000001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000000000000010101011001000000010000010001011111110001110101011110011111010110011111100000000111000111110001000110000101100001000000000000000100010000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000010101011001011111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000010001000100000100010000010110000000010101011000000000000100000001000001000111000000000001000001011000000001000001011000000000000000000001110101010000000100000100000111010100000000000100000001000001000111000000000001000001011000000001000001011000000001111111000000000000000000000001110000000000010000010110000000010000010110000000011100000000000100000101100000000100000101100000000101010110011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100110010101011101111101111001111101011000000000000111011111011000010101000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010000010001000000000000000000000100000000010000010001110111110111000111110001000111100000000001100001011000010001000000010000010001010101100100000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110010000010001100001011000010000010001000101111111011100011111000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010000000000000000000000000000000000000000011000000000000100000001000001000000000001000000000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011000011101010111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110010101011001110111110111100111110101100111011111011111111111111111111111111101111111111100011111111111111111011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010001010101100101111111011110011111010110011001010101111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010000010001111111111111100111110101010111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011101111101010101100111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001110111110110010101011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001110111110101010110011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111110000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100101010110010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100000100010000010001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011101111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001000001000111111111111110011111010101011111100000000111000111110001000110000101100001000111011111010111111101111101111111011001011111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100101010110011001010101110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100001000100011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001011111110101111111011111011111110110010101011001000001000110000101100001000111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111011111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100101111111010101011001111001111101011000011101010001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110011101111100010001000111000111110001000111111110000001111001111101011001110001011001011001011111110101111111011111011111110110011101111101111111111111111111111111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100110010101010111111101111001111101011001000001000111111111111110011111010101011111111100000111110111111101100111000101100101100101010110010000010001100001011000010001111111111111011111011111111111111111011111111100000111110111110111110111000111110001000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110000100010000011101010110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000000111010100010001000110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001010101100100000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001100101010101010110011100010110010110000111010100010001000110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010000000000000000000001000000000101010110011101111101111001111101011001111100000000011100011111000100010000000100000100010111111101110111110111110111111101100001000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010000010001000110010101011000010110000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000001000001000001000100010000010110000000011111111111010101100111110111110111110111111100000001110001111100010001110001111100010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111110000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101010110011101111101111001111101011000000000000101111111011000010101000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000000111010100000000000100000001000001000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100000100010001000001011000000000010001000110010101011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011101111101110111110111110111111101100100000100000111010101100001011000010001111111100000011110011111010110011100011111000100010111111101110111110111110111111101100100000100011111111111111001111101010101111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100101111111011110011111010110010000010000000000000000000001000000000111110000000001110001111100010001000000010000010001010101100000000000010000000100000100010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101111111011101111101111101111111011000000000000100000100000000000100000000011111100000000111000111110001000110000101010001000110010101010111111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000100000100010000010110000000010000010001110111110111000111110001000111110000000001100001011000010001100001011000010000010001000110010101011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110000000000001000000010000010001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000101111111000100010001110001111100010001100101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111100000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011101111100010001000111000111110001000001000100011101111101110001111100010001111111000000011100010110010110011100010110010110000000000000010001000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000000000000111011111011000010101000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100001000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011000011101010111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010000011101010101010110011100010110010110011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111110101011001111101111101111101110111110111111111111111111111111111011111111111100111111111111111110111110111111101100101111111011111111111111111111111111101010101100101111111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111011111110110011111011111110110010000010000000000000000000001000000000111111111111101111101111111111111111101111111000000011110011111010101011000010101000100000111010101010101100111000101100101100110010101011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111100000000000000000000011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100101010110010101011001110001011001011001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100100000100010000010001000001011000000001011111110110010101011110011111010110011111100000000111000111110001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100111011111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111110111110111111111111111110001000100010101011001100001011000010001111111110000011111011111011111011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001011111110001000100011100011111000100011001010100010001000110000101100001000111111000000001110001011001011001100001011000010000010001000101010110011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100000000000000000000000000000000000000001000001000100000100010000010110000000010000000000000000000001000000000000000001000000000111111111110000000000000000000111110000000001110001111100010001000000010000010001111100000000011100011111000100010000000100000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000010001000111011111011100011111000100000100010001000001000100000101100000000111110000000001100001011000010001100001011000010000000000000000000000000000000000000000011001010101010101100111000101100101100111000000000001000000010000010001000000010000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000001000100010101011001100001011000010000011101010001000100011000010110000100011111000000000111000101100101100100000101100000000000000000010111111101100001010100010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111111111111110000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111100000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010111111101000001000111000111110001000111011111011101111101111101111111011001111111110000011110011111010110011110011111010110010111111100011101010111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110000000000011000010101000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001010101100100000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011001010101011111110111100111110101100101111111011111111111111111111111111101111111111100011111111111111111011110011111010110010111111100010001000111000111110001000001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001110111110111011111011111011111110110000100010001010101100110000101100001000111111110000001111001111101011001110001111100010000010001000111011111011100011111000100011111111111010101100111110111110111110111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111010000010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101010110011101111101111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101110111110111110111111101100101111111000100010001110001111100010001111111110000011110011111010110011110011111010110000100010001011111110111000111110001000101111111011001010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101111111011101111101111101111111011000010001000001000100010000010110000000011111110000000111000111110001000111000111110001000110010101010000010001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110010101011000011101010111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000010001000100000100010000010110000000011101111100000000000110000101010001000111100000000001100001011000010001000001011000000000010001000101010110011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000100000100000100010001000001011000000000010001000001110101011000010110000100011110000000000110000101100001000100000101100000000111011111010111111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001010101100001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100011001010101100001011000010000010001000101111111011100011111000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001000001000110010101011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010101011001111111111111110111110111110001000100011101111101110001111100010001111111110000011110011111010110011110011111010110010111111101110111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100001110101011100010110010110010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001100101010110010101011100010110010110011001010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001100101010111000101100101100111111111110000010001111001111101010101111111100000011110011111010110011100010110010110000100010001010101100110000101100001000101010110011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100001000100011000010110000100000000000001110111110110000101010001000111110000000001110001011001011001000001011000000000011101010100000100011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111110000010001111001111101010101010101100001000100011000010110000100011111110000000111100111110101100110000101100001000100000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001100101010111000101100101100101111111000000000001100001010100010001111110000000011100010110010110011000010110000100000100010000000000000000000001000000000110010101010000010001100001011000010001110000000000011000010110000100000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000001000100011001010101100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000101010110011001010101110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100101111111000111010101111001111101011001111111100000011110011111010110011100010110010110000100010000000000000000000001000000000000000000010111111101100001010100010001110000000000011000010110000100000000000100000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000011101010110010101011100010110010110010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001011111110101111111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100101010110000000000001000000010000010001111111111001110101011111011111011111011111110000000111000111110001000111000111110001000101010110011101111101111001111101011000010001000000000000000000000100000000011111000000000111000111110001000100000001000001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101111111011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001011111110001000100011100011111000100000111010101011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111011111011111111111111111111111111100010001000101010110011000010110000100011111111100000111110111110111110111000111110001000001000100011101111101110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110000100010001010101100110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100010101011001110111110111100111110101100000000000011111111111110001010101010101111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001110111110100000100011100011111000100000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001011111110000000000011000010101000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000000000000010000010000000000010000000001100000000000010000010110000000000000000100000000010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111000000000000000000011111100000000111000111110001000110000101100001000111100000000001100001011000010001000000010000010000010001000110010101011000010110000100010111111100011101010111100111110101100111111100000001111001111101011001100001011000010000011101010111011111011110011111010110010000010001011111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000001000100010000010001000001011000000001110111110000000000011000010101000100011110000000000110000101100001000100000101100000000100000100000100010001000001011000000000011101010100000100011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000010101011000000000000100000001000001000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000010000010001010101100110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111110000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110000000000001000000010000010001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000101010110011101111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000001000100010111111101110001111100010001111100000000011000010110000100011000010110000100010101011000000000000100000001000001000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111110000000000000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100100000100011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001110111110111111111111111111111111111000111010101111111111111110111110111110111111111111001111111111111111101111101111111011001111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111100111110101100111100111110101100101111111000100010001110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110011101111101100101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111101111101100101010111100111110101100111111111111001111111111111111101111101111101111101111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100101111111011111111111111111111111111101010101100101111111011110011111010110011111111111000111111111111111110111100111110101100101010110010101011001110001011001011001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111100000000000000000111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110010101011001100101010111000101100101100101111111011101111101111101111111011001111111110000011110011111010110011110011111010110000100010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000011101010001110101011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001010101100111111111111111011111011111011101111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010111111101110111110111110111111101100101111111010111111101111101111111011001111111111100011111011111110110011111011111110110010101011001010101100111000101100101100001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001110111110111111111111111111111111111010101011001110111110111100111110101100111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100110010101000111010101110001011001011000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111110101011001111101111101111101100101010110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111010101100111110111110111110101010110010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111010101100111110111110111110111111111110101011001111101111101111101111111111100011111011111110110011111011111110110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111011111111111111111111111111101011111110101010110011110011111010110011111111111000111111111111111110111100111110101100111011111010101011001111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011101111101011111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100010101011001010101100111000101100101100001110101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001010101100100000100011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010000011101010111011111011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101111111000000000001100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000001110101011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001010101100101111111011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111011111011101111101111101111111011001000001000001110101011000010110000100011111111000000111100111110101100111000111110001000100000100010101011001100001011000010000011101010111111111111111011111011111011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010101011001000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001010101100001110101011100010110010110011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001000001000001000100010000010110000000010000010001100101010110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011000010001000110000101100001000111111111100000000001110001010101010101111110000000011100010110010110011000010110000100010000010001011111110111000111110001000001000100010111111101110001111100010001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000010001000000000000000000000100000000000111010101111111111111110111110111110111111000000001110001111100010001100001010100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101010110010000010001100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001110111110110010101011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100111011111011111111111111111111111111101111111111100011111111111111111011110011111010110010111111101011111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111100100010001111001111101010101111111111001110101011111011111011111011111111110000111110111111101100111100111110101100101111111000111010101111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111011111110111111111111111110101010110010101011001110001011001011001111111111000011111011111011111011110011111010110010000010001010101100110000101100001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001010101100111111111111111011111011111010101011001000001000110000101100001000111111110000001111001111101011001110001111100010001011111110000000000011000010101000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000110010101000000000001000000010000010001011111110111011111011111011111110110011111110000000111000111110001000111000111110001000100000100011001010101100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100001110101011100010110010110011001010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111001000100011110011111010101010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000101111111010101011001111001111101011000010001000100000100010000010110000000011111100000000111000111110001000110000101100001000000000000010101011001000000010000010001011111110101010110011110011111010110011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111000001000111100111110101010101010110000100010001100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000000000000000000000100000000010111111101100101010111100111110101100111110000000001110001111100010001000000010000010001000001000000000000000000000100000000011001010101000001000110000101100001000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000100010000000000000000000001000000000001000100000000000000000000010000000001000000000000010000010110000000000000000000000000010101011001100101010111000101100101100110010101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111100000000000000000000011110000000000110000101100001000100000001000001000111100000000001100001011000010001000000010000010000010001000100000100010000010110000000010111111101011111110111110111111101100111111100000001110001111100010001110001111100010000010001000101111111011100011111000100000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110011101111101111001111101011000000000000111011111011000010101000100011111110000000111100111110101100110000101100001000001000100010101011001100001011000010000011101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000111010101000001000110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100010111111101110111110111110111111101100100000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101111111010000010001110001111100010001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100101010110010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011001010101010101100111000101100101100101111111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001011111110110010101011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010000011101010101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111010101011001111001111101011001110111110111111111111111111111111111011111111111000111111111111111110111100111110101100100000100011111111111111001111101010101110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110011101111101000001000111000111110001000111111110000001111001111101011001110001011001011001000001000111011111011100011111000100011111111111110111110111111111111111110111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100001000100000100010001000001011000000001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000100000100000100010001000001011000000000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010101011001111111111111110111110111110101010110011101111101111001111101011001111111111000011111011111110110011110011111010110000100010000011101010110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001011111110101111111011111011111110110000111010101111111111111110111110111110111111111110001111101111111011001111101111111011001011111110111011111011111011111110110010111111101111111111111111111111111110111111111111001111111111111111101111101111111011001111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111100000000000000000001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110010111111101100101010111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000101111111000111010101111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000000000000111011111011000010101000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001110111110110010101011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100101010110000100010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000110010101011001010101110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001100101010111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100100000100000000000000000000010000000001010101100111011111011110011111010110011111000000000111000111110001000100000001000001000101111111011001010101111001111101011000000000000100000100000000000100000000011111000000000111000111110001000100000001000001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000000000000001000001000000000001000000000111011111000000000001100001010100010001110000000000011000010110000100000000000100000000010111111101010101100111100111110101100111111111100100010001111001111101010101111111110000011111011111110110011100010110010110011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001010101100111111111111111011111011111010101011001011111110111100111110101100111111111100001111101111111011001111001111101011000011101010101111111011110011111010110011001010101110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110010101011001110001011001011001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100101111111011111111111111111111111111101110111110101111111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011000011101010111011111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001011111110001000100011100011111000100010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100100000100010111111101110001111100010001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000110010101010000010001100001011000010000011101010110010101011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110000100010001100101010110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000000100010001000001000100000101100000000101111111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000010000010001000001000100000101100000000111000000000001000001011000000001000001011000000000000000000111111111111100010101010101000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011000011101010111000101100101100100000100011101111101110001111100010001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000000000000000000000100000000010000010001110111110111000111110001000111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101010110000111010101110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110000100010001100101010110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000011101111101010101100111100111110101100001110101011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100100000100000000000000000000010000000001000001000111011111011100011111000100011110000000000110000101100001000100000001000001000101111111010101011001111001111101011000011101010100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000100010001000001000100000101100000000111011111000100010001110001111100010001111100000000011000010110000100011000010110000100010111111100010001000111000111110001000100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010000010001000100000100010000010110000000000100010001110111110111000111110001000111110000000001100001011000010001100001011000010000010001000101111111011100011111000100010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111100111010101111101111101111100000000000101010110010000000100000100011111110000000111000111110001000111000111110001000101010110010101011001110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001100101010111011111011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010000011101010001110101011100010110010110000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110000100010001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000001110101011001010101110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011000010001000110000101100001000101010110011111111111111101111101111101111111100000011110011111010110011100011111000100010101011001110111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001011111110100000100011100011111000100000100010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011000011101010111000101100101100110010101011001010101110001011001011001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100101111111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000010001000100000100010000010110000000011001010101010101100111000101100101100111110000000001100001011000010001100001011000010001011111110101010110011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110000100010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000000000000000100010000000000010000000000011101010101111111011110011111010110011111000000000111000111110001000100000001000001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001110111110111100111110101100111011111000000000001100001010100010001111111000000011110011111010110011000010110000100000100010000000000000000000001000000000100000100010101011001100001011000010001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000100000100000100010001000001011000000000000000000101010110010000000100000100011100000000000100000101100000000100000101100000000101010110011001010101110001011001011000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010000010001000001000100000101100000000101111111000000000001100001010100010001111000000000011000010110000100010000010110000000000111010101010101100111000101100101100100000100000111010101100001011000010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111011111011111111111111111000100010001010101100110000101100001000111111111000001111101111101111101110001111100010001111111111111011111011111111111111111010000010001111111111111100111110101010111111111110001111111111111111101111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100101111111010000010001110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100001000100000100010001000001011000000001111111111110010101011111011111011111011111110000000111000111110001000111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000001000100010101011001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000101010110010111111101111001111101011000000000000111111111111100010101010101011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110000111010100000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001000001000100000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001110111110100000100011100011111000100011001010100000000000100000001000001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001011111110111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100010111111100010001000111000111110001000001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001110111110111011111011111011111110110000100010001011111110111000111110001000111111111000001111001111101011001111001111101011001010101100110010101011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110011101111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000101010110011101111101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001011111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011001010101000001000110000101100001000111011111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110011101111101111001111101011001111111111101111111011111111111111111011111111111000111111111111111110111100111110101100001110101010111111101111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110010101011001010101100111000101100101100000000000011101111101100001010100010001111110000000011100010110010110011000010110000100000111010101000001000110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000000000000000000000000000000000000000000100010001011111110111000111110001000111000000000001000000010000010001000000010000010001010101100111011111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000101010110011111111111111101111101111101010101100001000100011000010110000100011111111000000111100111110101100111000111110001000101111111000000000001100001010100010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000000000000100000100000000000100000000000100010000010001000100000101100000000110000000000001000001011000000000000000010000000001010101100111011111011110011111010110000000000000010001000000000001000000000111110000000001110001111100010001000000010000010001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000101010110010101011001110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100001000100010101011001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011001010101010101100111000101100101100101010110000100010001100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001011111110111111111111111111111111111010101011001110111110111100111110101100111111111110001111111111111111101111001111101011001010101100101010110011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100000100010001000001000100000101100000000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000010000010001100101010110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000000010001000001000100010000010110000000011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001100101010001000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111110001111111011111111101011001100101100001000111110001100101100001000110010110000100011111111111111111111111111110000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111100011111110111111111010110011001011000010001111100011001011000010001100101100001000101010110010101011001110001011001011001010101100001110101011100010110010110011111110000000111000101100101100111000101100101100100000100010111111101110001111100010001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000101111111000111010101111001111101011001111111100000011110011111010110011100010110010110010101011000000000000100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100000000000000000000010000000001010101100000000000010000000100000100011000000000000100000101100000000000000001000000000000000000011001010101000000010000010001000001000001110101011000010110000100011110000000000110000101100001000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000010101011001111111111111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100000000000000010001000000000001000000000000000000010111111101100001010100010001110000000000011000010110000100000000000100000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111110000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001010101100111011111011110011111010110011001010101110111110111100111110101100111111111000001111101111111011001110001011001011001010101100110010101011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100100000100000000000000000000010000000000010001000001110101011000010110000100011100000000000110000101100001000000000001000000000001000100011111111111111001111101010101011111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110000000000011000010101000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001011111110001000100011100011111000100000111010101011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100100000100010111111101110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111101111101111111111111111101010101100100000100011000010110000100011111111100000111110111110111110111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010000010000000000000000000001000000000101111111000100010001110001111100010001111000000000011000010110000100010000000100000100000000000000010001000000000001000000000001110101000000000001000000010000010001100000000000010000010110000000000000000100000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000000000000000100000100000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001100101010110010101011100010110010110000000000000011101010100000001000001000111110000000001100001011000010001100001011000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111110000000000000000000000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010101011000000000000100000001000001000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100000000000001010101100100000001000001000100000100000111010101100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000000000000100000100000000000100000000011101111101110111110111110111111101100111111000000001110001111100010001100001010100010001000001000001000100010000010110000000010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000011111111111111111110000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000001000100010000010001000001011000000001110111110100000100011100011111000100011111000000000110000101100001000110000101100001000000000000010000010000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010001100101010110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000000000000000000000000000000000000000001100000000000010000000100000100000000000100000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001111111111111111110000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000110010101000111010101110001011001011000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100001110101010101011001110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000110010101000100010001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001011111110100000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011000000000000000000000000000000000000000011100000000000100000001000001000100000001000001000100000100010000010001000001011000000000011101010111011111011110011111010110011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001000001000001110101011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001010101100101111111011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000110010101010101011001110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100001110101010111111101111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111100111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000000000001010101100100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000010101011001110111110111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001010101100101010110011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001010101100101010110011100010110010110000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000000100010000000000000000000001000000000101010110011101111101111001111101011001111100000000011100011111000100010000000100000100011111111111010101100111110111110111110001000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001010101100100000100011000010110000100000100010001111111111111100111110101010111111100000001111001111101011001100001011000010001000001000100000100010000010110000000010111111101110111110111110111111101100111111100000001110001111100010001110001111100010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111110000000001111111111111111111111111110000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110000000000001000000010000010001110111110001000100011100011111000100011111000000000110000101100001000110000101100001000001000100010101011001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111101110111110111110111111101100101111111011001010101111001111101011001111111111000011111011111110110011110011111010110010000010000000000000000000001000000000100000100010000010001000001011000000001100000000000010000010110000000000000000100000000011111111111110000000000000000011111110000000111000111110001000111000111110001000111110000000001110001111100010001000000010000010001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010000010001100001011000010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000101010110010000010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010000010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100000100010000000000000000000001000000000000000000010101011001000000010000010001100000000000010000010110000000000000000100000000011111111111000000000000000000011111100000000111000111110001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000010001000110010101011000010110000100011001010101000001000110000101100001000111110000000001110001011001011001000001011000000000000000000000000000000000000000000000010101011000011101010111000101100101100111000000000001000000010000010001000000010000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000000000000010000010000000000010000000001010101100001000100011000010110000100011100000000000110000101100001000000000001000000000110010101000000000001000000010000010000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000111111000000000000000000000000111000000000001000001011000000001000001011000000001100000000000010000010110000000000000000100000000011111111111111110000000000000000000000000000000000000000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001100101010001000100011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010000010001000110010101011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000000000000010101011001000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000001000100010000010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111100000000000000000000000000111111111111111111100000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111100000000111100001100101100001000100010110000000011100000100010110000000010001011000000001111111111111111110000000000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000010000010001110111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010000010001111111111111100111110101010111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111101010110011111011111011111000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100011111111111011111110111111111111111110001000100010111111101110001111100010001111111111000011111011111011111011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001000001000110010101011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111011111011101111101111101111111011000010001000101010110011000010110000100011111111000000111100111110101100111000111110001000000000000000000000000000000000000000001010101100000000000010000000100000100010000000000000000000001000000000000000001000000000111111111100000000000000000000111110000000001110001111100010001000000010000010001111000000000011000010110000100010000000100000100010000010001010101100110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100010101011001110111110111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000101111111000111010101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100100000100000000000000000000010000000001011111110001110101011110011111010110011111000000000111000111110001000100000001000001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010000010000000000000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100010101011001011111110111100111110101100100000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000000000000000001110101010000000100000100011101111101100101010111100111110101100111111000000001110001111100010001100001011000010001110111110101111111011111011111110110000111010101000001000110000101100001000111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001000100011111111111111001111101010101000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111011111011111111111111111111111111101011111110001110101011110011111010110011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000010001000001110101011000010110000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010001110111110100000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010101011001110001011001011000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001111111111100000100011110011111010101011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011001010101111111111111110111110111110101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011101111101110111110111110111111101100101010110010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001010101100001110101011100010110010110010000010001111111111111100111110101010111111110000001111001111101011001110001011001011000011101010111111111111111011111011111010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111110000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011101111101011111110111110111111101100101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111110010001000111100111110101010101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001000001000101010110011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111110111111101000001000111000111110001000111111111110001111101111101111101111101111101111101111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111111111111111111111111111000000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100001000100000111010101100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001011111110101111111011111011111110110011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010101011001010101100111000101100101100110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101111111011111111111111111111111111101000001000001110101011000010110000100011111111100000111110111110111110111000111110001000000000000010101011001000000010000010000010001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010000010001011111110111000111110001000101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011101111101011111110111110111111101100111011111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100111111111111111011111011111000000000001100101010100000001000001000111111100000001110001111100010001110001111100010001011111110111111111111111111111111111010101011000010001000110000101100001000111111111000001111101111101111101110001111100010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100010111111101110001111100010001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100101010110010111111101111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001011111110110010101011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011000010001000001000100010000010110000000010101011001111111111111110111110111110111111100000001110001111100010001110001111100010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100001000100010101011001100001011000010001011111110101111111011111011111110110011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010101011001011111110111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111110111110111111111111111110101010110011111111111111101111101111101111111111110011111111111111111011111011111110110011111111111111111111111000000011111111111100111111111111111110111110111111101100111111111100001111101111111011001111001111101011001111111111000000000011100010101010101010101011001100101010111000101100101100111111100000001110001011001011001110001011001011000011101010111011111011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111000000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111110111110111111111111111110101111111010101011001111001111101011001111111111100011111111111111111011110011111010110010101011001011111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011000010001000101111111011100011111000100010111111101100101010111100111110101100111111110000001111001111101011001110001011001011001111111111111011111011111111111111111010111111100010001000111000111110001000111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111110000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111011111000000000001100001010100010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000001000100011001010101100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010000010001000001000100000101100000000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100010111111101000001000111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000000000000010000010000000000010000000001010101100000000000010000000100000100011000000000000100000101100000000000000001000000000101010110010000010001100001011000010001111111111001110101011111011111011111011111111000000111100111110101100111000111110001000111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100010101011000000000000100000001000001000111011111000100010001110001111100010001111100000000011000010110000100011000010110000100000111010101011111110111100111110101100111011111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001000001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001110111110100000100011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001110101000111010101110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111100100010001111001111101010101010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000111011111011100011111000100000111010101111111111111110111110111110111111111000001111001111101011001111001111101011001110111110001110101011110011111010110010111111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100010111111101110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001111111111111011111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000000000001110111110110000101010001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011101111101111111111111111111111111110110010101010101011001110001011001011001111111111000011111011111011111011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001010101100111011111011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001011111110000000000011000010101000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010000010000010001000100000101100000000101010110011001010101110001011001011001111100000000011000010110000100011000010110000100000000000000010001000000000001000000000000000000011001010101000000010000010001100000000000010000010110000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001010101100111011111011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010000000000000100000100000000000100000000000100010001011111110111000111110001000111100000000001100001011000010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111110000000001111111111111111111111111110000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111111111111111111100000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111011111010101011001111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101010110011001010101110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100101111111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000110010101010101011001110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100101010110011101111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011101111100000000000110000101010001000110010101011111111111111101111101111101111111100000011110011111010110011100011111000100000111010101010101100111000101100101100101111111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001000001000101111111011100011111000100010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110000111010101110001011001011001000001000111111111111110011111010101011111111000000111100111110101100111000101100101100101010110011111111111111101111101111101011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001110111110111111111111111111111111111010101011001110111110111100111110101100111111111110001111111111111111101111001111101011001011111110101111111011111011111110110000111010100010001000110000101100001000111111110000001111001111101011001110001111100010001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111011111010101011001111001111101011001100101010110010101011100010110010110011111111000000111100111110101100111000101100101100111111111111101111101111111111111111101111111111101010110011111011111011111011111111111100111111111111111110111110111111101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001100101010111000101100101100111011111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111110111110111111111111111110101010110010111111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001010101100000000000010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001011111110101010110011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110000111010101110111110111100111110101100111011111011001010101111001111101011001111111110000011111011111110110011100010110010110011001010101011111110111100111110101100101010110011001010101110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000011101010111011111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001000001000101010110011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101010110000000000001000000010000010001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000000000000010101011001000000010000010001000001000111111111111110011111010101011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011101111101000001000111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100000100010000000000000000000001000000000101010110011101111101111001111101011001111100000000011100011111000100010000000100000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000101010110010111111101111001111101011000010001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000100010001100101010110000101100001000101111111000100010001110001111100010001111110000000011100010110010110011000010110000100010111111101110111110111110111111101100100000100010111111101110001111100010001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000101010110011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010000010001000000000000000000000100000000010101011000010001000110000101100001000111000000000001100001011000010000000000010000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000101111111010111111101111101111111011001000001000111111111111110011111010101011111111110000111110111111101100111100111110101100111011111011111111111111111111111111101011111110101111111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111111110000000111111111111001111111111111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001110111110111111111111111111111111111010101011001111111111111110111110111110111111111111001111111111111111101111101111111011001110111110111111111111111111111111111010111111101010101100111100111110101100111111111110001111111111111111101111001111101011001111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111110111111101100111110111111101100101010110010101011001110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111101111101111111111111111101110111110101010110011110011111010110011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111111000000000000000000111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110010101011001000001000110000101100001000111011111000111010101111001111101011001111111000000011110011111010110011000010110000100011101111101011111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001100101010101111111011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001010101100000000000010000000100000100010000010001000001000100000101100000000111000000000001000001011000000001000001011000000001111111111111100000000000000001111111000000011100011111000100011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000000000000000011101010100000001000001000100000100011111111111111001111101010101111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001110111110001000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011000000000000001000100000000000100000000000000000001111111111111000101010101010111100000000001100001011000010001000000010000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101111111010101011001111001111101011001111111111101111111011111111111111111011111111111000111111111111111110111100111110101100101010110011101111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110010101011000000000000100000001000001000111111111100111010101111101111101111101111111000000011100011111000100011100011111000100010101011001011111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101111111000111010101111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100110010101011101111101111001111101011000010001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011101111101010101100111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111011111011111111111111111011001010101111111111111110111110111110111111111111001111111111111111101111101111111011001010101100101111111011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111111111100000001111111111110011111111111111111011111011111110110011111111110000111110111111101100111100111110101100110010101010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001110111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001010101100111011111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001110111110000000000011000010101000100011111111111000001000111100111110101010111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100011101111101110001111100010001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011000011101010101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011101111101010101100111100111110101100000000000000000000000000000000000000001111000000000011000010101000100010000000100000100000100010001010101100110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110000100010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001100101010110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000101111111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000000000000000000000000000000000000000010101011000011101010111000101100101100111000000000001000000010000010001000000010000010001100101010001000100011000010110000100011111111111100101010111110111110111110111111110000001111001111101011001110001111100010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000100000100000000000000000000010000000001000001000001000100010000010110000000011000000000000100000101100000000000000001000000000100000100010101011001100001011000010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100010101011000000000000100000001000001000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000010101011000000000000100000001000001000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001111111111001000100011110011111010101011111111000000111100111110101100111000101100101100101010110011111111111111101111101111100010001000111011111011100011111000100011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110000100010001100101010110000101100001000101010110000111010101110001011001011001111110000000011100010110010110011000010110000100000111010100000000000100000001000001000000000000011111111111110001010101010101111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001010101100000000000010000000100000100011101111101011111110111110111111101100111111100000001110001111100010001110001111100010001010101100111011111011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100001000100010000010001000001011000000000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000001000100011111111111111001111101010101011111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001110111110111011111011111011111110110010101011001100101010111000101100101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100101111111000111010101111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011001010100000000000100000001000001000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100000000000001010101100100000001000001000101111111000000000001100001010100010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000000000000000000000100000000010111111101011111110111110111111101100111111000000001110001111100010001100001010100010001011111110000000000011000010101000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010000010001000001000100000101100000000000000000000100010000000000010000000001100000000000010000010110000000000000000100000000000100010001110111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001010101100101010110011100010110010110010101011001111111111111110111110111110111111111000001111001111101011001111001111101011000000000000101010110010000000100000100010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111000000000000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111011111010101011001111001111101011000010001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111100100010001111001111101010100000000000111011111011000010101000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111101111111111111111111111111110101111111000000000001100001010100010001111111110000011111011111011111011100011111000100010000010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110011111111111111101111101111101111111111101010110011111011111011111011111111111000111110111111101100111110111111101100001000100010111111101110001111100010001000001000111111111111110011111010101011111111000000111100111110101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011101111100010001000111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100010111111101110111110111110111111101100111111111100111010101111101111101111101111111111100011111011111110110011111011111110110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111110000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001010101100000000000010000000100000100010000010000011101010110000101100001000111100000000001100001011000010001000001011000000001000001000111111111111110011111010101010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000001110101010111111101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000101111111010111111101111101111111011001111111111110010101011111011111011111011111111111000111110111111101100111110111111101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100110010101011100010110010110000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000000000000010001000000000001000000000111110000000001110001111100010001000000010000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000100000100000100010001000001011000000001011111110101111111011111011111110110011111110000000111000111110001000111000111110001000001000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100000100010001010101100110000101100001000101111111011001010101111001111101011001111111000000011110011111010110011000010110000100000000000000011101010100000001000001000101111111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000101010110011000010110000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001110111110111011111011111011111110110011101111100011101010111100111110101100111111111100001111101111111011001111001111101011001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100110010101010111111101111001111101011001111111110000011111011111110110011100010110010110010000010001110111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000010001000100000100010000010110000000010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001100101010101111111011110011111010110000000000001000001000000000001000000000111110000000001110001111100010001000000010000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001000100010000010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000000000000000100010000000000010000000001010101100100000100011000010110000100011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000000000000001011111110110000101010001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000010000010001010101100110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111110000000000000000000000000000000000000000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000101010110000100010001100001011000010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100000100010001010101100110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111110000000000000000000000011111111111111111111100000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111100000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111100000000111100001100101100001000100010110000000011100000100010110000000010001011000000000010001000101111111011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001011111110111011111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101111111010000010001110001111100010000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100001110101011111111111111101111101111101111111111110010101011111011111011111011111111111000111110111111101100111110111111101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001010101100110010101011100010110010110011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001000100010111111101110001111100010001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100110010101010101011001110001011001011000010001000001110101011000010110000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010101011001000001000110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000010000010000010001000100000101100000000001110101000000000001000000010000010001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000000000000000101010110010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001011111110000000000011000010101000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010000010000010001000100000101100000000000000000011001010101000000010000010001110000000000010000010110000000010000010110000000011001010101010101100111000101100101100000000000000111010101000000010000010001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000000000000111011111011000010101000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000000011101010001000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111110000000000000000000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000011111111111111111110000000000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000110010101011001010101110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001100101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000010000010000000000000000000001000000000101010110010000010001100001011000010001110000000000011000010110000100000000000100000000011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000101010110010101011001110001011001011001111111111110010101011111011111011111011111111100000111100111110101100111100111110101100101010110000111010101110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111110111110111111111111111110000000000010101011001000000010000010001111111100000011110011111010101011100011111000100000100010000000000000000000001000000000101111111011111111111111111111111111101111111000000011110011111010101011000010101000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010000010001000100000100010000010110000000011101111101000001000111000111110001000111110000000001100001011000010001100001011000010001000001000101010110011000010110000100000111010101000001000110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000000000000010101011001000000010000010001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100010000010001100101010110000101100001000111100000000001100001011000010001000001011000000001011111110110010101011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000001000100011001010101100001011000010000010001000101111111011100011111000100011111100000000111000101100101100110000101100001000101010110000000000001000000010000010000000000000101010110010000000100000100011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000000111010101010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111110111110111111111111111110101010110011101111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001011111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001010101100001000100011000010110000100010111111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100001110101000111010101110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001000001000111011111011100011111000100011111111111010101100111110111110111110111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111011111010101011001111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100100000100010111111101110001111100010001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100010101011000000000000100000001000001000100000100011001010101100001011000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110011001010101110001011001011001111111111100000100011110011111010101011111111000000111100111110101100111000101100101100101111111010111111101111101111111011000000000000111111111111100010101010101011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100110010101010101011001110001011001011001111111110000011110011111010110011110011111010110000100010000000000000000000001000000000101111111011111111111111111111111111101111111000000011110011111010101011000010101000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000000000000100000100000000000100000000010111111101000001000111000111110001000111100000000001100001011000010001000000010000010001011111110001000100011100011111000100010111111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111100000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001110111110111011111011111011111110110010111111101110111110111110111111101100111111111110001111101111111011001111101111111011000011101010101010110011100010110010110000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000101010110000100010001100001011000010000010001000110010101011000010110000100011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001110111110100000100011100011111000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111100000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011101111100010001000111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011001010101010101100111000101100101100110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001110111110110010101011110011111010110011001010101111111111111110111110111110111111111100001111101111111011001111001111101011000010001000000000000000000000100000000000000000001011111110110000101010001000111000000000001100001011000010000000000010000000001111111111111100000000000000001111111000000011100011111000100011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000011001010100000000000100000001000001000111111111110000010001111001111101010101111110000000011100011111000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001011111110111011111011111011111110110010000010001100101010110000101100001000111111110000001111001111101011001110001111100010001110111110001110101011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000110010101010101011001110001011001011001110111110111111111111111111111111111011111111110000111110111110111110111100111110101100100000100010111111101110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010101011001011111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100101111111011101111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100000111010101100101010111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001000001000101111111011100011111000100000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001110111110101111111011111011111110110010111111101100101010111100111110101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100001110101010101011001110001011001011001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000000000000111011111011000010101000100000111010100010001000110000101100001000111110000000001110001011001011001000001011000000001011111110101111111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000101111111000111010101111001111101011001111111111110010101011111011111011111011111111110000111110111111101100111100111110101100000000000011101111101100001010100010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011101111101010101100111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111000000000011100010101010101010101011001000001000110000101100001000111111000000001110001011001011001100001011000010000010001000101010110011000010110000100011111111111111111111111111111111111111111111111100001111101111101111101111001111101010101111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011001011111110111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100111111111110000010001111001111101010101111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001000001000101111111011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111011111000100010001110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000100000100010000010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100010111111100010001000111000111110001000101111111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000000000000000000000000000000000000000001011111110100000100011100011111000100011100000000000100000001000001000100000001000001000101111111010101011001111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011101111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100000000000000010001000000000001000000000111011111011101111101111101111111011001111110000000011100011111000100011000010101000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111101010110011111011111011111011001010100000000000100000001000001000111111100000001110001111100010001110001111100010001010101100101010110011100010110010110011111111110010001000111100111110101010111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001000100010111111101110001111100010001110111110000000000011000010101000100011111100000000111000101100101100110000101100001000001000100000000000000000000010000000000000000000100000100000000000100000000010000000000000100000101100000000000000000000000000111111110000000000000000000000111100000000001100001011000010001000000010000010001110000000000011000010110000100000000000100000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010000010001000101010110011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010000000000000001110101010000000100000100010111111100010001000111000111110001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100011101111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100001000100000111010101100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010101011001000001000110000101100001000111011111011101111101111101111111011001111111100000011110011111010110011100011111000100000100010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000000000000000000000100000000010111111100010001000111000111110001000111100000000001100001011000010001000000010000010001010101100110010101011100010110010110000000000000000000000000000000000000000111000000000001000000010000010001000000010000010001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010101011000011101010111000101100101100001110101011101111101111001111101011001111111100000011110011111010110011100010110010110010111111100011101010111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000111111111111110011111010101010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100011001010101010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110000100010001100001011000010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000000000000000100010000000000010000000000011101010000000000010000000100000100011000000000000100000101100000000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000010000010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011001010101000001000110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000100000100000100010001000001011000000001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000100000100011001010101100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010000000000000000000001000000000000000000000111010101000000010000010001100000000000010000010110000000000000000100000000011001010101000001000110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000011111100000000000000000000000011100000000000100000101100000000100000101100000000110000000000001000001011000000000000000010000000001111111111111111100000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000111111111111111111100000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111100000000111100001100101100001000100010110000000011100000100010110000000010001011000000000010001000100000100010000010110000000011101111100000000000110000101010001000111100000000001100001011000010001000001011000000000000000000001000100000000000100000000010111111100011101010111100111110101100111110000000001110001111100010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110011101111101111001111101011001010101100110010101011100010110010110011111111000000111100111110101100111000101100101100110010101010111111101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001011111110100000100011100011111000100011001010101111111111111110111110111110111111111000001111001111101011001111001111101011001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000000000000010101011001000000010000010000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011000010001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111000000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001000111100111110101010110010101000111010101110001011001011001111111100000011110011111010110011100010110010110000000000001100101010100000001000001000110010101010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110101010110011110011111010110011111111111011111110111111111111111110111111111110001111111111111111101111001111101011001010101100111011111011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100010101011001010101100111000101100101100101010110011001010101110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010000010000011101010110000101100001000111111000000001110001011001011001100001011000010001110111110001000100011100011111000100000111010101111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100001000100000000000000000000010000000001111111111000000000011100010101010101011110000000000110000101100001000100000001000001000111011111000000000001100001010100010001011111110111011111011111011111110110011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010101011001100101010111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110000100010001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000101010110011101111101111001111101011001011111110000000000011000010101000100011111110000000111100111110101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010111111101000001000111000111110001000001000100010111111101110001111100010001111111000000011100010110010110011100010110010110010000010001010101100110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001010101100000000000010000000100000100011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001000001000111111111111110011111010101000000000001111111111111000101010101010111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110011001010101110001011001011001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100001110101011111111111111101111101111101111111111101111111011111111111111111011111111111100111111111111111110111110111111101100111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001011111110111011111011111011111110110010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001100101010111011111011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100100000100000100010001000001011000000001110111110111011111011111011111110110011111110000000111000111110001000111000111110001000111011111000111010101111001111101011001000001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011101111100010001000111000111110001000110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001110111110100000100011100011111000100000000000001111111111111000101010101010111111100000001110001011001011001110001011001011000010001000101010110011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000010101011000000000000100000001000001000111111111110101011001111101111101111101111111000000011100011111000100011100011111000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001011111110101010110011110011111010110011001010101100101010111000101100101100111111110000001111001111101011001110001011001011000000000000001110101010000000100000100010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000100000100010101011001100001011000010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000000000000000000000000000000000000000001010101100101010110011100010110010110011100000000000100000001000001000100000001000001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010101011000000000000100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000101010110010101011001110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100001110101010111111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001110111110111100111110101100001000100011111111111111001111101010101111111110000011111011111110110011100010110010110000111010101000001000110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111111111111111111110000001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001010101100101111111011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010001010101100111111111111111011111011111011111111111011111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000100000100010101011001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000101111111011101111101111101111111011001100101010101111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110110010101011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010001110111110111011111011111011111110110011101111100011101010111100111110101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101010110000111010101110001011001011001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100110010101010111111101111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010000010001110111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001010101100111111111111111011111011111010101011000011101010111000101100101100111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000100010001011111110111000111110001000101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100101111111000100010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000100000100010000010110000000010101011001100101010111000101100101100111110000000001100001011000010001100001011000010001111111111101010110011111011111011111000100010000000000000000000001000000000111111000000001110001111100010001100001010100010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110011001010101110001011001011001100101010111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111110111110101111111011111011111110110011111111111110111111111111111110111111111111111110111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111011111011110011111010110011101111100010001000111000111110001000101010110010000010001100001011000010001111110000000011100010110010110011000010110000100000111010101111111111111110111110111110101111111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111111100000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101111111011101111101111101111111011001011111110001110101011110011111010110011111111110000111110111111101100111100111110101100001000100010111111101110001111100010001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100110010101011001010101110001011001011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101111111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001011111110000000000011000010101000100000100010001100101010110000101100001000111110000000001110001011001011001000001011000000000010001000000000000000000000100000000010111111101000001000111000111110001000111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111110000010001111001111101010101110111110101111111011111011111110110011111111110000111110111111101100111100111110101100001000100010111111101110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001010101100101010110011100010110010110000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001010101100001000100011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101110111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010111111101010101100111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100111111111110000010001111001111101010101111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001110111110000000000011000010101000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010000000000000000000001000000000100000100010101011001100001011000010001110000000000011000010110000100000000000100000000011111111110010001000111100111110101010001000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000000000000000000000000000000000000000010111111101010101100111100111110101100111100000000001100001010100010001000000010000010001010101100001110101011100010110010110000100010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000000000000011111111111110001010101010101011111110001000100011100011111000100011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011000011101010111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110010101011001100101010111000101100101100000000000010111111101100001010100010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001000100000100010001000001011000000001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000101111111000100010001110001111100010001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011001110111110111100111110101100101111111011001010101111001111101011001111111110000011111011111110110011100010110010110011101111101000001000111000111110001000111011111011001010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100001000100011000010110000100011101111101111111111111111111111111110111111111000001111101111101111101110001111100010001010101100111011111011110011111010110000111010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000001000100010000010001000001011000000000010001000111111111111110011111010101011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000001000100010000010110000000010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001011111110110010101011110011111010110010101011000000000000100000001000001000111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100010000010001000001011000000001100101010101111111011110011111010110011111100000000111000111110001000110000101100001000111111111110111111101111111111111111101110111110001000100011100011111000100011111111110000111110111110111110111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010101011001010101100111000101100101100100000100000000000000000000010000000001111000000000011000010110000100010000000100000100010101011000010001000110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000000000000000001110101010000000100000100011001010100011101010111000101100101100111110000000001100001011000010001100001011000010001111111111101111111011111111111111111000100010000000000000000000001000000000111111100000001111001111101010101100001010100010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010001000001000100000101100000000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100010111111100011101010111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001110111110101010110011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001110111110100000100011100011111000100010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111110011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111110111111111010110011001011000010001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000100000100011111111111111001111101010101010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101111111000000000001100001010100010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101111111010000010001110001111100010001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000100000100010101011001100001011000010000010001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000000100010000010001000100000101100000000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100010101011001000001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000011101010100000100011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001010101100000000000010000000100000100010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000100000100000100010001000001011000000001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000001000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111110000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001010101100001110101011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111110000001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111111111111111111100000011111111111110001111111011111111101011001100101100001000111110001100101100001000110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100010101011001010101100111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110010000010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010001110111110110010101011110011111010110000111010101011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011000011101010111000101100101100100000100011001010101100001011000010001111110000000011100010110010110011000010110000100000000000001110111110110000101010001000000000000000000000000000000000000000001100000000000010000000100000100000000000100000000011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001010101100111011111011110011111010110011001010100011101010111000101100101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101010110010101011001110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000101010110010000010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010000011101010110000101100001000110010101000100010001100001011000010001111100000000011100010110010110010000010110000000010101011000010001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000100000100000100010001000001011000000001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000101010110000100010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100000100010000010001000100000101100000000111011111011101111101111101111111011001111111000000011100011111000100011100011111000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000000011101010101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111101111111011111111111111111010101011001010101100111000101100101100111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100100000100000000000000000000010000000000011101010101010110011100010110010110011110000000000110000101100001000100000001000001000101010110000100010001100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001110111110101111111011111011111110110010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001011111110001110101011110011111010110000100010001011111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011000010001000001000100010000010110000000011111110000000111000111110001000111000111110001000101010110011111111111111101111101111101111111111101010110011111011111011111011111111111000111110111111101100111110111111101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100010111111101010101100111100111110101100001000100000111010101100001011000010001111111000000011110011111010110011000010110000100000100010000000000000000000001000000000000000000010101011001000000010000010001100000000000010000010110000000000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001000001000000000000000000000100000000011101111100000000000110000101010001000111000000000001100001011000010000000000010000000001011111110111011111011111011111110110010101011000011101010111000101100101100111111111000001111001111101011001111001111101011001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010111111100000000000110000101010001000100000100000111010101100001011000010001111100000000011100010110010110010000010110000000011001010101100101010111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001000001000100000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010001110111110001110101011110011111010110010000010000000000000000000001000000000111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001000100010000010001000001011000000001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000000000000010111111101100001010100010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000000000000011111111111110001010101010101111100000000011000010110000100011000010110000100011101111101010101100111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000110010101010000010001100001011000010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011001010100010001000110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100001000100011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001010101100110010101011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111011111010111111101111101111111011001011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011100011111000100011100011111000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000000000000001110101010000000100000100011101111101110111110111110111111101100111111100000001110001111100010001110001111100010001010101100110010101011100010110010110000100010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100000000000000000000010000000001100101010101111111011110011111010110011111000000000111000111110001000100000001000001000101111111010101011001111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011000010001000110000101100001000101010110011001010101110001011001011001111110000000011100010110010110011000010110000100011101111100010001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000001110101011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001110111110100000100011100011111000100000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010000010001011111110111000111110001000111011111011001010101111001111101011001111111100000011110011111010110011100010110010110000111010101010101100111000101100101100001000100000000000000000000010000000001111000000000011000010110000100010000000100000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001010101100001000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000000011101010111011111011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000110010101010111111101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100001000100011111111111111001111101010101110111110001000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010000010001011111110111000111110001000111011111000111010101111001111101011001111111100000011110011111010110011100010110010110000100010000000000000000000001000000000000000000011101111101100001010100010001110000000000011000010110000100000000000100000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000000111010101010101100111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110000100010001000001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001010101100101010110011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001110111110101111111011111011111110110010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100101111111000000000001100001010100010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010001011111110101111111011111011111110110000000000001111111111111000101010101010111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001110111110110010101011110011111010110011111111110000111110111111101100111100111110101100101010110011101111101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100010101011001011111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110010101011000011101010111000101100101100111011111011001010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111101111111011111111111111111011101111101111111111111111111111111110111111111111101111111111111111111111101111111011001011111110111111111111111111111111111010101011001011111110111100111110101100111111111110001111111111111111101111001111101011001111111111111111111111111000001111111111110011111111111111111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111111111111111111111111111110000000000000000001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110000111010101110111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110010111111100010001000111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001000001000001000100010000010110000000010111111101000001000111000111110001000111110000000001100001011000010001100001011000010001100101010111111111111111011111011111000100010000010001000100000101100000000111111100000001110001111100010001110001111100010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111111111010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100100000100000000000000000001000000000111011111010000010001110111110001000001000100000100010001000101100000000101111111010111111101111111111101100100000100010101011001100101100001000001000100010101011001100101100001000101111111011101111101111111111101100001000100010101011001100101100001000111011111010000010001110111110001000111111111110101011001111111110111110111011111010101011001111111110101100111011111000111010101111111110101100110010101000111010101110101100101100110010101000111010101110101100101100111011111010000010001110111110001000100000100000100010001000101100000000001110101010101011001110101100101100111111111110101011001111111110111110101111111010101011001111111110101100110010101010101011001110101100101100100000100000100010001000101100000000111111111100000000001110101010101010101010110000000000001000001000001000000000000000100010000000001000000000111011111011111111111111111111111110101010110010000010001100101100001000111011111010101011001111111110101100100000100010101011001100101100001000100000100000100010001000101100000000101010110000100010001100101100001000000000000010101011001000001000001000101010110010000010001100101100001000100000100000100010001000101100000000101010110000100010001100101100001000110010101010101011001110101100101100100000100010111111101110111110001000111011111010101011001111111110101100001000100000100010001000101100000000101010110000000000001000001000001000101010110000000000001000001000001000100000100010101011001100101100001000101111111010111111101111111111101100111111111100100010001111111110101010100000100010000010001000101100000000100000100000000000000000001000000000101010110011101111101111111110101100100000100010101011001100101100001000100000100000100010001000101100000000111011111000000000001100101010001000100000100010101011001100101100001000101010110010101011001110101100101100100000100000100010001000101100000000100000100000100010001000101100000000111011111000111010101111111110101100100000100000100010001000101100000000111011111000100010001110111110001000000000000010111111101100101010001000100000100000100010001000101100000000111111111110101011001111111110111110100000100000100010001000101100000000000000000010101011001000001000001000000000000000100010000000001000000000110010101000100010001100101100001000110010101010000010001100101100001000101010110010000010001100101100001000100000100011101111101110111110001000101111111010101011001111111110101100111011111000111010101111111110101100110010101010101011001110101100101100101111111010101011001111111110101100110010101010111111101111111110101100101010110000111010101110101100101100001110101011001010101110101100101100111011111010101011001111111110101100101111111000100010001110111110001000101111111010101011001111111110101100101010110010000010001100101100001000000000000010000010000000001000000000110010101000100010001100101100001000100000100010101011001100101100001000111011111010101011001111111110101100101010110000100010001100101100001000111011111000111010101111111110101100001000100010101011001100101100001000101010110000111010101110101100101100101010110000111010101110101100101100101111111000100010001110111110001000001000100010101011001100101100001000101111111011111111111111111111111110111111111111111111111111111111111111101111111000100010001110111110001000101111111010111111101111111111101100101010110000000000001000001000001000100000100000100010001000101100000000100000100010101011001100101100001000100000100010000010001000101100000000110010101010101011001110101100101100111011111010111111101111111111101100101111111010101011001111111110101100111111111111111111111111111111111111111111111110101011001111111110111110101010110000000000001000001000001000110010101000000000001000001000001000110010101011111111111111111110111110000000000000100010000000001000000000111011111010000010001110111110001000111111111110111111101111111111111110110010101010000010001100101100001000111011111000111010101111111110101100101010110000100010001100101100001000111011111000000000001100101010001000001000100000100010001000101100000000110010101000100010001100101100001000101010110000100010001100101100001000111011111010111111101111111111101100101010110010000010001100101100001000101010110010101011001110101100101100110010101000111010101110101100101100111011111000100010001110111110001000100000100000100010001000101100000000001000100000000000000000001000000000000000000010000010000000001000000000110010101010101011001110101100101100101111111010101011001111111110101100001000100010101011001100101100001000111011111000000000001100101010001000100000100000100010001000101100000000111111111100100010001111111110101010101111111011101111101111101111111011000000000000001110101010000000100000100011111110000000111000111110001000111000111110001000001110101010000010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000000000000010001000000000001000000000111111111100111010101111101111101111101111110000000011100011111000100011000010101000100011111111111000001000111100111110101010111011111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000001000100010000010001000001011000000001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000101010110011111111111111101111101111100011101010001000100011000010110000100011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000000000001011111110110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011101111100010001000111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111100000011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001010101100100000100011000010110000100011111111111110111110111111111111111110111111111000001111101111101111101110001111100010000010001000101010110011000010110000100010000010000011101010110000101100001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000001000100010000010001000001011000000000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000110010101000000000001000000010000010001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000000000000101010110010000000100000100011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001010101100111011111011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111110000000000101010110010000000100000100011111111100000111100111110101010111100111110101010101010110011101111101111001111101011001000001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100010101011001000001000110000101100001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100000000000001011111110110000101010001000101010110000111010101110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001000001000000000000000000000100000000010101011001010101100111000101100101100111100000000001100001011000010001000000010000010001000001000111011111011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000000100010001011111110111000111110001000001110101011101111101111001111101011001111111100000011110011111010110011100010110010110011001010101100101010111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111001110101011111011111011111000100010000010001000100000101100000000111111100000001110001111100010001110001111100010001111111111000000000011100010101010101010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110010000010001100001011000010000011101010100000100011000010110000100011111000000000111000101100101100100000101100000000100000100000100010001000001011000000001110111110100000100011100011111000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000000100010001000001000100000101100000000101111111011001010101111001111101011001111110000000011100011111000100011000010110000100011101111100010001000111000111110001000110010101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100001000100011111111111111001111101010101011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100000111010101010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111000000011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100101010110011100010110010110011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110011111111111111101111101111101000001000001110101011000010110000100011111111000000111100111110101100111000111110001000001000100011101111101110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001011111110101010110011110011111010110010000010001011111110111000111110001000111111110000001111001111101011001110001011001011000011101010101111111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100001000100010000010001000001011000000001111111111111011111011111111111111111011111111000000111100111110101010111000111110001000100000100011101111101110001111100010001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000000000001000001000000000001000000000111011111010101011001111001111101011001111100000000011100011111000100010000000100000100011101111101010101100111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001011111110100000100011100011111000100011111111110010001000111100111110101010111111110000001111001111101011001110001011001011001010101100101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010111111101110111110111110111111101100101111111000100010001110001111100010001111111110000011110011111010110011110011111010110010000010001110111110111000111110001000001000100010111111101110001111100010001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000010001000100000100010000010110000000010101011001000001000110000101100001000111100000000001100001011000010001000001011000000000000000000101010110010000000100000100010000010000011101010110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110000100010001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111100000000001110001010101010101010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000000000000000000000000000000000000000000000000011001010101000000010000010001000000000000000000000100000000000000000100000000010111111101110111110111110111111101100001000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111110000000000000000000011111000000000111000111110001000100000001000001000111100000000001100001011000010001000000010000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000101010110010101011001110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000101111111011111111111111111111111111101011111110001000100011100011111000100011111111110000111110111110111110111100111110101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100010000010001011111110111000111110001000101111111011111111111111111111111111101111111111000011111011111011111011110011111010110000111010101110111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010000000000000001000100000000000100000000010101011001110111110111100111110101100111110000000001110001111100010001000000010000010000010001000110010101011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110000000000001000000010000010000000000000101010110010000000100000100011100000000000100000101100000000100000101100000000101010110010000010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000000010001000001000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001011111110101111111011111011111110110000111010101110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000110010101010101011001110001011001011000011101010111011111011110011111010110011111111000000111100111110101100111000101100101100101111111010111111101111101111111011001011111110000000000011000010101000100011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100000111010101110111110111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011001010101000001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010000010000011101010110000101100001000111111100000001111001111101011001100001011000010000010001000101010110011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000110010101000111010101110001011001011001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000000000000000000000000000000000000000000100010001111111111111100111110101010111100000000001100001010100010001000000010000010000000000000101010110010000000100000100000000000000010001000000000001000000000110000000000001000001011000000000000000010000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111011111010101011001111001111101011000000000000001000100000000000100000000011111000000000111000111110001000100000001000001000111111111110000010001111001111101010101000001000000000000000000000100000000011111000000000111000111110001000100000001000001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010000010000000000000000000001000000000000000000011101111101100001010100010001110000000000011000010110000100000000000100000000000100010000010001000100000101100000000101111111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000110010101000000000001000000010000010001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000111011111010111111101111101111111011001000001000101010110011000010110000100011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100000111010100000000000100000001000001000110010101000000000001000000010000010001110000000000010000010110000000010000010110000000011001010100010001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111000000000000000000011111111111111111111111000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111000000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001010101100111111111111111011111011111000111010101110111110111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100001000100010000010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000001000100010000010001000001011000000000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010000010001000101111111011100011111000100010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001110111110001000100011100011111000100010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110010101011001110001011001011001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111110111110000000000011000010101000100011111111110000111110111110111110111100111110101010111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010101011000011101010111000101100101100101111111011001010101111001111101011001111111100000011110011111010110011100010110010110000111010101000001000110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110010111111100000000000110000101010001000111111100000001111001111101011001100001011000010001110111110111011111011111011111110110000100010001011111110111000111110001000111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000100010001110111110111000111110001000101111111011101111101111101111111011001111111110000011110011111010110011110011111010110000111010101111111111111110111110111110101010110011111111111111101111101111101111111111100011111011111110110011111011111110110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001110111110110010101011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001010101100101010110011100010110010110011111111111010101100111110111110111110111111111000001111001111101011001111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111100000000000000000001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100001000100000100010001000001011000000001011111110110010101011110011111010110011111100000000111000111110001000110000101100001000001000100000100010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001110111110111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100000000000001000001000000000001000000000000000000011001010101000000010000010001100000000000010000010110000000000000000100000000011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001111111111111111111110000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000000000000010111111101100001010100010001000001000000000000000000000100000000011100000000000110000101100001000000000001000000000101010110010101011001110001011001011000000000000110010101010000000100000100011111000000000110000101100001000110000101100001000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010101011001110111110111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100000100010001000001000100000101100000000111011111011001010101111001111101011001111110000000011100011111000100011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100101010110011100010110010110011001010100010001000110000101100001000111111000000001110001011001011001100001011000010001011111110111111111111111111111111111011111111111010101100111110111110111110111111111111001111111111111111101111101111111011001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000100000100010101011001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100100000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001110111110100000100011100011111000100011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001000100010101011001100001011000010001011111110111011111011111011111110110011111111000000111100111110101100111000111110001000111011111010111111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010101011000010001000110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000001000100010000010110000000000100010001011111110111000111110001000111110000000001100001011000010001100001011000010000010001000000000000000000000100000000010101011001000001000110000101100001000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001011111110111000111110001000100000100000100010001000001011000000001111100000000011000010110000100011000010110000100011101111101010101100111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100101111111011110011111010110010000010000000000000000000001000000000111110000000001110001111100010001000000010000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110010111111101111001111101011000000000000001000100000000000100000000011111000000000111000111110001000100000001000001000101010110010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011101111101010101100111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010111111101111111111111111111111111110001110101000111010101110001011001011001111111111000011111011111011111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111101111101111111111111111101110111110111111111111111111111111111011111111111110111111111111111111111110111111101100100000100010101011001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111011111011110011111010110000000000000010001000000000001000000000101010110000100010001100001011000010001110000000000011000010110000100000000000100000000010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001110001111100010001110001111100010001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000010001000101010110011000010110000100010111111101100101010111100111110101100111111100000001111001111101011001100001011000010000010001000001110101011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110010111111101111001111101011000000000000000000000000000000000000000011110000000000110000101010001000100000001000001000000000000011111111111110001010101010100011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100101111111011110011111010110010101011000000000000100000001000001000111111000000001110001111100010001100001011000010001000001000000000000000000000100000000000000000001000001000000000001000000000100000000000001000001011000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000000100000100011100000000000110000101100001000000000001000000000111011111010101011001111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000101111111011001010101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010101011001111111111111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100010000010001111111111111100111110101010001000100000100010001000001011000000001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110011101111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111101010110011111011111011111010111111100000000000110000101010001000111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000111010101010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100010101011001000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000100000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001000001000001110101011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110000100010001100001011000010001010101100110010101011100010110010110011111100000000111000101100101100110000101100001000100000100000100010001000001011000000001011111110100000100011100011111000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001110111110111000111110001000100000100010101011001100001011000010001111110000000011100010110010110011000010110000100000000000001110111110110000101010001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110000111010101110001011001011001000001000001110101011000010110000100011111100000000111000101100101100110000101100001000001000100000100010001000001011000000000010001000110010101011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100101010110011111111111111101111101111101111111110000011110011111010110011110011111010110010000010001100101010110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001110111110100000100011100011111000100000000000000010001000000000001000000000111100000000001100001011000010001000000010000010000010001000000000000000000000100000000010111111100000000000110000101010001000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000001110101011101111101111001111101011001100101010100000100011000010110000100011111110000000111100111110101100110000101100001000101010110010111111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001011111110100000100011100011111000100010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001000100000000000000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000000000000010000010000000000010000000000000000000100000100000000000100000000010000000000000100000101100000000000000000000000000111110000000000000000000000000110000000000001000001011000000000000000010000000001100000000000010000010110000000000000000100000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111111111111111111111111111111100111010101111101111101111101111111111111011111111111111111011111111111111111010101011001110111110111100111110101100101111111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111111111111111101111001111101011001011111110001110101011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111111111111111111111111111001010101111111111111110111110111110111111111111101111111111111111101111111111111111101111111111111111111111111000001111111111110011111111111111111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111111111111111111111111111111111110000000000001111111111111111111111111000001111111111111011111111111111111111111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111011111110110011111011111110110010111111101110111110111110111111101100111111111110111111101111111111111111101111111111110011111111111111111011111011111110110010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001010101100111111111111111011111011111011001010101110111110111100111110101100111111111100001111101111111011001111001111101011001100101010001110101011100010110010110011111111111010101100111110111110111110111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111000000000000000000001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111101100111111111111111111101100111111111010110011111111111111111111111111111111111111101111111111101100111111111111111111101100111111111010110011111111111111111111111111111111111111111111111111111111111111111111111011111111111011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100101111111010000010001110001111100010001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100000000000010111111101100001010100010001110111110111111111111111111111111111011111111100000111110111110111110111000111110001000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110011001010101010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001110101010101011001110001011001011000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000001110101011101111101111001111101011001110111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011101111101111111111111111111111111110001000100011111111111111001111101010101111111111100011111111111111111011110011111010110000111010101010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111110000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001011111110111011111011111011111110110011001010100010001000110000101100001000111111110000001111001111101011001110001111100010001010101100001000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000100000100000111010101100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000101010110011101111101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001110111110110010101011110011111010110010111111100010001000111000111110001000111111110000001111001111101011001110001011001011001000001000110010101011000010110000100000111010100000000000100000001000001000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000001000100010000010001000001011000000000000000000101111111011000010101000100011110000000000110000101100001000100000101100000000001000100000000000000000000010000000000010001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111100000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010111111100010001000111000111110001000100000100010101011001100001011000010001111110000000011100010110010110011000010110000100010000010001111111111111100111110101010101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001000001000111011111011100011111000100011111111110011101010111110111110111110111111111000001111001111101011001111001111101011001110111110111011111011111011111110110010111111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011111111111010101100111110111110111110101010110010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101010101100111011111011110011111010110010000010001011111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111110000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100001000100011101111101110001111100010001111111111110010101011111011111011111011111111100000111100111110101100111100111110101100001110101010111111101111001111101011000011101010001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111100010001000111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100000100010000010001000100000101100000000101010110000000000001000000010000010001110000000000010000010110000000010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000100000100010111111101110001111100010001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100101010110011001010101110001011001011001011111110000000000011000010101000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000001110101010101011001110001011001011001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100101010110000000000001000000010000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111000000011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001010101100101010110011100010110010110000111010100010001000110000101100001000111111000000001110001011001011001100001011000010001010101100110010101011100010110010110010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110000000000001000000010000010001111111111101010110011111011111011111011111110000000111000111110001000111000111110001000000000000010101011001000000010000010001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001011111110101111111011111011111110110011111111111010101100111110111110111110111111111110001111101111111011001111101111111011000010001000101111111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100101010110010000010001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000000000000010101011001000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111111111111111111111111111111111000000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111110111110111111111111111110101111111011101111101111101111111011001111111111110011111111111111111011111011111110110010101011000011101010111000101100101100101010110011111111111111101111101111101111111110000011110011111010110011110011111010110011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001010101100111111111111111011111011111011111111110010001000111100111110101010111111111100001111101111111011001111001111101011001110111110101010110011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111000000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110000111010101011111110111100111110101100101010110011001010101110001011001011001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000101111111011101111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111010101011001110111110111100111110101100111111111100001111101111111011001111001111101011000010001000111011111011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100001110101010101011001110001011001011001000001000001110101011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011000011101010111000101100101100101111111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000100000100011001010101100001011000010001011111110001000100011100011111000100011111100000000111000101100101100110000101100001000100000100011001010101100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000000100010000000000000000000001000000000000000000010101011001000000010000010001100000000000010000010110000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111000000000000000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000000010001000111111111111110011111010101011001010101011111110111100111110101100111111111000001111101111111011001110001011001011001011111110111111111111111111111111111000100010001010101100110000101100001000111111111000001111101111101111101110001111100010001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111011111010111111101111101111111011001010101100001110101011100010110010110011111111100000111100111110101100111100111110101100101111111010101011001111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001000001000100000100010000010110000000010111111100011101010111100111110101100111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111011111010101011001111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100000000000000111010101000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100000100010000010001000100000101100000000111111111111001010101111101111101111101111111000000011100011111000100011100011111000100010101011000011101010111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100001110101011100010110010110010101011000000000000100000001000001000111110000000001100001011000010001100001011000010001000001000000000000000000000100000000010101011001010101100111000101100101100111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001011111110111000111110001000100000100000000000000000000010000000001111000000000011000010110000100010000000100000100010101011000000000000100000001000001000101010110000000000001000000010000010001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001110111110111011111011111011111110110000000000001010101100100000001000001000111111100000001110001111100010001110001111100010001010101100111011111011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110000100010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000110010101011101111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010000010000010001000100000101100000000101010110011111111111111101111101111101111111000000011100011111000100011100011111000100010101011000000000000100000001000001000111011111011001010101111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001110111110001000100011100011111000100011111100000000111000101100101100110000101100001000110010101000100010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110010101011001011111110111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100101010110011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010000000000000100000100000000000100000000010101011000010001000110000101100001000111000000000001100001011000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000000000000000000000000000000000000000001111111111101010110011111011111011111011111000000000110000101010001000110000101010001000101010110010101011001110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001010101100101111111011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101010110000000000001000000010000010001000001000101111111011100011111000100011111000000000110000101100001000110000101100001000111011111000100010001110001111100010001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011001010101010101100111000101100101100001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011101111101000001000111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001100101010101010110011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011000011101010111111111111111011111011111011111111111011111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011001010101000001000110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011101111101000001000111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000010001000001000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010001010101100101111111011110011111010110011101111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101010110011101111101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100001000100011001010101100001011000010001110111110111111111111111111111111111011111111100000111110111110111110111000111110001000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010000010000011101010110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100010101011001111111111111110111110111110101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110010000010001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000100010001011111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100111011111000111010101111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001010101100111011111011110011111010110010000010001100101010110000101100001000111111100000001111001111101011001100001011000010001000001000101010110011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110000000000001000000010000010001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000100000100010111111101110001111100010001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110101010110011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001011111110101010110011110011111010110000000000001110111110110000101010001000111111100000001111001111101011001100001011000010001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100001000100011001010101100001011000010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000001000100011101111101110001111100010001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010101011001110111110111100111110101100000000000000100010000000000010000000001111100000000011100011111000100010000000100000100010111111101000001000111000111110001000111111111110101011001111101111101111101111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001010101100100000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001011111110111011111011111011111110110010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111101010101100111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110010000010001110111110111000111110001000111011111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011000011101010001000100011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001011111110100000100011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110010101011001110001011001011001000001000100000100010000010110000000011111000000000110000101100001000110000101100001000101010110000100010001100001011000010001110111110000000000011000010101000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110011101010111110111110111110001110101011001010101110001011001011001111111110000011110011111010110011110011111010110010000010001010101100110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000110010101011001010101110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010111111101111111111111111111111111110001110101010101011001110001011001011001111111111000011111011111011111011110011111010110000111010101000001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111100000011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111011111011111111111111111010111111101110111110111110111111101100111111111111001111111111111111101111101111111011001000001000101111111011100011111000100010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100001000100000111010101100001011000010001111111111111011111011111111111111111011111111100000111110111110111110111000111110001000100000100010101011001100001011000010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011000011101010101111111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001010101100001000100011000010110000100011101111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001010101100101010110011100010110010110011111111100000111100111110101100111100111110101100001000100010101011001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001011111110111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100000111010101000001000110000101100001000001000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000000000000101111111011000010101000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001011111110100000100011100011111000100010000010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011000011101010111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100100000100000111010101100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001000001000001110101011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111101111111011111111111111111010101011001000001000110000101100001000111111111000001111101111101111101110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101111111010101011001111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100001000100010111111101110001111100010001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110010000010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000111011111011111111111111111111111111101111111110000011111011111011111011100011111000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101010110000100010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000101111111000111010101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011101111101011111110111110111111101100101111111010101011001111001111101011001111111111000011111011111110110011110011111010110010111111101111111111111111111111111110111111111111101111101111111111111111101111111111111011111111111111111111111011111110110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111111111111111101111001111101011001111111111111111111111111111111111111111111000000000000000000011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001010101100101010110011100010110010110010111111100010001000111000111110001000111111100000001110001011001011001110001011001011000011101010001000100011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001011111110111011111011111011111110110011111110000000111000111110001000111000111110001000101111111010000010001110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001010101100111111111111111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100110010101010111111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000111011111000100010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010101011001000001000110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011101111101110111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111000000000001011111110110000101010001000111111110000001111001111101011001110001111100010001011111110111111111111111111111111111000111010101000001000110000101100001000111111111000001111101111101111101110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011001011111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100010000010000010001000100000101100000000001000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001100101010001000100011000010110000100011001010101110111110111100111110101100111111100000001111001111101011001100001011000010001000001000100000100010000010110000000000100010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000101010110010101011001110001011001011001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100001000100010101011001100001011000010001110111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110010111111101010101100111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100010101011001100001011000010001110111110101111111011111011111110110011111111000000111100111110101100111000111110001000100000100011111111111111001111101010101010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010000010000010001000100000101100000000101111111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111010101100111110111110111110111011111000000000001100001010100010001111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000010001000101010110011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000000000000000101010110010000000100000100010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101111111000100010001110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000110010101010101011001110001011001011000000000000110010101010000000100000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001000001000100000100010000010110000000010000010000000000000000000001000000000110000000000001000001011000000000000000010000000001000001000100000100010000010110000000000000000000011101010100000001000001000111000000000001000001011000000001000001011000000001111110000000000000000000000001110000000000010000010110000000010000010110000000011000000000000100000101100000000000000001000000000111011111000111010101111001111101011000000000000100000100000000000100000000011111000000000111000111110001000100000001000001000101111111011101111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011001010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100111011111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000111111111111110011111010101010000010001010101100110000101100001000111111100000001111001111101011001100001011000010000010001000111111111111110011111010101000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001011111110111100111110101100100000100000000000000000000010000000001111100000000011100011111000100010000000100000100010000010001000001000100000101100000000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001110111110001000100011100011111000100011001010101100101010111000101100101100111111100000001110001011001011001110001011001011001000001000111111111111110011111010101010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000001000100011101111101110001111100010000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000000000000010101011001000000010000010001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011001010100000000000100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000010101011000000000000100000001000001000111011111000000000001100001010100010001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111110000000000000000000000000000000000000000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111011111010101011001111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100000000000011101111101100001010100010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100010101011001000001000110000101100001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100000000000000010001000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111100000000000000000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001010101100101111111011110011111010110010000010000011101010110000101100001000111111100000001111001111101011001100001011000010001011111110111111111111111111111111111000111010101111111111111110111110111110111111111111001111111111111111101111101111111011001111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111100111110101100111100111110101100101010110010111111101111001111101011000000000000001110101010000000100000100011111100000000111000111110001000110000101100001000101111111000100010001110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001000001000100000100010000010110000000011001010100010001000110000101100001000111100000000001100001011000010001000001011000000001110111110000000000011000010101000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111011111011101111101111101111111011001110111110101111111011111011111110110011111111111000111110111111101100111110111111101100100000100010111111101110001111100010000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010101011001000001000110000101100001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100000100010000011101010110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100111011111011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001110111110101010110011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100010101011000010001000110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000111011111011100011111000100010101011001110111110111100111110101100111111110000001111001111101011001110001011001011000000000000100000100000000000100000000010101011001111111111111110111110111110111111000000001110001111100010001100001010100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110111111101111111111111111100000000000101010110010000000100000100011111111000000111100111110101010111000111110001000111011111011111111111111111111111111101010101100101010110011100010110010110011111111110000111110111110111110111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010000010001011111110111000111110001000111111111110111111101111111111111111101111111111000011111011111011111011110011111010110011101111101011111110111110111111101100111111111111101111101111111111111111101111111111110011111111111111111011111011111110110011111111111111111111111000000011111111111100111111111111111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100101111111010101011001111001111101011000000000000111011111011000010101000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001011111110001110101011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111100011101010111100111110101100101111111011111111111111111111111111101111111111100011111111111111111011110011111010110010101011001010101100111000101100101100111011111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001010101100111111111111111011111011111010000010001010101100110000101100001000111111110000001111001111101011001110001111100010000010001000001000100010000010110000000010000010000000000000000000001000000000110000000000001000001011000000000000000010000000001111111111100000000000000000001111110000000011100011111000100011000010110000100011110000000000110000101100001000100000001000001000101111111010111111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000001000100000100010001000001011000000001100101010001000100011000010110000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001000001000110010101011000010110000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000001000001000110010101011000010110000100000111010100000000000100000001000001000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000001000100010000010001000001011000000000000000000101010110010000000100000100011100000000000100000101100000000100000101100000000101010110000100010001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111000000000000000000000000000000000000000000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111111110000000000000000000000111111111111111111111000000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000010101011001000001000110000101100001000001110101010101011001110001011001011001111110000000011100010110010110011000010110000100010000010001100101010110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100100000100011000010110000100011111111111000001000111100111110101010111111100000001111001111101011001100001011000010000000000000001000100000000000100000000011101111100010001000111000111110001000111100000000001100001011000010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010111111101010101100111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110000000000001010101100100000001000001000101111111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001010101100110010101011100010110010110000100010000000000000000000001000000000111100000000001100001011000010001000000010000010000000000000101010110010000000100000100010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000000000000010101011001000000010000010000011101010101111111011110011111010110011111100000000111000111110001000110000101100001000101111111011001010101111001111101011000011101010101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100001000100000111010101100001011000010001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100111011111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001000100000111010101100001011000010000010001000111111111111110011111010101011111110000000111100111110101100110000101100001000101010110000111010101110001011001011000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000110010101010101011001110001011001011001111100000000011000010110000100011000010110000100000100010001011111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001100101010000000000010000000100000100010111111101110111110111110111111101100111111100000001110001111100010001110001111100010001011111110100000100011100011111000100010111111101111111111111111111111111110111111111100001111101111101111101111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100100000100011001010101100001011000010000010001000111111111111110011111010101011111110000000111100111110101100110000101100001000101010110011111111111111101111101111101110111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000000000000001110101010000000100000100010000010001011111110111000111110001000111110000000001100001011000010001100001011000010001011111110001000100011100011111000100010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111011111010111111101111101111111011001111111111100000100011110011111010101011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111110111110101010110011110011111010110011111111111100111111111111111110111110111110111110111111111111111111111110000000111111111111001111111111111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010101011001100101010111000101100101100101111111011111111111111111111111111101111111111000011111011111011111011110011111010110010101011001010101100111000101100101100101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100011111111110010001000111100111110101010111111110000001111001111101011001110001011001011001010101100101010110011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000111010101011111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110000111010100010001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110010101011001000001000110000101100001000111111000000001110001011001011001100001011000010000011101010111111111111111011111011111011101111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110010111111101111001111101011001110111110001000100011100011111000100011111111000000111100111110101100111000101100101100101111111011101111101111101111111011001000001000001000100010000010110000000011111110000000111000111110001000111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111100011101010111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011101111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100110010101010111111101111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100100000100011001010101100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010000010000010001000100000101100000000110010101010111111101111001111101011001111110000000011100011111000100011000010110000100011001010100000000000100000001000001000101111111010000010001110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001000001000101010110011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010000010001000000000000000000000100000000000100010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000001110101010111111101111001111101011000000000000100000100000000000100000000011111000000000111000111110001000100000001000001000000000000010101011001000000010000010000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001000001000101111111011100011111000100010000010000000000000000000001000000000111100000000001100001011000010001000000010000010000011101010101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000110010101011101111101111001111101011001100101010000000000010000000100000100011111100000000111000111110001000110000101100001000101111111011111111111111111111111111101010101100111011111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111111000001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100000100010001110111110111000111110001000110010101010000010001100001011000010001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001011111110111111111111111111111111111010101011000000000000100000001000001000111111110000001111001111101010101110001111100010001010101100001000100011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011101111101000001000111000111110001000001000100000000000000000000010000000001111000000000011000010110000100010000000100000100000000000001000001000000000001000000000001000100000000000000000000010000000001000000000000010000010110000000000000000000000000011111100000000000000000000000011100000000000110000101100001000000000001000000000110000000000001000001011000000000000000010000000001110111110110010101011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010000010001000101010110011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111111111111111111111111111000000000000000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111100000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101111111011101111101111101111111011001000001000101111111011100011111000100011111111100000111100111110101100111100111110101100101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100100000100000100010001000001011000000001111100000000011000010110000100011000010110000100010000010001110111110111000111110001000001110101011001010101110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111000000011100010101010101011100010101010101000000000001010101100100000001000001000000000000000100010000000000010000000001100000000000010000010110000000000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000000000000000000000000000000000000000010101011001000001000110000101100001000110000000000001000000010000010000000000010000000001000001000111111111111110011111010101010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000101010110010101011001110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000101010110000000000001000000010000010000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111100000000000000000000000000000000000000000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000000000000000101111111011000010101000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001100101010100000100011000010110000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000101010110000100010001100001011000010000011101010001000100011000010110000100011111000000000111000101100101100100000101100000000101111111010101011001111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111100000000000000000000000111111111111111111111000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111000000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000010101011001010101100111000101100101100111111111111101111101111111111111111101111111111000011111011111011111011110011111010110000000000001011111110110000101010001000110010101011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001000001000111011111011100011111000100011111111111110111110111111111111111110111111111100001111101111101111101111001111101011001000001000101010110011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111100011101010111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100010101011001010101100111000101100101100101111111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001000001000111111111111110011111010101010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100001000100010101011001100001011000010001110111110100000100011100011111000100011111100000000111000101100101100110000101100001000001000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000111010101011111110111100111110101100001000100000000000000000000010000000001111100000000011100011111000100010000000100000100000000000001010101100100000001000001000000000000000000000000000000000000000001000000000000000000000100000000000000000100000000011111110000000000000000000000011100000000000110000101100001000000000001000000000111000000000001100001011000010000000000010000000001111111111111111111000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111011111010101011001111001111101011000010001000000000000000000000100000000011111000000000111000111110001000100000001000001000001000100000100010001000001011000000000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011001010101100101010111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001000001000100000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010001010101100111011111011110011111010110011001010100010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011000000000000001110101010000000100000100011111000000000110000101100001000110000101100001000001110101000000000001000000010000010000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000000000000111111111111100010101010101010101011000000000000100000001000001000111110000000001100001011000010001100001011000010001100101010101010110011100010110010110000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010101011001100001011000010000000000000000000000000000000000000000011000000000000100000001000001000000000001000000000101010110010101011001110001011001011001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011101111101000001000111000111110001000000000000010101011001000000010000010001111100000000011000010110000100011000010110000100000100010000010001000100000101100000000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001011111110101010110011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001010101100101111111011110011111010110011101111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100010111111101110111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001000001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000000000000010101011001000000010000010001100101010000000000010000000100000100011100000000000100000101100000000100000101100000000111111111110101011001111101111101111100010001000111011111011100011111000100011111111100000111100111110101100111100111110101100111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100000100010001100101010110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000000100010001010101100110000101100001000101111111000100010001110001111100010001111110000000011100010110010110011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000000000000010000010000000000010000000001010101100001000100011000010110000100011100000000000110000101100001000000000001000000000111011111010101011001111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010101011001100101010111000101100101100001110101000000000001000000010000010001111100000000011000010110000100011000010110000100010101011001000001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111111100000000000000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001100101010101010110011100010110010110010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111110010101011111011111011111010111111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000101010110000000000001000000010000010000000000000111011111011000010101000100011110000000000110000101100001000100000101100000000111111111110101011001111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001100101010000000000010000000100000100010111111100010001000111000111110001000111110000000001100001011000010001100001011000010001100101010111111111111111011111011111010000010000010001000100000101100000000111111100000001110001111100010001110001111100010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000100000100000000000000000000010000000001110111110101111111011111011111110110011111100000000111000111110001000110000101010001000110010101000100010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100000100010001010101100110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000000111010101000001000110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000000000000100000100000000000100000000010101011001000001000110000101100001000111000000000001100001011000010000000000010000000001010101100110010101011100010110010110011001010101010101100111000101100101100111111100000001110001011001011001110001011001011001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100000000000000100010000000000010000000001111100000000011100011111000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000001000100010000010110000000010000010001010101100110000101100001000111100000000001100001011000010001000001011000000001110111110101010110011110011111010110000111010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111100000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101010110010101011001110001011001011000010001000000000000000000000100000000011110000000000110000101100001000100000001000001000101010110011101111101111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100000100010001000001000100000101100000000111111111111101111101111111111111111101111111100000011110011111010101011100011111000100010101011000010001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010111111101111001111101011001111111111100000100011110011111010101011111111100000111110111111101100111000101100101100001000100011111111111111001111101010101011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100000100010001011111110111000111110001000101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001010101100111011111011110011111010110011001010100010001000110000101100001000111111100000001111001111101011001100001011000010001110111110111111111111111111111111111010000010001010101100110000101100001000111111111000001111101111101111101110001111100010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100110010101000111010101110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111110111111101111111111111111101011111110111111111111111111111111111011111111111110111111111111111111111110111111101100111111111111111111111110000000111111111110001111111111111111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111111111111111111111111111000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001110111110101010110011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001010101100101010110011100010110010110011111111110011101010111110111110111110111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111011111011101111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000110010101000000000001000000010000010001010101100111011111011110011111010110011111100000000111000111110001000110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011101111101010101100111100111110101100101111111011111111111111111111111111101111111111100011111111111111111011110011111010110000111010101110111110111100111110101100001000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001011111110101111111011111011111110110000000000001111111111111000101010101010111111111000001111001111101011001111001111101011001011111110001000100011100011111000100000000000000000000000000000000000000000111000000000001000000010000010001000000010000010001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100000100010001111111111111100111110101010101010110011101111101111001111101011001111111110000011111011111110110011100010110010110010101011001010101100111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110011001010101111111111111110111110111110111111111000001111001111101011001111001111101011000000000000101010110010000000100000100000111010100000000000100000001000001000111000000000001000001011000000001000001011000000001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100100000100000100010001000001011000000001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000111111111110101011001111101111101111101010101100000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000000000000000000000000000000000001000100010101011001100001011000010001100000000000010000000100000100000000000100000000000111010101000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011000011101010001000100011000010110000100011111100000000111000101100101100110000101100001000111011111011101111101111101111111011001010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011101111100010001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000000000000100000100000000000100000000011111111111110111110111111111111111110111111100000001111001111101010101100001010100010001100101010111011111011110011111010110011101111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110011101111101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100101111111010101011001111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010000011101010111111111111111011111011111000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000001110101010101011001110001011001011001100101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011101111100011101010111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100010111111101110111110111110111111101100101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001010101100101111111011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001010101100001110101011100010110010110010111111101100101010111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011101111100010001000111000111110001000111011111000000000001100001010100010001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000010001000101010110011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010000000000000101111111011000010101000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000100000100000100010001000001011000000001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000101111111010000010001110001111100010001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000010101011000000000000100000001000001000000000000011101111101100001010100010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000110010101010000010001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010000000000000000000001000000000111011111000100010001110001111100010001111000000000011000010110000100010000000100000100011001010100000000000100000001000001000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001010101100101010110011100010110010110011111111110011101010111110111110111110111111111000001111001111101011001111001111101011001110111110111111111111111111111111111010111111100010001000111000111110001000111111111100001111101111101111101111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110000111010101110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100101111111000000000001100001010100010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111101010110011111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111110000010001111001111101010101011111110101010110011110011111010110011111111100000111110111111101100111000101100101100101111111010111111101111101111111011001010101100001110101011100010110010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001010101100111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110000100010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001110111110101111111011111011111110110010101011000011101010111000101100101100111111111000001111001111101011001111001111101011001110111110101010110011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000111010101110111110111100111110101100000000000010000010000000000010000000001111100000000011100011111000100010000000100000100010101011001010101100111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001110111110101010110011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001000001000000000000000000000100000000010101011001011111110111100111110101100111110000000001110001111100010001000000010000010001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000100000100000111010101100001011000010001000001000001110101011000010110000100011111000000000111000101100101100100000101100000000001110101000100010001100001011000010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001000001000100000101100000000000000000011101111101100001010100010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000110010101010000010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000111011111000100010001110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000101010110000111010101110001011001011001111100000000011000010110000100011000010110000100011001010100000000000100000001000001000001110101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001010101100111011111011110011111010110011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101100101010101010110011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111110000010001111001111101010101111111111101010110011111011111011111011111111110000111110111111101100111100111110101100101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011000011101010111111111111111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011000011101010111011111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100010111111101110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100001110101011111111111111101111101111101110111110001110101011110011111010110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010111111101111111111111111111111111110111011111010111111101111101111111011001111111111110011111111111111111011111011111110110010111111101111111111111111111111111110101111111010111111101111101111111011001111111111110011111111111111111011111011111110110011111111111111111111111110000011111111111110111111111111111111111110111111101100111111111110001111101111111011001111101111111011001010101100001110101011100010110010110010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001010101100111011111011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111110000000000000000001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110010101011001000001000110000101100001000111111111110111111101111111111111111101111111110000011111011111011111011100011111000100011111111110011101010111110111110111110001110101010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011000010001000111111111111110011111010101010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111101111111011111111111111111011111111110011101010111110111110111110111111111111001111111111111111101111101111111011001111111111111111111111100000001111111111110011111111111111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111100000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111111101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111110111111101111111111111111101110111110001110101011110011111010110011111111111000111111111111111110111100111110101100101111111010101011001111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111010101100111110111110111110111011111010111111101111101111111011001111111111100011111011111110110011111011111110110010101011001110111110111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111100000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100101111111010101011001111001111101011001011111110101111111011111011111110110011111111110000111110111111101100111100111110101100111011111011101111101111101111111011001110111110001000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011101111101000001000111000111110001000111111111111101111101111111111111111101111111111000011111011111011111011110011111010110010101011000011101010111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111100000000000000000000011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001110111110001110101011110011111010110000100010001100101010110000101100001000111111100000001111001111101011001100001011000010000011101010100000100011000010110000100010111111100000000000110000101010001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000001000100011111111111111001111101010100010001000001110101011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100101111111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001010101100111111111111111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100110010101010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111001010101111101111101111100010001000000000000000000000100000000011111100000000111000111110001000110000101010001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010000010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100010101011001011111110111100111110101100111111111110000010001111001111101010101111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100001110101011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110010000010001100101010110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101110111110111110111111101100111111111111001010101111101111101111101111111111100011111011111110110011111011111110110010101011000010001000110000101100001000001110101010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001110111110101010110011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011000000000000111011111011000010101000100011101111100011101010111100111110101100111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110010101011001110001011001011001100101010101111111011110011111010110011111111000000111100111110101100111000101100101100101111111011111111111111111111111111101010101100101010110011100010110010110011111111110000111110111110111110111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110000100010001011111110111000111110001000101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011101111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100100000100011001010101100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111011111000111010101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100111111111110111111101111111111111111101111111111000011111011111011111011110011111010110010000010001110111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001100101010101010110011100010110010110010111111101011111110111110111111101100111111111000001111001111101011001111001111101011000010001000101111111011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101111111000111010101111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100101111111010101011001111001111101011000000000000100000100000000000100000000011111000000000111000111110001000100000001000001000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111000000000001100101010100000001000001000111111100000001110001111100010001110001111100010000010001000000000000000000000100000000010000010001000001000100000101100000000110000000000001000001011000000000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000001000001000101010110011111111111111101111101111101000001000001000100010000010110000000011111110000000111000111110001000111000111110001000001110101010111111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011101111101111111111111111111111111110000000000000100010000000000010000000001111111000000011110011111010101011000010101000100011101111100000000000110000101010001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001110111110110010101011110011111010110011111111110010001000111100111110101010111111111000001111101111111011001110001011001011001000001000111111111111110011111010101010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010000010001000001000100000101100000000111111111110111111101111111111111111101111111100000011110011111010101011100011111000100000100010001010101100110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000100000100010000010110000000010111111101100101010111100111110101100111111000000001110001111100010001100001011000010001000001000000000000000000000100000000000100010001111111111111100111110101010111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110010101011001110001011001011001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100101010110011101111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110000000000001000001000000000001000000000111011111000111010101111001111101011001111100000000011100011111000100010000000100000100010111111100010001000111000111110001000111111111111101111101111111111111111101111111111000011111011111011111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101111111010111111101111101111111011000011101010001110101011100010110010110011111111100000111100111110101100111100111110101100101010110000111010101110001011001011000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010000010001000001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100000100010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000010001000110010101011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000010101011001111111111111110111110111110111111100000001110001111100010001110001111100010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000001000100010101011001100001011000010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000001000100010000010001000001011000000001110111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100111011111011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001011111110001110101011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111011111011101111101111101111111011001010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111110101011001111101111101111101110111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100000100010000010001000100000101100000000101111111011101111101111101111111011001111111000000011100011111000100011100011111000100000100010000000000000000000001000000000101111111011101111101111101111111011001111110000000011100011111000100011000010101000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000011101010100000100011000010110000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001000001000111111111111110011111010101000100010000000000000000000001000000000111110000000001110001111100010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001010101100110000101100001000110010101010000010001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100001000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001110111110111111111111111111111111111010000010001010101100110000101100001000111111111000001111101111101111101110001111100010000010001000100000100010000010110000000011101111101110111110111110111111101100111111100000001110001111100010001110001111100010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111110000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001000100000100010001000001011000000001111111111101010110011111011111011111011111110000000111000111110001000111000111110001000101010110011111111111111101111101111101011111110111111111111111111111111111011111111111100111111111111111110111110111111101100111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110010000010001011111110111000111110001000101111111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111010101100111110111110111110111111111111101111101111111111111111101111111111110011111111111111111011111011111110110011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111000000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100000000000010101011001000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000101010110000100010001100001011000010001100101010111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011101111101110111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111011111110111111111111111110110010101011111111111111101111101111101111111111110011111111111111111011111011111110110011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001010101100001000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001010101100000000000010000000100000100000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000001110101010101011001110001011001011000000000000110010101010000000100000100011111000000000110000101100001000110000101100001000101111111010101011001111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001111111111101111111011111111111111111000100010001010101100110000101100001000111111111000001111101111101111101110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000110010101010111111101111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100000000000011001010101000000010000010001010101100110010101011100010110010110011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011001010101010101100111000101100101100101111111011101111101111101111111011001111111110000011110011111010110011110011111010110010000010001000001000100000101100000000111011111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001011111110101010110011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101110111110111110111111101100111111111100100010001111001111101010101111111111000011111011111110110011110011111010110010101011001110111110111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011000011101010100000100011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000000010001000111011111011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001000100000100010001000001011000000001111111111100000100011110011111010101011111100000000111000111110001000110000101100001000101010110010111111101111001111101011000010001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010111111101011111110111110111111101100001000100000100010001000001011000000001111111000000011100011111000100011100011111000100011001010100000000000100000001000001000101010110000000000001000000010000010001110000000000010000010110000000010000010110000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010111111101110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000100000100000100010001000001011000000001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011101111101010101100111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100010101011001110111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000000011101010111111111111111011111011111010000010000010001000100000101100000000111111100000001110001111100010001110001111100010001110111110110010101011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001110111110100000100011100011111000100011111100000000111000101100101100110000101100001000101010110010111111101111001111101011001011111110000000000011000010101000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001011111110000000000011000010101000100000111010101110111110111100111110101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110000111010100011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110000000000001000000010000010001010101100111111111111111011111011111011111110000000111000111110001000111000111110001000101111111000000000001100001010100010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011101111101100101010111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010101011001010101100111000101100101100111111111100100010001111001111101010101111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100100000100011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101011111110111110111111101100111111111110101011001111101111101111101111111111100011111011111110110011111011111110110010000010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010000010001000100000100010000010110000000011101111101000001000111000111110001000111110000000001100001011000010001100001011000010000010001000111011111011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100000000000011101111101100001010100010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000101010110000000000001000000010000010001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100010000010000010001000100000101100000000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000110010101010101011001110001011001011001011111110000000000011000010101000100011111100000000111000101100101100110000101100001000000000000010111111101100001010100010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000010111111101010101100111100111110101100001110101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111100000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001110111110100000100011100011111000100011111111111011111110111111111111111110111111111100001111101111101111101111001111101011001110111110101111111011111011111110110011101111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111011111011111111111111111111111111101000001000111011111011100011111000100011111111110000111110111110111110111100111110101100111011111010101011001111001111101011000000000000101010110010000000100000100011111100000000111000111110001000110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001011111110101111111011111011111110110010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111011111011111111111111111011101111101110111110111110111111101100111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100101111111010111111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000111011111011101111101111101111111011001000001000111011111011100011111000100011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011001010100000000000100000001000001000110010101000111010101110001011001011001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100100000100011000010110000100000100010001100101010110000101100001000111110000000001110001011001011001000001011000000001011111110000000000011000010101000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010001100101010110000101100001000101111111000000000001100001010100010001111100000000011100010110010110010000010110000000010000010000011101010110000101100001000001110101000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100100000100011000010110000100010000010001100101010110000101100001000111110000000001110001011001011001000001011000000000000000000001000100000000000100000000010101011001010101100111000101100101100111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111110000000000000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000100000100011101111101110001111100010000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000111111111110101011001111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100010101011001000001000110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111101111111010111111101111101111111011001111111111111011111111111111111011111111111111111011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111101111101111101110001111100010001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000001000100010101011001100001011000010000011101010110010101011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001011111110001110101011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110000111010100000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001011111110111111111111111111111111111010000010001010101100110000101100001000111111111000001111101111101111101110001111100010001111111111101111111011111111111111111011111111110000000000111000101010101010111111111100001111101111101111101111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100110010101000111010101110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111011111011111111111111111111111111101111111111111011111011111111111111111011111111111110111111111111111111111110111111101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111011111011110011111010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001011111110000000000011000010101000100000111010101011111110111100111110101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110011101111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111000000000001100001010100010001000001000111111111111110011111010101011111110000000111100111110101100110000101100001000101111111010101011001111001111101011001011111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011101111101000001000111000111110001000001000100010101011001100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100001110101000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001011111110100000100011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000100010001011111110111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110010000010001000001000100000101100000000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000010001000001110101011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000000011101010111111111111111011111011111000000000000010001000000000001000000000111111000000001110001111100010001100001010100010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111100111010101111101111101111101110111110110010101011110011111010110011111111110000111110111111101100111100111110101100101111111010000010001110001111100010001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110000100010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011101111101010101100111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000001110101011101111101111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100001110101011101111101111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011101111101000001000111000111110001000101111111010111111101111101111111011001111111110000011110011111010110011110011111010110000100010001110111110111000111110001000111111111110000010001111001111101010101111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100111011111011110011111010110011001010100010001000110000101100001000111111100000001111001111101011001100001011000010000000000000101010110010000000100000100010000010000000000000000000001000000000110000000000001000001011000000000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000001000001000101111111000111010101111001111101011000011101010000000000010000000100000100011111100000000111000111110001000110000101100001000101010110010101011001110001011001011000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000100000100010000010110000000000111010100000000000100000001000001000111000000000001000001011000000001000001011000000001000001000111011111011100011111000100000111010100011101010111000101100101100111111100000001110001011001011001110001011001011001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111011111010101011001111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100001000100000000000000000000010000000000010001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111100000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011001000001000110000101100001000101010110011001010101110001011001011001111110000000011100010110010110011000010110000100000100010000000000000000000001000000000001000100010101011001100001011000010001110000000000011000010110000100000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001011111110100000100011100011111000100000100010001000001000100000101100000000111110000000001100001011000010001100001011000010000000000000111011111011000010101000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000010101011001010101100111000101100101100100000100000111010101100001011000010001111110000000011100010110010110011000010110000100010111111100010001000111000111110001000000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000101010110011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111101010110011111011111011111011101111101000001000111000111110001000111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000001000100000100010001000001011000000001111111111110010101011111011111011111011111110000000111000111110001000111000111110001000001000100000000000000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001110111110111100111110101100001000100011101111101110001111100010001111111100000011110011111010110011100010110010110000000000000010001000000000001000000000110010101010000010001100001011000010001110000000000011000010110000100000000000100000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110000111010101110001011001011001100101010001000100011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001000001000111111111111110011111010101011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011001010101111111111111110111110111110000000000010000010000000000010000000001111110000000011100011111000100011000010101000100010101011001011111110111100111110101100110010101010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111100000011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111011111011111111111111111011101111101111111111111111111111111110111111111111101111111111111111111111101111111011000010001000111011111011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111111100000001111111111100011111111111111111011110011111010110011111111111000111111111111111110111100111110101100111011111010101011001111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110010111111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110011111111111011111110111111111111111110111111111110001111111111111111101111001111101011001010101100100000100011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100101010110011111111111111101111101111101010101100111011111011110011111010110011111111110000111110111111101100111100111110101100111011111011111111111111111111111111101110111110001110101011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110000100010001010101100110000101100001000111011111011001010101111001111101011001111111000000011110011111010110011000010110000100011001010100010001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001100101010000000000010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000010101011000011101010111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001011111110111011111011111011111110110000000000001010101100100000001000001000111111100000001110001111100010001110001111100010001011111110100000100011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101010110010101011001110001011001011001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100101010110011101111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110111111111100111010101111101111101111101111111111100011111011111110110011111011111110110011111111111010101100111110111110111110111111111110101011001111101111101111101111111111100011111011111110110011111011111110110011111111111111111111111000000011111111111000111110111111101100111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111111111111111111111100000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100101010110010101011001110001011001011001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111100111010101111101111101111101010101100001110101011100010110010110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010000010001000001000100000101100000000111111111100000000001110001010101010101111100000000011000010110000100011000010110000100011101111101110111110111110111111101100101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001110111110100000100011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001110111110101111111011111011111110110011111111111110111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111011111010111111101111101111111011001000001000111011111011100011111000100011111111100000111100111110101100111100111110101100111011111000000000001100001010100010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001011111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001010101100111011111011110011111010110011101111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100101111111011111111111111111111111111101110111110001000100011100011111000100011111111110000111110111110111110111100111110101100001110101011101111101111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010000010001100101010110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100000100010000010001000100000101100000000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001010101100001110101011100010110010110000100010000000000000000000001000000000111100000000001100001011000010001000000010000010001010101100001000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010000010000010001000100000101100000000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000000000000001010101100100000001000001000101010110000000000001000000010000010001110000000000010000010110000000010000010110000000011111100000000000000000000000011100000000000100000101100000000100000101100000000110000000000001000001011000000000000000010000000001010101100100000100011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000000000000000101010110010000000100000100000000000001010101100100000001000001000111000000000001000001011000000001000001011000000001111111000000000000000000000001110000000000010000010110000000010000010110000000011100000000000100000101100000000100000101100000000111111111111110000000000000000000000000000000000000000000000001111111000000000000000000000001110000000000010000010110000000010000010110000000011100000000000100000101100000000100000101100000000111111000000000000000000000000111000000000001000001011000000001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111111111111110000000000000000000000000000001111111111111111100000000000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000011111111111111110000000000000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000111111100000000011110000110010110000100010001011000000001100000010001011000000000000001000000000101010110000100010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000101111111011101111101111101111111011001110111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100010111111101010101100111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100010111111101000001000111000111110001000110010101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011000010001000101111111011100011111000100011111111000000111100111110101100111000101100101100111011111000111010101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100101111111000100010001110001111100010001111111000000011100010110010110011100010110010110011111111111010101100111110111110111110101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001000001000101111111011100011111000100010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000001000100010000010001000001011000000000000000000100000100000000000100000000011000000000000100000101100000000000000001000000000101010110010101011001110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000000000000110010101010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001110111110001110101011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111011111011101111101111101111111011001000001000001000100010000010110000000011111110000000111000111110001000111000111110001000110010101010000010001100001011000010001111111111110010101011111011111011111011111111000000111100111110101100111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001010101100111000101100101100111011111000100010001110001111100010001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100110010101011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001110111110001000100011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111010111111101111111111111111111111111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100101111111011101111101111101111111011001111111110000011110011111010110011110011111010110000100010001010101100110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100100000100011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100101111111010101011001111001111101011000000000000000000000000000000000000000011110000000000110000101010001000100000001000001000000000000000100010000000000010000000001010101100001000100011000010110000100011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011001010101011111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100101111111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000101111111000100010001110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110011001010101110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011000011101010111000101100101100100000100011111111111111001111101010101111111100000011110011111010110011100010110010110010101011000010001000110000101100001000001110101010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001011111110001110101011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001011111110101111111011111011111110110011101111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100001000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010000000000000101111111011000010101000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001100101010111111111111111011111011111000111010101010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000110010101010101011001110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001111111111100000100011110011111010101011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000000000001010101100100000001000001000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100010111111101010101100111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100000000000010000000100000100000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000000000001010101100100000001000001000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000010000010001100101010110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001110111110101010110011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101010110010111111101111001111101011001100101010001110101011100010110010110011111111000000111100111110101100111000101100101100101111111011111111111111111111111111100010001000111111111111110011111010101011111111111000111111111111111110111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110010101011001011111110111100111110101100001000100010111111101110001111100010001111111100000011110011111010110011100010110010110011101111100010001000111000111110001000001000100011101111101110001111100010001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100000000000010101011001000000010000010001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000100000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011101111101110111110111110111111101100111011111010101011001111001111101011001111111111000011111011111110110011110011111010110011001010101010101100111000101100101100000000000011101111101100001010100010001111110000000011100010110010110011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001010101100001110101011100010110010110010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001011111110000000000011000010101000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001110101000000000001000000010000010001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000001110101011101111101111001111101011000010001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000000000000111111111111100010101010101010111111101111111111111111111111111110111111111100001111101111101111101111001111101011001000001000111011111011100011111000100010101011000000000000100000001000001000111110000000001100001011000010001100001011000010001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000001000100000000000000000000010000000001110111110000000000011000010101000100011100000000000110000101100001000000000001000000000111011111010101011001111001111101011001011111110001110101011110011111010110011111111100000111110111111101100111000101100101100111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010000010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100010101011000010001000110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000000000000000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001111111111111110111110111110101010110010101011001110001011001011001111111110000011110011111010110011110011111010110010111111101000001000111000111110001000000000000011101111101100001010100010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001110111110100000100011100011111000100010000010000000000000000000001000000000111100000000001100001011000010001000000010000010001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001110101000100010001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000100000100000100010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010111111100010001000111000111110001000000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011101111100011101010111100111110101100000000000010000010000000000010000000001111100000000011100011111000100010000000100000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000100000100010000010001000001011000000001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000111011111010000010001110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011000010001000110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111100000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001010101100001110101011100010110010110011001010100010001000110000101100001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001000100010101011001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010000011101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000100000100010000010110000000010000010000010001000100000101100000000111000000000001000001011000000001000001011000000000011101010001110101011100010110010110000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101010110010000010001100001011000010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000110010101010111111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011000011101010111000101100101100101010110011001010101110001011001011001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000000000000000000000100000000010000010000000000000000000001000000000100000000000001000001011000000000000000000000000001010101100100000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111000000000000000000000001110000000000011000010110000100000000000100000000011100000000000110000101100001000000000001000000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010101011001100101010111000101100101100100000100000000000000000000010000000001111000000000011000010110000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001110111110000000000011000010101000100011111111111111111111111111111111111111111111111100001111101111101111101111001111101010100010001000110010101011000010110000100000111010100010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001110101011111111111111101111101111101000001000001000100010000010110000000011111110000000111000111110001000111000111110001000111011111010101011001111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111100011101010111100111110101100101111111010000010001110001111100010001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000000000000000111010101000000010000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000110010101011001010101110001011001011001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100100000100011101111101110001111100010000011101010001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000000000000011111111111110001010101010101111100000000011000010110000100011000010110000100010101011000010001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001011111110001110101011110011111010110000111010101111111111111110111110111110111111111100001111101111111011001111001111101011000011101010001000100011000010110000100000100010001111111111111100111110101010111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101111111000111010101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000101111111010000010001110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111001000100011110011111010101010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100100000100000100010001000001011000000001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000111011111011101111101111101111111011001010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000100010001110111110111000111110001000110010101010101011001110001011001011001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000101010110011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000011101010101010110011100010110010110010000010001110111110111000111110001000111111100000001110001011001011001110001011001011000010001000000000000000000000100000000010000010000000000000000000001000000000100000000000001000001011000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000000100000100011110000000000110000101100001000100000001000001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111010101100111110111110111110101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001110111110111111111111111111111111111010101011001010101100111000101100101100111111111100001111101111101111101111001111101011001111111111111111111111111111111111111111101111101000001000111000111110001000111111111110001111101111101111101111101111101111101111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000101010110010111111101111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100101111111011101111101111101111111011001011111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010101011001011111110111100111110101100000000000000111010101000000010000010001111110000000011100011111000100011000010110000100000100010001110111110111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001000100010000010001000001011000000001110111110001110101011110011111010110011111100000000111000111110001000110000101100001000101010110000100010001100001011000010000000000000111011111011000010101000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011101111101010101100111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010000010001000001000100000101100000000101111111011111111111111111111111111101111111100000011110011111010101011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100101111111011110011111010110010000010000000000000000000001000000000111110000000001110001111100010001000000010000010001111111111000000000011100010101010101010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100000000000000000000010000000000010001000110010101011000010110000100011100000000000110000101100001000000000001000000000001000100000100010001000001011000000000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111100000000000000000000000111000000000001000001011000000001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001010101100110010101011100010110010110011101111100010001000111000111110001000111111100000001110001011001011001110001011001011000000000000101111111011000010101000100000111010101010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000000000000000111010101000000010000010000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011001010100010001000110000101100001000101111111011111111111111111111111111101111111110000011111011111011111011100011111000100000111010101110111110111100111110101100110010101010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001011111110100000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001110111110101010110011110011111010110000000000001100101010100000001000001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010000010001110111110111000111110001000101010110011001010101110001011001011001111111000000011100010110010110011100010110010110010111111101011111110111110111111101100100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111001010101010101100111000101100101100111111111110001111101111101111101111101111101111100010001000101010110011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110000000000001000000010000010001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000111111111110101011001111101111101111101010101100000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000101010110000000000001000000010000010001111100000000011000010110000100011000010110000100010111111101010101100111100111110101100000000000000000000000000000000000000001111000000000011000010101000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101111111011001010101111001111101011000010001000100000100010000010110000000011111100000000111000111110001000110000101100001000100000100010101011001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010001000001000100000101100000000110010101000100010001100001011000010001111000000000011000010110000100010000010110000000010101011000000000000100000001000001000000000000010111111101100001010100010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111110000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100111011111011110011111010110010111111100010001000111000111110001000111111110000001111001111101011001110001011001011001011111110001000100011100011111000100011111111111010101100111110111110111110111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100110010101010000010001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000101111111010101011001111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010001000001000111111111111110011111010101010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100100000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111100100010001111001111101010101111111111111011111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110000100010001010101100110010110000100010111111100010001000111011111000100010000010001000001000100010110000000011101111101110111110111111111110110000100010000011101010110010110000100010000010000011101010110010110000100011101111101011111110111111111110110010000010000000000000000000100000000010000010000010001000100010110000000010101011000000000000100000100000100010000010001100101010110010110000100010000010001010101100110010110000100010101011001010101100111010110010110010101011001010101100111010110010110010111111101110111110111111111110110011101111101000001000111011111000100010101011000000000000100000100000100010101011000011101010111010110010110011101111100011101010111111111010110010101011000011101010111010110010110011101111101000001000111011111000100010101011001010101100111010110010110011001010101010101100111010110010110010101011001011111110111111111010110010000010001010101100110010110000100011001010100010001000110010110000100010000010000011101010110010110000100011101111101111111111111111111111111011101111101000001000111011111000100011111111111000001000111111111010101010101011000000000000100000100000100011111111110010001000111111111010101011101111101011111110111111111110110000000000001011111110110010101000100010101011000000000000100000100000100011101111101110111110111111111110110010111111101100101010111111111010110010111111101000001000111011111000100011001010101010101100111010110010110011001010101010101100111010110010110011101111100011101010111111111010110011101111101110111110111111111110110010101011001000001000110010110000100000100010000010001000100010110000000000100010001010101100110010110000100011001010101000001000110010110000100011101111100000000000110010101000100011101111101000001000111011111000100010000010001010101100110010110000100011101111100000000000110010101000100011111111111111111111111111111111111111101111101000001000111011111000100000100010001000001000100010110000000010111111101010101100111111111010110000100010001000001000100010110000000010111111101000001000111011111000100010101011000010001000110010110000100000100010001000001000100010110000000010101011000011101010111010110010110000100010001000001000100010110000000010101011000000000000100000100000100010101011001000001000110010110000100010101011001000001000110010110000100010101011000010001000110010110000100011111111110010001000111111111010101011101111101000001000111011111000100011101111101100101010111111111010110010111111101010101100111111111010110010101011000000000000100000100000100011101111101111111111111111111111111010101011001110111110111111111010110000000000001010101100100000100000100010101011001010101100111010110010110010000010000000000000000000100000000011101111101000001000111011111000100011101111100011101010111111111010110000000000000010001000000000100000000010101011000010001000110010110000100010101011001000001000110010110000100011101111101111111111111111111111111010111111100011101010111111111010110000111010101000001000110010110000100010111111101010101100111111111010110010111111100000000000110010101000100011111111111010101100111111111011111011001010101010101100111010110010110011101111101011111110111111111110110010111111100000000000110010101000100011101111101010101100111111111010110010101011001010101100111010110010110000100010001000001000100010110000000011101111100010001000111011111000100011111111111010101100111111111011111011101111101011111110111111111110110011101111101100101010111111111010110000100010000010001000100010110000000010101011001111111111111111111011111010000010000010001000100010110000000011101111100000000000110010101000100010101011001010101100111010110010110010101011000000000000100000100000100011111111111010101100111111111011111010101011001010101100111010110010110010101011001010101100111010110010110010101011001000001000110010110000100010111111100010001000111011111000100010101011001110111110111111111010110010101011001110111110111111111010110010111111101010101100111111111010110011001010101000001000110010110000100010000010001010101100110010110000100010000010001000001000100010110000000010101011001000001000110010110000100000111010101000001000110010110000100010000010001110111110111011111000100000111010100010001000110010110000100000000000000000000000000000000000000010101011001010101100111010110010110010000010001000001000100010110000000011101111101000001000111011111000100010111111101010101100111111111010110010101011000010001000110010110000100010101011001111111111111111111011111011101111100011101010111111111010110010111111100000000000110010101000100010000010001010101100110010110000100011101111101011111110111111111110110010101011001000001000110010110000100010111111101110111110111110111111101100111111111100100010001111001111101010101111111111000011111011111110110011110011111010110010111111101111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111110000011111111111110111111111111111110111111111111111110111111111110001111111111111111101111001111101011001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001110111110100000100011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111100000000000000000001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110000100010001110111110111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110010101011001111111111111110111110111110001000100011111111111111001111101010101111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100101010110011100010110010110000111010101010101100111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110011101111100010001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100101010110010000010001100001011000010000000000000111111111111100010101010101011111100000000111000101100101100110000101100001000101010110011101111101111001111101011000011101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010111111100011101010111100111110101100101111111010111111101111101111111011001111111111000011111011111110110011110011111010110011101111100000000000110000101010001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100000000000011001010101000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000101010110011101111101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010101011000010001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100000000000011111111111110001010101010101111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000110010101011000010110000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111011111010111111101111101111111011001111111111111111111111111111111111111111111111111110111111111111111110111111111111111110101010110011101111101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111111111111111011110011111010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010000010001000111011111011100011111000100010111111101111111111111111111111111110111111111100001111101111101111101111001111101011001100101010110010101011100010110010110011111111110011101010111110111110111110111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110011101111101111001111101011000011101010001000100011000010110000100011111110000000111100111110101100110000101100001000111111111110111111101111111111111111101110111110001000100011100011111000100011111111110000111110111110111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110010101011001000001000110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001011111110001110101011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111001000100011110011111010101011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011001100101010111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110000100010001111111111111100111110101010101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011000000000000100000100000000000100000000000000000000010001000000000001000000000100000000000001000001011000000000000000000000000000011101010001000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111110000000000000000000000001110000000000011000010110000100000000000100000000011000000000000100000101100000000000000001000000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011100011111000100010000000100000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110010101011001110001011001011000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100001000100000100010001000001011000000001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000001000001000000000001000000000001000100010101011001100001011000010001110000000000011000010110000100000000000100000000000111010101110111110111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101111111000111010101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100001110101010111111101111001111101011000000000000000000000000000000000000000011110000000000110000101010001000100000001000001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010000010001010101100110000101100001000111011111011101111101111101111111011001111111100000011110011111010110011100011111000100010000010001010101100110000101100001000110010101010000010001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000000000000100000100000000000100000000000100010001000001000100000101100000000110000000000001000001011000000000000000010000000001010101100111011111011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111000000000000000001111111000000011100011111000100011100011111000100011111000000000111000111110001000100000001000001000001000100011111111111111001111101010101010101100101111111011110011111010110011111111100000111110111111101100111000101100101100100000100010101011001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110100000100011100011111000100000111010100000000000100000001000001000111110000000001100001011000010001100001011000010001000001000111011111011100011111000100000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000100000100010101011001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000000000000000100010000000000010000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000111110000000000000000000000000111000000000001100001011000010000000000010000000001000000000000000000000100000000000000000100000000011111111111111111000000000000000000000000000000000000000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111100000111110001100101100001000110010110000100011111000110010110000100011001011000010001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111000001111100011001011000010001100101100001000111110001100101100001000110010110000100010101011000010001000110000101100001000101010110011001010101110001011001011001111110000000011100010110010110011000010110000100010111111101011111110111110111111101100111011111000100010001110001111100010001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001100101010111000101100101100101010110000111010101110001011001011001111111000000011100010110010110011100010110010110010111111101111111111111111111111111110101010110011001010101110001011001011001111111111000011111011111011111011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010000011101010101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100000000000000100010000000000010000000001010101100111111111111111011111011111011111100000000111000111110001000110000101010001000101010110010111111101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110010111111101000001000111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001000100010000010001000001011000000000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000101111111010111111101111101111111011000010001000000000000000000000100000000011111100000000111000111110001000110000101010001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100001000100011101111101110001111100010001111111100000011110011111010110011100010110010110010111111101100101010111100111110101100111111111100111010101111101111101111101111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010000011101010111011111011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001000001000111111111111110011111010101010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100000000000011001010101000000010000010000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000000000000010101011001000000010000010001111111111101010110011111011111011111011111110000000111000111110001000111000111110001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001011111110001000100011100011111000100010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110011101111101111001111101011000000000000111111111111100010101010101011111111000000111100111110101100111000101100101100000000000011101111101100001010100010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011101111101010101100111100111110101100111111111100000000001110001010101010101111111100000011110011111010110011100010110010110010111111100011101010111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001110111110101111111011111011111110110010101011001000001000110000101100001000111111110000001111001111101011001110001111100010000000000000001000100000000000100000000010111111101010101100111100111110101100111110000000001110001111100010001000000010000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011001010101010101100111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011101111101011111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100111011111011110011111010110011101111100000000000110000101010001000111111100000001111001111101011001100001011000010001100101010101010110011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110011111111111111101111101111101100101010110010101011100010110010110011111111100000111100111110101100111100111110101100111111111100100010001111001111101010101100101010100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010000010000011101010110000101100001000110010101010000010001100001011000010001111100000000011100010110010110010000010110000000000000000001000001000000000001000000000000000000000100010000000000010000000001000000000000010000010110000000000000000000000000011111110000000000000000000000011100000000000110000101100001000000000001000000000111000000000001100001011000010000000000010000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000001000100000100010001000001011000000000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000111011111000100010001110001111100010001011111110000000000011000010101000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111011111110111111111111111110100000100000000000000000000010000000001111111000000011110011111010101011000010101000100011111111111000001000111100111110101010101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100001110101011100010110010110010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001011111110111111111111111111111111111010000010001011111110111000111110001000111111111100001111101111101111101111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100100000100000100010001000001011000000001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000111111111111101111101111111111111111100010001000101111111011100011111000100011111111110000111110111110111110111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000010001000100000100010000010110000000000111010101111111111111110111110111110111111100000001110001111100010001110001111100010000011101010111111111111111011111011111010000010000010001000100000101100000000111111100000001110001111100010001110001111100010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100100000100000100010001000001011000000001010101100111111111111111011111011111011111110000000111000111110001000111000111110001000101010110011101111101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000100010000010001000100000101100000000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000000000000101010110010000000100000100010111111100010001000111000111110001000111110000000001100001011000010001100001011000010000010001000100000100010000010110000000000000000001100101010100000001000001000111000000000001000001011000000001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000000000000010001000000000001000000000110010101000100010001100001011000010001110000000000011000010110000100000000000100000000010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000011101010001110101011100010110010110000100010001010101100110000101100001000111111000000001110001011001011001100001011000010000010001000001110101011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111100000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101010110010101011001110001011001011000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111110000010001111001111101010101000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000001000100011101111101110001111100010001111111000000011100010110010110011100010110010110010111111101110111110111110111111101100110010101011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111011111010000010001110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011101111100000000000110000101010001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100001000100011000010110000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001110111110001000100011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000100000100010101011001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000000000000000000000000000000000000000001010101100100000100011000010110000100011000000000000100000001000001000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111100000000000000000000000000000000000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000000000000000011101010100000001000001000111000000000001000001011000000001000001011000000001110111110101010110011110011111010110010111111101100101010111100111110101100111111111000001111101111111011001110001011001011001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000000000000011111111111110001010101010101010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101010110000000000001000000010000010000000000000001110101010000000100000100011100000000000100000101100000000100000101100000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111100000000000000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111100000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011001011111110111100111110101100111111111100000000001110001010101010101111111100000011110011111010110011100010110010110000100010000010001000100000101100000000000000000000000000000000000000000000001000000000000000000000100000000000000000100000000011111111110000000000000000000011111000000000111000111110001000100000001000001000111100000000001100001011000010001000000010000010001000001000111011111011100011111000100010111111101100101010111100111110101100111111110000001111001111101011001110001011001011001010101100111111111111111011111011111000111010100011101010111000101100101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111011111110111111111111111110101010110011101111101111001111101011001111111111100011111111111111111011110011111010110010000010001010101100110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001010101100110010101011100010110010110010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001010101100001000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001000100010101011001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010000010001000110010101011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000000000001100101010100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100000100010001111111111111100111110101010001110101000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110000100010001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000100000100000000000000000000010000000000010001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010111111101011111110111110111111101100000000000010101011001000000010000010001111111000000011100011111000100011100011111000100010111111101011111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001010101100111111111111111011111011111010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001100101010100000100011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100110010101011001010101110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111011111010101011001111001111101011001011111110000000000011000010101000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000011101010000000000010000000100000100010101011000000000000100000001000001000111000000000001000001011000000001000001011000000001010101100100000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101111111010101011001111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100100000100010000010001000001011000000001110111110000000000011000010101000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100010101011000010001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100000000000001010101100100000001000001000110010101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000010001000101010110011000010110000100000100010000011101010110000101100001000111110000000001110001011001011001000001011000000000010001000111011111011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100000100010000010001000100000101100000000000000000000100010000000000010000000001100000000000010000010110000000000000000100000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001100101010101111111011110011111010110010000010001111111111111100111110101010111111111000001111101111111011001110001011001011001000001000101111111011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111011111010000010001110001111100010001111111111001110101011111011111011111011111111100000111100111110101100111100111110101100101010110010111111101111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010101011001010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101010110000000000001000000010000010001111111000000011100011111000100011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101111111000100010001110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100101010110010101011001110001011001011001000001000001110101011000010110000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010000010001110111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110000000000001111111111111000101010101010100000100010111111101110001111100010001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111100000000000010001000000000001000000000111111110000001111001111101010101110001010101010100010001000101010110011000010110000100011001010100011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001000100010000010001000001011000000001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000111011111011111111111111111111111111101100101010111111111111111011111011111011111111111100111111111111111110111110111111101100111111111111111111100000000000111111111100001111101111101111101111001111101011001111111100000011110011111010110011100011111000100011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001011111110100000100011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100110010101000100010001100001011000010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000110010101010000010001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010111111101000001000111000111110001000001000100011111111111111001111101010101111111100000011110011111010110011100010110010110010000010001100101010110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000011101010101010110011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001110111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000111010101100101010111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100000111010101110111110111100111110101100110010101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000001000100010000010110000000000111010101111111111111110111110111110111111100000001110001111100010001110001111100010000011101010111011111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101111111011101111101111101111111011000011101010001110101011100010110010110011111111100000111100111110101100111100111110101100001000100010101011001100001011000010001111111111111011111011111111111111111011111111100000111110111110111110111000111110001000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011101111101000001000111000111110001000110010101011101111101111001111101011001111111100000011110011111010110011100010110010110010111111101110111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001111111111001110101011111011111011111011111111110000111110111111101100111100111110101100100000100011001010101100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100000100010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001011111110001000100011100011111000100010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001100101010100000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000110010101011101111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100111111111111111011111011111010101011001110111110111100111110101100111111111100001111101111111011001111001111101011001111111111101010110011111011111011111010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111100000000001110001010101010101110111110111111111111111111111111111011111111110000111110111110111110111100111110101100101010110010101011001110001011001011001100101010100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000100010001110111110111000111110001000000000000011101111101100001010100010001111110000000011100010110010110011000010110000100010111111101100101010111100111110101100100000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110101010110011110011111010110000000000001000001000000000001000000000111110000000001110001111100010001000000010000010000011101010001000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010000010001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000010101011001100101010111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001110111110101111111011111011111110110000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001010101100111011111011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110010101011001110001011001011001100101010000000000010000000100000100011111000000000110000101100001000110000101100001000001000100010111111101110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100000111010101011111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100000100010001010101100110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111011101111101111101111111011001011111110100000100011100011111000100011111111100000111100111110101100111100111110101100001000100010111111101110001111100010001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110000000000001010101100100000001000001000000000000000000000000000000000000000001000000000000000000000100000000000000000100000000000000000000010001000000000001000000000001000100010000010001000001011000000001100000000000010000010110000000000000000100000000011110000000000000000000000000011000000000000100000101100000000000000001000000000100000000000001000001011000000000000000000000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001110001111100010001000000010000010001111111111000000000000000000001111100000000011100011111000100010000000100000100011110000000000110000101100001000100000001000001000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111011111011111111111111111010000010001111111111111100111110101010111111111110001111111111111111101111001111101011000010001000100000100010000010110000000000100010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111111111110000000000000001111111000000011100011111000100011100011111000100011111110000000111000111110001000111000111110001000000000000010000010000000000010000000001010101100101111111011110011111010110011111000000000111000111110001000100000001000001000111111111110101011001111101111101111101100101010101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011000011101010111011111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001010101100001000100011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000110010101000100010001100001011000010001011111110111011111011111011111110110011111111000000111100111110101100111000111110001000001000100010101011001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111100111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000111010101010101100111000101100101100101111111000100010001110001111100010001111111000000011100010110010110011100010110010110000100010001110111110111000111110001000111111111111101111101111111111111111101111111111000011111011111011111011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001100101010100000100011000010110000100011101111101000001000111000111110001000111111000000001110001011001011001100001011000010001011111110100000100011100011111000100000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000111111111100111010101111101111101111101111111100000011110011111010110011100011111000100010000010001100101010110000101100001000001110101011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001000001000100000100010000010110000000000100010001011111110111000111110001000111110000000001100001011000010001100001011000010000010001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001000100011111111111111001111101010100011101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111110000010001111001111101010101010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010000010001100101010110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101010110000000000001000000010000010001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000100000100010000010001000001011000000001010101100111011111011110011111010110011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010000010001011111110111000111110001000101111111011101111101111101111111011001111111110000011110011111010110011110011111010110000000000001000001000000000001000000000111011111010000010001110001111100010001111000000000011000010110000100010000000100000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000010001000001000100010000010110000000000000000001110111110110000101010001000111100000000001100001011000010001000001011000000001110111110100000100011100011111000100010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000110010101010000010001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000101010110000000000001000000010000010001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000000000000000010001000000000001000000000110000000000001000001011000000000000000010000000001010101100000000000010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000101111111000111010101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010101011000010001000110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000010000010001010101100110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010000010001000101010110011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001000001000000000000000000000100000000011101111101100101010111100111110101100111110000000001110001111100010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010001100101010110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011001010100010001000110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000010001000100000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001010101100000000000010000000100000100000100010000000000000000000001000000000110000000000001000001011000000000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111110000000000000000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000101010110010101011001110001011001011001010101100001110101011100010110010110011111110000000111000101100101100111000101100101100100000100011111111111111001111101010101110111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110010101011001011111110111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110010111111101010101100111100111110101100111011111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100101010110011001010101110001011001011001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100101010110010111111101111001111101011000010001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011001010101110111110111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011101111101010101100111100111110101100111111111100100010001111001111101010101111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001100101010101010110011100010110010110011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001010101100001110101011100010110010110010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001000001000110010101011000010110000100011111110000000111100111110101100110000101100001000001000100011111111111111001111101010101111111111101111111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001100101010111011111011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001110111110100000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101111111011001010101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101010110000000000001000000010000010001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010101011001110111110111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100010101011001011111110111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000100000100010000010110000000010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001000001000111111111111110011111010101010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000111111111110111111101111111111111111101111111110000011111011111011111011100011111000100010101011001010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001000001000101010110011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001011111110110010101011110011111010110010101011000000000000100000001000001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101010110011101111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100000000000011101111101100001010100010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100000000000001011111110110000101010001000110010101000111010101110001011001011001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111000111010101111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100101111111010101011001111001111101011000010001000001110101011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010000010000010001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100111011111011110011111010110011111111110000000000111000101010101010111111110000001111001111101011001110001011001011000011101010001110101011100010110010110010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000110010101011111111111111101111101111101111111111100000100011110011111010101011111111110000111110111111101100111100111110101100101010110011101111101111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001110111110001110101011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001000001000111011111011100011111000100011111111111110111110111111111111111110111111111100001111101111101111101111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100101010110011001010101110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100101111111000111010101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110000100010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001010101100101010110011100010110010110000100010000000000000000000001000000000111100000000001100001011000010001000000010000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000011001010101100101010111000101100101100101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010000010001000001000100010000010110000000000100010001010101100110000101100001000111100000000001100001011000010001000001011000000000011101010001110101011100010110010110000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111000000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111101111101111111111111111101000001000111111111111110011111010101011111111111000111111111111111110111100111110101100000000000011001010101000000010000010000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111000000000000000111111100000001110001111100010001110001111100010001111111000000011100011111000100011100011111000100010111111101000001000111000111110001000101010110010111111101111001111101011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100110010101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001110101000100010001100001011000010001010101100110010101011100010110010110011111100000000111000101100101100110000101100001000101010110000100010001100001011000010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010000011101010110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100000100010001110111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100101111111011110011111010110011101111100000000000110000101010001000111111100000001111001111101011001100001011000010001011111110001110101011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110000000000001000000010000010001111111111110010101011111011111011111011111110000000111000111110001000111000111110001000101010110010000010001100001011000010001000001000111111111111110011111010101011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100001000100011101111101110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111001010101111101111101111101110111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010111111101010101100111100111110101100100000100011001010101100001011000010001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000010001000001000100010000010110000000011111111111000001000111100111110101010111111000000001110001111100010001100001011000010001010101100101010110011100010110010110011101111101111111111111111111111111110111111111100001111101111101111101111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000010111111100011101010111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001011111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001011111110100000100011100011111000100010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101010110010101011001110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000101111111010101011001111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111000000000000000111111110000001111001111101011001110001111100010001111110000000011100011111000100011000010110000100011101111100011101010111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100010101011001000001000110000101100001000101111111011101111101111101111111011001111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110011101111101111001111101011001110111110111111111111111111111111111011111111111000111111111111111110111100111110101100101010110011111111111111101111101111101011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110010101011001010101100111000101100101100101010110000000000001000000010000010001111100000000011000010110000100011000010110000100011101111101010101100111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001010101100100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000110010101010000010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000101010110011111111111111101111101111100011101010100000100011000010110000100011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100001000100011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000000000000000000000000000000000000000000100000000000000000000010000000000000000010000000001111110000000000000000000000001110000000000011000010110000100000000000100000000011000000000000100000101100000000000000001000000000101010110011111111111111101111101111101110111110111011111011111011111110110011111111111000111110111111101100111110111111101100100000100000111010101100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001110001111100010001000000010000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111001000100011110011111010101010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001010101100101010110011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000100010001100101010110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100010000010001111111111111100111110101010101111111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000010001000110010101011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111001000100011110011111010101010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100001000100010101011001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000100000100011101111101110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011101111101010101100111100111110101100000000000011001010101000000010000010001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100000100010001000001011000000000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000100000100010000010001000001011000000000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000010111111101110111110111110111111101100001000100010000010001000001011000000001111111000000011100011111000100011100011111000100010111111101010101100111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100101010110011100010110010110010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111000000000011100010101010101010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000100000100010000010001000001011000000000010001000000000000000000000100000000011000000000000100000101100000000000000001000000000000000000011111111111110001010101010100011101010110010101011100010110010110011111110000000111000101100101100111000101100101100111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100001000100011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000001000001000100000100010000010110000000000111010101100101010111000101100101100111110000000001100001011000010001100001011000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000101111111011111111111111111111111111101110111110110010101011110011111010110011111111111000111111111111111110111100111110101100100000100010000010001000001011000000000010001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000100010001110111110111000111110001000111111111100111010101111101111101111101111111110000011110011111010110011110011111010110010000010001110111110111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100101111111011110011111010110000100010000010001000100000101100000000111111000000001110001111100010001100001011000010001011111110000000000011000010101000100011101111100000000000110000101010001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011101111101111111111111111111111111110001000100010000010001000001011000000001111111100000011110011111010101011100011111000100000000000001110111110110000101010001000001000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001100101010101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011000000000000101010110010000000100000100011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110010111111101111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100111111111110000010001111001111101010101000001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011001010100000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100010101011000010001000110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000100000100000100010001000001011000000001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000111011111000000000001100001010100010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000010111111100011101010111100111110101100110010101010111111101111001111101011001111111110000011111011111110110011100010110010110010000010000000000000000000001000000000101111111010101011001111001111101011001111100000000011100011111000100010000000100000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100100000100011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001010101100100000100011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000000000000010101011001000000010000010001100101010101111111011110011111010110011111100000000111000111110001000110000101100001000111111111110101011001111101111101111101000001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100001110101011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111011111000111010101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100000000000011111111111110001010101010100010001000110010101011000010110000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111011111110111111111111111110111111111110000010001111001111101010101111111111100011111111111111111011110011111010110010101011001000001000110000101100001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010000010001000110010101011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001100101010101111111011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010111111101100101010111100111110101100100000100011001010101100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001011111110111011111011111011111110110010101011001111111111111110111110111110111111111110001111101111111011001111101111111011001010101100001000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111000111110001000111000111110001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110011111111111111101111101111101011111110101111111011111011111110110011111111111000111110111111101100111110111111101100101010110010101011001110001011001011001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011101111101100101010111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110000111010100010001000110000101100001000110010101000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000100000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000100000100011001010101100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001010101100100000100011000010110000100011001010101000001000110000101100001000111110000000001110001011001011001000001011000000000000000000101111111011000010101000100011001010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001110101000111010101110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000001000100000100010001000001011000000001110111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001011111110110010101011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011000000000000101010110010000000100000100010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000000000000000100010000000000010000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000100010000000000010000000000010001000100000100010000010110000000011000000000000100000101100000000000000001000000000111000000000000000000000000000110000000000001000001011000000000000000010000000000000000000000000000000100000000000000000000000000011111111111111111111100000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001111100010001000000010000010001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000111000111110001000100000001000001000111100000000001100001011000010001000000010000010001111111111111111111111111111111111111111111111110000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111100000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000000000000001010101100100000001000001000110010101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111011111110111111111111111110100000100010101011001100001011000010001111111110000011111011111011111011100011111000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010000011101010101111111011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001010101100101010110011100010110010110011101111101100101010111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100010101011000011101010111000101100101100000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111011111011111111111111111011101111101010101100111100111110101100111111111110001111111111111111101111001111101011000010001000110010101011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100110010101000000000001000000010000010001000001000110010101011000010110000100011110000000000110000101100001000100000101100000000111111111100111010101111101111101111100000000000001000100000000000100000000011111100000000111000111110001000110000101010001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010001011111110111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110010000010001111111111111100111110101010111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000000000000010101011001000000010000010000000000000101010110010000000100000100011100000000000100000101100000000100000101100000000101111111000100010001110001111100010001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010111111101010101100111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111000001000111100111110101010101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100110010101011100010110010110010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001110111110111011111011111011111110110000100010001110111110111000111110001000111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100100000100010101011001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000100000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000011101010001000100011000010110000100000100010001100101010110000101100001000111110000000001110001011001011001000001011000000000011101010001000100011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000010001111001111101010101000001000100000100010000010110000000011111100000000111000111110001000110000101100001000001110101010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001011111110111100111110101100001000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111111010101100111110111110111110111111111111111111111111111111111111111111111111111011111111111111111011111111111111111011111111111111111110000000000011111111100000111110111110111110111000111110001000111111111000001111101111101111101110001111100010001110111110100000100011100011111000100000111010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111101010110011111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011001010100010001000110000101100001000111111111100111010101111101111101111101111111100000011110011111010110011100011111000100010000010001100101010110000101100001000001110101011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000010001000110010101011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001100101010101111111011110011111010110000111010101011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100100000100010101011001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000101010110010111111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011000000000000100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000100000100000100010001000001011000000000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000001110101010111111101111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100010101011000011101010111000101100101100111011111000000000001100001010100010001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000001000100011101111101110001111100010001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000000010001000111011111011100011111000100000111010101010101100111000101100101100111111100000001110001011001011001110001011001011001010101100111011111011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111011111010000010001110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000101111111000100010001110001111100010000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001110111110001000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010000000000000100000100000000000100000000000000000001110111110110000101010001000111000000000001100001011000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000100000100000100010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000001000100011101111101110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111101110111110111110111111101100101111111010101011001111001111101011001111111111000011111011111110110011110011111010110000100010001111111111111100111110101010111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011000000000000111011111011000010101000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010001010101100111011111011110011111010110000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100111011111011110011111010110011101111101111111111111111111111111110111111111110001111111111111111101111001111101011000000000000111011111011000010101000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111000111110001000111000111110001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000000000000000000000000000000000000000001010101100101010110011100010110010110011100000000000100000001000001000100000001000001000110010101010000010001100001011000010000011101010110010101011100010110010110011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000000000000001110111110110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010111111100000000000110000101010001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000000000000000100010000000000010000000000010001000001000100010000010110000000011000000000000100000101100000000000000001000000000110010101010000010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111111111111111111111111111111111001000100000100010001000001011000000001111111110000011110011111010101011110011111010101010111111100010001000111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111100000000000000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100101010110011100010110010110000000000001111111111111000101010101010111111100000001110001011001011001110001011001011001000001000110010101011000010110000100010111111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001011111110101010110011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001010101100101010110011100010110010110010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111011111000100010001110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100001000100010101011001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000000100010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100111111111110111111101111111111111111101111111111000011111011111011111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001010101100110010101011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010000010001000101010110011000010110000100000000000000000000000000000000000000000110000000000001000000010000010000000000010000000001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011101111100000000000110000101010001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000000100010000010001000100000101100000000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001010101100001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010000010001000111011111011100011111000100000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000100000100010000010001000001011000000001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000111011111010101011001111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100000000000001110111110110000101010001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100000100010000000000000000000001000000000001000100010000010001000001011000000001100000000000010000010110000000000000000100000000011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000000000000010101011001000000010000010000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000110010101010101011001110001011001011000010001000001110101011000010110000100011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011101111101011111110111110111111101100001000100000000000000000000010000000001111110000000011100011111000100011000010101000100010101011000010001000110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111111000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001110111110100000100011100011111000100011111111111011111110111111111111111110111111111100001111101111101111101111001111101011001010101100101010110011100010110010110011111111111000001000111100111110101010111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111000100010001110001111100010001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100101111111010111111101111101111111011001110111110000000000011000010101000100011111111000000111100111110101100111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100001000100011000010110000100011101111101111111111111111111111111110111111111000001111101111101111101110001111100010001011111110111011111011111011111110110010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111011111010111111101111101111111011001010101100101111111011110011111010110011111111110000111110111111101100111100111110101100101010110011101111101111001111101011001110111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111000000000000000000111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110000000000001010101100100000001000001000001110101000100010001100001011000010001111000000000011000010110000100010000010110000000010111111101110111110111110111111101100101010110000000000001000000010000010001111111000000011100011111000100011100011111000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001000001000101111111011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010000011101010101010110011100010110010110010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000000000000010001000000000001000000000111011111000000000001100001010100010001110000000000011000010110000100000000000100000000011101111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010000011101010001000100011000010110000100000100010000000000000000000001000000000111000000000001100001011000010000000000010000000001010101100001110101011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000110010101010101011001110001011001011001011111110000000000011000010101000100011111100000000111000101100101100110000101100001000101111111010111111101111101111111011001100101010001110101011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111011111110111111111111111110101010110010000010001100001011000010001111111110000011111011111011111011100011111000100011101111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100110010101010101011001110001011001011001111111111001110101011111011111011111011111111100000111100111110101100111100111110101100110010101011111111111111101111101111101010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110000100010001110111110111000111110001000110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100001000100010111111101110001111100010001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011000010001000101010110011000010110000100011111111110011101010111110111110111110111111110000001111001111101011001110001111100010001011111110111111111111111111111111111011101111101111111111111111111111111110111111111111101111111111111111111111101111111011001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111110111110111100111110101100101010110000111010101110001011001011001100101010111011111011110011111010110011111111000000111100111110101100111000101100101100101111111011001010101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000000000001111111111111000101010101010111111110000001111001111101011001110001011001011000011101010101111111011110011111010110000100010001111111111111100111110101010111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111011111011001010101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111011111000100010001110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001010101100111000101100101100111011111000100010001110001111100010001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001011111110001110101011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001000001000001000100010000010110000000010000010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001110111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110000100010001111111111111100111110101010101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011000000000000000000000000000000000000000010000010000000000000000000001000000000000000000000000000000010000000000000000000000000000010001000000000000000000000100000000000100010001000001000100000101100000000110000000000001000001011000000000000000010000000001110000000000000000000000000001100000000000010000010110000000000000000100000000000000000000000000000001000000000000000000000000000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111100000000011100011111000100010000000100000100011111000000000111000111110001000100000001000001000111111111110000000000000000000111110000000001110001111100010001000000010000010001111100000000011100011111000100010000000100000100011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101010110011101111101111001111101011000011101010000000000010000000100000100011111100000000111000111110001000110000101100001000101010110010000010001100001011000010001111111111101111111011111111111111111011111111100000111110111110111110111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001000001000110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011101111101011111110111110111111101100101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111011111011001010101111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100101010110010101011001110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010000010000000000000000000001000000000101111111000100010001110001111100010001111000000000011000010110000100010000000100000100011001010101011111110111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001110111110101010110011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001011111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111011111011001010101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101010110000100010001100001011000010000000000000000000000000000000000000000011000000000000100000001000001000000000001000000000111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000010001000101010110011000010110000100011101111101100101010111100111110101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110011111111111011111110111111111111111110111111111100001111101111101111101111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111110111111101111111111111111101110111110111111111111111111111111111011111111111110111111111111111111111110111111101100000000000011101111101100001010100010001011111110001110101011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111000000000111111111100001111101111101111101111001111101011001111111111000011111011111011111011110011111010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100010000010000010001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000010111111100010001000111000111110001000111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001010101100101111111011110011111010110010111111101100101010111100111110101100111111111000001111101111111011001110001011001011000010001000100000100010000010110000000010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001100101010111000101100101100101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100101111111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110110010101011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001010101100001000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100000000000010000010000000000010000000000000000000110010101010000000100000100011000000000000100000101100000000000000001000000000100000100010101011001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100000000000001010101100100000001000001000101010110000111010101110001011001011001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101010110000000000001000000010000010000010001000000000000000000000100000000011000000000000100000101100000000000000001000000000001110101011111111111111101111101111100000000000100000100000000000100000000011111100000000111000111110001000110000101010001000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000000000000001010101100100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000000111010101110111110111100111110101100100000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111111100000000000000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001110111110001110101011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111101010110011111011111011111000000000000010001000000000001000000000111111000000001110001111100010001100001010100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000000000000000000000000000000000000000000000000000101010110010000000100000100010000000000000000000001000000000000000001000000000100000100000111010101100001011000010001011111110110010101011110011111010110011111110000000111100111110101100110000101100001000111111111000000000000000000000111100000000001100001011000010001000000010000010001111000000000011000010110000100010000000100000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001110111110101111111011111011111110110010101011000010001000110000101100001000111111110000001111001111101011001110001111100010001010101100000000000010000000100000100010101011000000000000100000001000001000111000000000001000001011000000001000001011000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000101111111010111111101111101111111011001100101010001000100011000010110000100011111111000000111100111110101100111000111110001000000000000000000000000000000000000000000010001000100000100010000010110000000010000000000000000000001000000000000000001000000000111111111100000000000000000000111110000000001110001111100010001000000010000010001111000000000011000010110000100010000000100000100011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010000010000010001000100000101100000000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111110011101010111110111110111110111011111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001100101010101111111011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001000001000101010110011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011001010101110111110111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110010000010001010101100110000101100001000001110101010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001000001000111011111011100011111000100011001010100010001000110000101100001000111111000000001110001011001011001100001011000010001100101010101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110010101011001110001011001011000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000101010110010000010001100001011000010000000000000111111111111100010101010101011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000000000001000001000000000001000000000100000100000100010001000001011000000001100000000000010000010110000000000000000100000000010101011000000000000100000001000001000101010110011111111111111101111101111101111111000000011100011111000100011100011111000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000001000100011001010101100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111110101011001111101111101111101010101100100000100011000010110000100011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111100000000000110000101010001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100101010110011100010110010110000000000001011111110110000101010001000111111000000001110001011001011001100001011000010001010101100110010101011100010110010110011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000100000100011001010101100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111111110101011001111101111101111101010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000011101010101111111011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001010101100101010110011100010110010110000100010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100100000100010111111101110001111100010001110111110100000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010000010000011101010110000101100001000101111111000100010001110001111100010001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110001110101011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010000011101010101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011001010101110111110111100111110101100111011111000111010101111001111101011001111111110000011111011111110110011100010110010110011101111100010001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000000000000111011111011000010101000100010000010000011101010110000101100001000111110000000001110001011001011001000001011000000001100101010101111111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110011101111101111001111101011000000000000111011111011000010101000100011111110000000111100111110101100110000101100001000100000100011101111101110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001111111111111110111110111110101010110011001010101110001011001011001111111110000011110011111010110011110011111010110010000010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001110101010101011001110001011001011000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000001110101011101111101111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110000111010101000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001011111110111111111111111111111111111000100010001010101100110000101100001000111111111000001111101111101111101110001111100010000011101010100000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000000000000010000010000000000010000000001110111110100000100011100011111000100011110000000000110000101100001000100000001000001000100000100011101111101110001111100010001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100001000100011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111001110101011111011111011111000100010001000001000100000101100000000111111100000001110001111100010001110001111100010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100100000100000100010001000001011000000001010101100111011111011110011111010110011111100000000111000111110001000110000101100001000111111111100000000001110001010101010101011111110000000000011000010101000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111011111110111111111111111110001000100000100010001000001011000000001111111100000011110011111010101011100011111000100000111010100010001000110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100111011111011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001000001000111011111011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010111111101100101010111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011101111101110111110111110111111101100111111111111001010101111101111101111101111111111100011111011111110110011111011111110110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001010101100100000100011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111000000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111011111000111010101111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100101111111000111010101111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110000000000000010001000000000001000000000100000100010000010001000001011000000001100000000000010000010110000000000000000100000000000111010101111111111111110111110111110001000100000111010101100001011000010001111111100000011110011111010110011100011111000100011111111111000000000000000000011111100000000111000111110001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000101010110011101111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000101010110011111111111111101111101111101011111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111011111110111111111111111110101010110000111010101110001011001011001111111111000011111011111011111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001000001000101010110011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010000010001000110010101011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000000000000010000010000000000010000000001000001000001110101011000010110000100011100000000000110000101100001000000000001000000000101111111010101011001111001111101011001000001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001011111110101111111011111011111110110010111111101110111110111110111111101100111111111110001111101111111011001111101111111011001010101100001000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000100000100010111111101110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100000000000010101011001000000010000010001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001010101100111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111000001000111100111110101010001000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000000000000000000000100000000000000000001010101100100000001000001000110000000000001000001011000000000000000010000000001100101010101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111100000000000000000001111110000000011100011111000100011000010110000100011110000000000110000101100001000100000001000001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011101111100011101010111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011000011101010001000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001000001000101010110011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000110010101010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110000000000001000000010000010000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011101111101000001000111000111110001000101010110000000000001000000010000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000101010110010101011001110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100001000100000000000000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000111010100010001000110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000000111010101100101010111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001110111110111111111111111111111111111011111111110011101010111110111110111110111111111111001111111111111111101111101111111011001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100101111111010111111101111101111111011001010101100101111111011110011111010110011111111110000111110111111101100111100111110101100101010110011111111111111101111101111101011111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001000001000111011111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101111111010101011001111001111101011001010101100110010101011100010110010110011111111000000111100111110101100111000101100101100100000100010111111101110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110010101011001010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011101111101010101100111100111110101100111011111000111010101111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100001110101011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100011111111111110111110111111111111111110111111111000001111101111101111101110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101110111110111110111111101100101111111000100010001110001111100010001111111110000011110011111010110011110011111010110010101011000011101010111000101100101100000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001110111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011000010001000110010101011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100001000100011001010101100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111100010001000111000111110001000101010110000111010101110001011001011001111111000000011100010110010110011100010110010110000111010101000001000110000101100001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010111111101111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100101111111000111010101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010000010000011101010110000101100001000100000100011001010101100001011000010001111100000000011100010110010110010000010110000000011111111110010001000111100111110101010101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010000010001000001000100010000010110000000010000010001111111111111100111110101010111111000000001110001111100010001100001011000010001010101100101111111011110011111010110011001010100000000000100000001000001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110000111010101110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000101010110011111111111111101111101111100010001000000000000000000000100000000011111100000000111000111110001000110000101010001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000001110101011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101111111000100010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100001000100011111111111111001111101010101010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000100010000010001000100000101100000000000000000010000010000000000010000000001100000000000010000010110000000000000000100000000011101111101000001000111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000000010001000000000000000000000100000000000100010001110111110111000111110001000111100000000001100001011000010001000000010000010001110111110101010110011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111000111110001000111000111110001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100000000000001100101010100000001000001000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000010101011000010001000110000101100001000111011111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001011111110000000000011000010101000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111110010101011111011111011111010000010001100101010110000101100001000111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101010110000100010001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000111011111010111111101111101111111011001010101100100000100011000010110000100011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011000010001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110000111010101110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111111110111111101111111111111111100000000000101111111011000010101000100011111111100000111110111110111110111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100010101011001010101100111000101100101100100000100010111111101110001111100010001111111000000011100010110010110011100010110010110000000000001011111110110000101010001000001000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001100101010101010110011100010110010110010000010001111111111111100111110101010111111110000001111001111101011001110001011001011000000000000111111111111100010101010101010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100011101111101110001111100010000000000000101111111011000010101000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110100000100011100011111000100010111111100000000000110000101010001000111111000000001110001011001011001100001011000010001010101100111011111011110011111010110000000000000010001000000000001000000000111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000001000100010101011001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111111111111111111110000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100000100010000010001000100000101100000000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000011101111101100101010111100111110101100101010110011001010101110001011001011001111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001110111110000000000011000010101000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001110111110000000000011000010101000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010000010000010001000100000101100000000000000000000000000000000000000000000001000000000000000000000100000000000000000100000000010000010000010001000100000101100000000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100011111111000000000000000000000011110000000000110000101100001000100000001000001000111000000000001100001011000010000000000010000000001011111110101111111011111011111110110000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000001110101011111111111111101111101111101011111110000000000011000010101000100011111111000000111100111110101100111000111110001000101010110010111111101111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100010000010001011111110111000111110001000101111111000000000001100001010100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101111111010101011001111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100101010110010101011001110001011001011000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110000000000001110111110110000101010001000101111111011111111111111111111111111101111111110000011111011111011111011100011111000100010111111101011111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001110111110110010101011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010000010001000111011111011100011111000100010000010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001110101011111111111111101111101111101000001000001110101011000010110000100011111111000000111100111110101100111000111110001000100000100010101011001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001011111110111011111011111011111110110010111111101000001000111000111110001000111111111000001111001111101011001111001111101011001000001000101010110011000010110000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000100000100010101011001100001011000010001100101010100000100011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100000000000001110111110110000101010001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100000100010001011111110111000111110001000111011111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111001000100011110011111010101010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001010101100001000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011001010101100101010111000101100101100111111111100100010001111001111101010101111111100000011110011111010110011100010110010110000000000001011111110110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001100101010101010110011100010110010110000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001011111110111011111011111011111110110010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111011111010000010001110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000101010110000000000001000000010000010001010101100001110101011100010110010110011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010000010001000001000100000101100000000111011111010000010001110001111100010001111100000000011000010110000100011000010110000100011001010101010101100111000101100101100000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101111111000100010001110001111100010000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000111111111111101111101111111111111111101111111111000000000011100010101010101011111111110000111110111110111110111100111110101100111111111111111000000000000000111111110000001111001111101011001110001111100010001111110000000011100011111000100011000010110000100000100010001010101100110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000011101111101010101100111100111110101100110010101011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001100101010000000000010000000100000100000111010100010001000110000101100001000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000110010101000111010101110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000101010110011000010110000100011111111110010001000111100111110101010111111100000001111001111101011001100001011000010001000001000001110101011000010110000100000100010001100101010110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000000000000010101011001000000010000010001010101100110010101011100010110010110011111000000000110000101100001000110000101100001000000000000010101011001000000010000010000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111100000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010000010001110111110111000111110001000111111111100000000001110001010101010101111111000000011100010110010110011100010110010110010111111100010001000111000111110001000001000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001100101010111111111111111011111011111010000010001000001000100000101100000000111111100000001110001111100010001110001111100010001110111110111111111111111111111111111010111111101011111110111110111111101100111111111111001111111111111111101111101111111011001111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100000100010001111111111111100111110101010101111111011101111101111101111111011001111111111000011111011111110110011110011111010110010000010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011000010001000100000100010000010110000000011111111110010001000111100111110101010111111000000001110001111100010001100001011000010000011101010101111111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111011111111111111111111111111101011111110101111111011111011111110110011111111111100111111111111111110111110111111101100101111111011001010101111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110010101011001000001000110000101100001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111101111101111111111111111101111111111111111111111111111111111111111111111111011111111111111111111110000000011111111111000111110111110111110111110111110111110111111111100001111101111101111101111001111101011001111111111111111111111111111111111111111111100000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100101111111010101011001111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110010101011001110001011001011001111111111110010101011111011111011111011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011101111101110111110111110111111101100101010110011111111111111101111101111101111111111100011111011111110110011111011111110110010111111101110111110111110111111101100111111111110000010001111001111101010101111111111000011111011111110110011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001110111110100000100011100011111000100011101111101000001000111000111110001000111111100000001110001011001011001110001011001011000010001000001000100010000010110000000010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000110010101011001010101110001011001011000000000000110010101010000000100000100011111000000000110000101100001000110000101100001000101010110010000010001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000000010001000001000100010000010110000000000111010101000001000110000101100001000111100000000001100001011000010001000001011000000001000001000100000100010000010110000000010101011001100101010111000101100101100111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101111111011101111101111101111111011001000001000100000100010000010110000000011111110000000111000111110001000111000111110001000001110101010000010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111110011101010111110111110111110001000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111101010110010101011001110001011001011001111111111100011111011111011111011111011111011111011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001000001000001110101011000010110000100011111111111011111110111111111111111110111111111000001111101111101111101110001111100010001111111111101010110011111011111011111000000000001010101100100000001000001000111111100000001110001111100010001110001111100010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110000111010101000001000110000101100001000001110101010101011001110001011001011001111110000000011100010110010110011000010110000100000111010101110111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001000001000101010110011000010110000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010000010001000101010110011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100101010110011101111101111001111101011000011101010001110101011100010110010110011111111000000111100111110101100111000101100101100100000100011101111101110001111100010001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011101111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100000000000000100010000000000010000000001111100000000011100011111000100010000000100000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000100000100000100010001000001011000000001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000100000100011101111101110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010000010001000001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100000100010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100100000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001010101100101111111011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001000100011111111111111001111101010101000001000001000100010000010110000000011111100000000111000111110001000110000101100001000001000100011101111101110001111100010000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100001110101011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001011111110001000100011100011111000100000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001000100010111111101110001111100010000000000000111011111011000010101000100011111100000000111000101100101100110000101100001000111111111100100010001111001111101010101010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000000100010000010001000100000101100000000000000000011101111101100001010100010001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100111011111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010000011101010101010110011100010110010110010111111101011111110111110111111101100111111111000001111001111101011001111001111101011000010001000001000100010000010110000000011001010101000001000110000101100001000111100000000001100001011000010001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100100000100000111010101100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100001000100011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100010000010001000001000100000101100000000111000000000001000001011000000001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111000000000001111111111111111111111111110000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111110000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111101111101111111111111111100010001000111011111011100011111000100011111111110000111110111110111110111100111110101100101010110010101011001110001011001011001010101100001110101011100010110010110011111110000000111000101100101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010000010001110111110111000111110001000111011111011001010101111001111101011001111111100000011110011111010110011100010110010110010000010001011111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101111111000000000001100001010100010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000000010001000000000001000000000100000100011101111101110001111100010001111000000000011000010110000100010000000100000100011101111101000001000111000111110001000101010110000000000001000000010000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010000010001000101010110011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000110010101010000010001100001011000010001000001000001110101011000010110000100011111000000000111000101100101100100000101100000000111011111000000000001100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001000001000001110101011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001010101100001110101011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100000111010101100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000101111111011111111111111111111111111101100101010111011111011110011111010110011111111111000111111111111111110111100111110101100111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011101111101010101100111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010000011101010100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001110111110101010110011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011001111111111111110111110111110000000000010101011001000000010000010001111111000000011100011111000100011100011111000100011111111110011101010111110111110111110100000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001110111110101010110011110011111010110011101111100000000000110000101010001000111111100000001111001111101011001100001011000010001110111110101010110011110011111010110011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111011111010000010001110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001000001000001110101011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010000000000000000000001000000000001000100010000010001000001011000000001100000000000010000010110000000000000000100000000011001010100000000000100000001000001000000000000010000010000000000010000000001100000000000010000010110000000000000000100000000011111000000000000000000000000011100000000000100000101100000000100000101100000000100000000000001000001011000000000000000000000000001111111111111111100000000000000000000000000000000000000000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000101111111000111010101111001111101011000000000000100000100000000000100000000011111000000000111000111110001000100000001000001000101010110011101111101111001111101011001111111111001000100011110011111010101011111111100000111110111111101100111000101100101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100000100010000010001000100000101100000000110010101000100010001100001011000010001111000000000011000010110000100010000010110000000000111010101010101100111000101100101100110010101011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111110000000000000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111100000011111000110010110000100011001011000010001111000011001011000010001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111000000111110001100101100001000110010110000100011110000110010110000100010001011000000001000001000110010101011000010110000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110011111111111110111110111111111111111110111111111100001111101111101111101111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000110010101010000010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000101111111000100010001110001111100010001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001000001000100000100010000010110000000011001010100010001000110000101100001000111100000000001100001011000010001000001011000000000000000000101010110010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000110010101010101011001110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000000000000011101111101100001010100010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010101011000010001000110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100011111111111010101100111110111110111110101010110000111010101110001011001011001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000010001000001000100010000010110000000011111111111000001000111100111110101010111111000000001110001111100010001100001011000010001010101100100000100011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001110111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011101111100011101010111100111110101100111011111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011000011101010100000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111001000100011110011111010101000100010001011111110111000111110001000111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000100000100010111111101110001111100010001011111110001110101011110011111010110011111111000000111100111110101100111000101100101100001110101011101111101111001111101011001100101010100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010000010000011101010110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000010111111101010101100111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000000000000010101011001000000010000010001110111110101111111011111011111110110011111110000000111000111110001000111000111110001000111011111000111010101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010000010000011101010110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011001010100011101010111000101100101100101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100101010110011100010110010110000100010000011101010110000101100001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010111111100011101010111100111110101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101111111010101011001111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111011111010101011001111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001010101100110010101011100010110010110000111010101111111111111110111110111110111111111000001111001111101011001111001111101011000010001000101010110011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100110010101010101011001110001011001011001100101010001000100011000010110000100011111100000000111000101100101100110000101100001000100000100000100010001000001011000000000010001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110010111111101010101100111100111110101100111111111100100010001111001111101010101111111110000011111011111110110011100010110010110010000010001010101100110000101100001000001000100011001010101100001011000010001111100000000011100010110010110010000010110000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001010101100110010101011100010110010110011111111111100101010111110111110111110111111111000001111001111101011001111001111101011001100101010111011111011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101010110010111111101111001111101011001111111111000011111011111110110011110011111010110010101011001100101010111000101100101100101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111011111011111111111111111010101011001111111111111110111110111110111111111111001111111111111111101111101111111011001010101100101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111110000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100101111111000111010101111001111101011001000001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111100000000001110001010101010101010101100000000000010000000100000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000001000100011001010101100001011000010001111000000000011000010110000100010000010110000000000000000001010101100100000001000001000001000100010000010001000001011000000001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000000000000000100010000000000010000000000000000000101010110010000000100000100011000000000000100000101100000000000000001000000000110010101011111111111111101111101111100010001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100010101011001011111110111100111110101100101111111010111111101111101111111011001111111111000011111011111110110011110011111010110010101011001010101100111000101100101100101111111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010000000000000101010110010000000100000100010101011001100101010111000101100101100111110000000001100001011000010001100001011000010000011101010111011111011110011111010110011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000000000000010111111101100001010100010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000101111111010101011001111001111101011000000000000101010110010000000100000100011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000000000000001110101010000000100000100011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001000001000110010101011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000000000000010101011001000000010000010001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000111011111011101111101111101111111011001000001000001110101011000010110000100011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011001011111110111100111110101100001110101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111000001000111100111110101010101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011000000000000000000000000000000000000000010000010001110111110111000111110001000111000000000001000000010000010001000000010000010001100101010001000100011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000000000000000000000000000000000000000110010101000100010001100001011000010001100000000000010000000100000100000000000100000000010000010000010001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001011111110001110101011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001100101010001000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110000111010101110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111110111111101111111111111111100010001000110010101011000010110000100011111111100000111110111110111110111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110000100010001110111110111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000000000000010101011001000000010000010000011101010111011111011110011111010110011111100000000111000111110001000110000101100001000100000100011101111101110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010111111101110111110111110111111101100111111111100000000001110001010101010101111111110000011110011111010110011110011111010110011101111101110111110111110111111101100111111111100000000001110001010101010101111111110000011110011111010110011110011111010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001000001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010000010001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000000000000000111010101000000010000010001110111110001110101011110011111010110011111100000000111000111110001000110000101100001000101010110000000000001000000010000010001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000100010001000001000100000101100000000111110000000001100001011000010001100001011000010001011111110100000100011100011111000100000100010000011101010110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010101011001100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000101010110000100010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000000111010100010001000110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011001010101010101100111000101100101100001110101011001010101110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001110111110101010110011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001100101010001110101011100010110010110000000000001000001000000000001000000000111100000000001100001011000010001000000010000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000111011111010101011001111001111101011001111110000000011100011111000100011000010110000100011101111101000001000111000111110001000101010110011111111111111101111101111101111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111110101011001011111110111100111110101100111111111111001111111111111111101111101111101111100010001000111111111111110011111010101010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101010110000111010101110001011001011000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111011111000111010101111001111101011001110111110001110101011110011111010110011111111100000111110111111101100111000101100101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010000010000010001000100000101100000000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000000000000001010101100100000001000001000001110101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000100000100000100010001000001011000000000000000000000000000000000000000000000010000000000000000000001000000000000000001000000000001110101000111010101110001011001011000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000111111000000000000000000000000111000000000001100001011000010000000000010000000001100000000000010000010110000000000000000100000000000000000001010101100100000001000001000110010101011101111101111001111101011001111110000000011100011111000100011000010110000100011001010100000000000100000001000001000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111100000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111111111111111111111111111111111111111111000000000000000000000011111111111111111111100000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001010101100001110101011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111011111011111111111111111000100010001110111110111000111110001000111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100100000100010111111101110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100101111111010000010001110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100000000000010000000100000100000100010001000001000100000101100000000111000000000001000001011000000001000001011000000001010101100110010101011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000101111111011101111101111101111111011001110111110111111111111111111111111111011111111111100111111111111111110111110111111101100001000100010111111101110001111100010001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000111010101111111111111110111110111110101111111000111010101111001111101011001111111111000011111011111110110011110011111010110010101011001110111110111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001110111110100000100011100011111000100000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001011111110100000100011100011111000100000000000000011101010100000001000001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011001010101010101100111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110010000010001110111110111000111110001000001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001000001000101010110011000010110000100000100010001111111111111100111110101010111111100000001111001111101011001100001011000010001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111000111010101111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100101111111010101011001111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011101111101000001000111000111110001000111111111110111111101111111111111111101111111111000011111011111011111011110011111010110010101011001000001000110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110000100010001100001011000010001100101010111111111111111011111011111011111111000000111100111110101100111000111110001000111111111100100010001111001111101010101010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011101111101111111111111111111111111110101111111010111111101111101111111011001111111111110011111111111111111011111011111110110011101111101010101100111100111110101100111011111011111111111111111111111111101111111111100011111111111111111011110011111010110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011000010001000111011111011100011111000100000111010101000001000110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110000100010001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000000000000000000000000000000000000000001000001000000000000000000000100000000000000000000000000000001000000000000000000000000000111110000000000000000000000000111000000000001100001011000010000000000010000000001000000000000000000000100000000000000000100000000011111111111111111110000000000000000000000000000000000000000000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001010101100001110101011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111101010110011111011111011111010111111101100101010111100111110101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000101111111000100010001110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111110000010001111001111101010101010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001111111111111111111111111110000011111111111110001111111011111111101011001100101100001000111110001100101100001000110010110000100011111111111110001111111011111111101011001100101100001000111110001100101100001000110010110000100010101011001011111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111010101100111110111110111110000000000010101011001000000010000010001111111000000011100011111000100011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000000000000110010101010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010000000000000111011111011000010101000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010000010001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010101011000010001000110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001011111110101111111011111011111110110011001010101010101100111000101100101100111111111000001111001111101011001111001111101011001000001000001110101011000010110000100000111010101100101010111000101100101100111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101010110010111111101111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100101111111010111111101111101111111011001110111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010000010001011111110111000111110001000100000100010101011001100001011000010001111110000000011100010110010110011000010110000100000111010100010001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000000000000010111111101100001010100010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000000000001010101100100000001000001000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000000000000001000001000000000001000000000101010110000100010001100001011000010001110000000000011000010110000100000000000100000000011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000001111111111111111110000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111100000111110001100101100001000110010110000100011111000110010110000100011001011000010001100101010001000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111011111000111010101111001111101011001100101010100000100011000010110000100011111110000000111100111110101100110000101100001000110010101010101011001110001011001011000000000000110010101010000000100000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000100000100010000010110000000000100010001110111110111000111110001000111110000000001100001011000010001100001011000010001011111110101111111011111011111110110010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000101010110000100010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000001000100011101111101110001111100010000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010101011000000000000100000001000001000101111111011111111111111111111111111101111111100000011110011111010101011100011111000100010111111101110111110111110111111101100111011111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011000010001000111111111111110011111010101011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001010101100101010110011100010110010110000000000000000000000000000000000000000111000000000001000000010000010001000000010000010001111111111111100000000000000001111111000000011100011111000100011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110010000010001010101100110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101010110011101111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000111111111110101011001111101111101111101000001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011000011101010111000101100101100111111111110000010001111001111101010101111111100000011110011111010110011100010110010110010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001000100011001010101100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000100000100011111111111111001111101010101011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110000100010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111010101100111110111110111110101111111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000000000000101010110010000010000010001010101100111011111011111111101011001010101100101111111011111111101011001111111111001000100011111111101010100000000000110010101010000010000010001010101100110010101011101011001011001111111111100000100011111111101010101010101100111111111111111111101111101010101100111011111011111111101011001011111110111111111111111111111111101010101100001110101011101011001011001010101100101010110011101011001011001000001000101010110011001011000010001000001000101010110011001011000010001010101100001000100011001011000010001100101010101111111011111111101011001011111110111111111111111111111111101011111110110010101011111111101011001111111111110010101011111111101111101000001000110010101011001011000010001100101010101111111011111111101011001011111110101010110011111111101011001110111110101010110011111111101011001000001000100000100010001011000000001010101100101010110011101011001011001110111110111011111011111111111011001010101100110010101011101011001011001100101010000000000010000010000010001100101010101111111011111111101011001110111110101111111011111111111011001000001000111111111111111111101010101110111110111011111011111111111011001100101010100000100011001011000010000010001000100000100010001011000000001000001000111111111111111111101010101100101010001000100011001011000010001010101100001110101011101011001011001010101100101111111011111111101011001110111110101010110011111111101011001110111110101010110011111111101011001100101010110010101011101011001011001111111111001000100011111111101010101011111110101111111011111111111011000000000000111011111011001010100010000000000000101010110010000010000010001110111110101111111011111111111011001100101010111111111111111111101111101100101010101111111011111111101011001010101100101010110011101011001011001100101010111111111111111111101111101110111110000000000011001010100010001100101010101111111011111111101011000000000000101111111011001010100010001010101100101010110011101011001011000000000000101111111011001010100010001010101100101111111011111111101011001000001000111011111011101111100010000000000000101111111011001010100010001011111110110010101011111111101011000000000000101111111011001010100010001000001000111111111111111111101010101000001000101111111011101111100010001000001000101111111011101111100010001000001000111011111011101111100010001110111110111011111011111111111011001100101010101111111011111111101011001111111111001110101011111111101111101010101100101010110011101011001011001000001000111111111111111111101010101111111111000000000011101010101010101000001000001000100010001011000000000010001000101010110011001011000010001011111110101010110011111111101011001010101100111111111111111111101111101111111111101111111011111111111111101111111111110010101011111111101111100010001000111011111011101111100010001000001000111011111011101111100010001000001000101111111011101111100010001100101010000000000010000010000010001010101100110010101011101011001011000010001000101111111011101111100010001010101100101010110011101011001011001010101100111111111111111111101111101110111110101010110011111111101011001110111110101010110011111111101011001111111111100000100011111111101010101010101100111111111111111111101111101111111111101010110011111111101111101011111110101010110011111111101011000011101010101111111011111111101011001111111111111011111011111111111111101110111110101010110011111111101011001100101010100000100011001011000010001100101010001110101011101011001011000000000000111011111011001010100010001000001000000000000000000010000000001010101100111011111011111111101011001111111111111111111111111111111111111011111110101010110011111111101011001011111110111111111111111111111111101110111110101010110011111111101011001000001000101010110011001011000010001000001000101010110011001011000010001000001000101111111011101111100010001010101100111011111011111111101011001011111110001000100011101111100010001000001000001000100010001011000000001010101100101010110011101011001011001110111110101111111011111111111011001010101100101010110011101011001011001010101100101111111011111111101011001000001000101111111011101111100010000010001000101111111011101111100010001010101100001000100011001011000010000010001000111011111011101111100010000010001000111111111111111111101010101000001000101010110011001011000010001010101100101111111011111111101011001100101010101111111011111111101011001010101100101010110011101011001011001000001000111011111011101111100010001000001000000000000000000010000000001111111111110010101011111111101111101010101100111111111111111111101111101010101100101010110011101011001011001100101010100000100011001011000010001011111110101111111011111111111011001010101100101111111011110011111010110000000000001100101010100000001000001000111111000000001110001111100010001100001011000010000010001000111011111011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000000000000010000010000000000010000000001010101100100000100011000010110000100011100000000000110000101100001000000000001000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000010001000101111111011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010000000000000111011111011000010101000100000111010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100011101111101110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000001000100010000010001000001011000000001011111110111011111011111011111110110011111110000000111000111110001000111000111110001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010000010001110111110111000111110001000111111111100100010001111001111101010101111111100000011110011111010110011100010110010110000000000001111111111111000101010101010100000100011001010101100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000000000000001110101010000000100000100010101011001110111110111100111110101100111111000000001110001111100010001100001011000010000011101010000000000010000000100000100011001010101010101100111000101100101100111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000111011111010000010001110001111100010001111100000000011000010110000100011000010110000100000000000001100101010100000001000001000110010101000111010101110001011001011001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001011111110101010110011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001010101100101111111011110011111010110010101011000000000000100000001000001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101111111011101111101111101111111011001011111110101111111011111011111110110011111111111000111110111111101100111110111111101100001000100011101111101110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110010101011001011111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010111111101110111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100010000010001000001011000000000011101010000000000010000000100000100011100000000000100000101100000000100000101100000000101010110011101111101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110000000000001010101100100000001000001000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001011111110111011111011111011111110110000111010101011111110111100111110101100111111111100001111101111111011001111001111101011001010101100101111111011110011111010110011101111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100000000000000111010101000000010000010001111111111111111111111111111111111111111111111100000111100111110101010111100111110101010001000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001000001000111011111011100011111000100010111111100011101010111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111011111011111111111111111111111111101010101100101010110011100010110010110011111111110000111110111110111110111100111110101100110010101011001010101110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010000010000000000000000000001000000000110010101010000010001100001011000010001110000000000011000010110000100000000000100000000010000010000011101010110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001011111110100000100011100011111000100000000000000000000000000000000000000000111000000000001000000010000010001000000010000010001110111110111011111011111011111110110000000000001110111110110000101010001000111111110000001111001111101011001110001111100010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100001000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100111011111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001011111110100000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000001000100011101111101110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100110010101011111111111111101111101111101110111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110010101011001111111111111110111110111110101111111000100010001110001111100010001111111110000011110011111010110011110011111010110010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101111111011101111101111101111111011001011111110111111111111111111111111111011111111111100111111111111111110111110111111101100111011111011111111111111111111111111100010001000111011111011100011111000100011111111110000111110111110111110111100111110101100111111111111111111111110000000111111111111001111111111111111101111101111111011001111111111000011111011111110110011110011111010110010101011001110111110111100111110101100001000100011111111111111001111101010101111111110000011111011111110110011100010110010110011111111111111111111111111111111111111101010110011111111111111101111101111101111111111111011111111111111111011111111111111111011111111111111111111111000000011111111111000111111111111111110111100111110101100111111111110001111111111111111101111001111101011001111111111111111111111111111111111111111111111100000000000000011111111111111111111111000000011111111111000111110111111101100111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001111111110101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011111111101011001000001000101111111011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001110111110101010110011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001000100010111111101110001111100010001000001000111111111111110011111010101011111111000000111100111110101100111000101100101100100000100011101111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110000100010001100101010110000101100001000111111000000001110001011001011001100001011000010001110111110111011111011111011111110110010111111101000001000111000111110001000111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000110010101000100010001100001011000010000011101010100000100011000010110000100011111000000000111000101100101100100000101100000000110010101010000010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000100010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000000111010101010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000100010000010001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011101111101010101100111100111110101100001110101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000110010101011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001000001000001000100010000010110000000010101011001100101010111000101100101100111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111000000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001000100010000010001000001011000000001010101100110010101011100010110010110011111000000000110000101100001000110000101100001000111011111011101111101111101111111011000010001000101010110011000010110000100011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010111111101100101010111100111110101100000000000000000000000000000000000000001111000000000011000010101000100010000000100000100011101111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101111111010111111101111101111111011001100101010111011111011110011111010110011111111110000111110111111101100111100111110101100111111111110101011001111101111101111101000001000111011111011100011111000100011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010000010001010101100110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000111000101010101010111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001100101010001110101011100010110010110000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001110111110001000100011100011111000100010000010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110010111111101111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100111011111000100010001110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001100101010001110101011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001000001000101010110011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000101111111010101011001111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100001110101010111111101111001111101011001111111111100000100011110011111010101011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010111111101010101100111100111110101100001110101000100010001100001011000010001111111000000011110011111010110011000010110000100010101011000000000000100000001000001000101111111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000011101010001110101011100010110010110011101111100010001000111000111110001000111111100000001110001011001011001110001011001011001110111110100000100011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010000010000000000000000000001000000000101010110010000010001100001011000010001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000000010001000000000000000000000100000000000100010001011111110111000111110001000111100000000001100001011000010001000000010000010000000000000101010110010000000100000100000111010101100101010111000101100101100111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000100000100010101011001100001011000010001011111110001110101011110011111010110011111110000000111100111110101100110000101100001000001000100011101111101110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111110010001000111100111110101010111111111100111010101111101111101111101111111111000011111011111110110011110011111010110000100010001110111110111000111110001000101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100001000100011101111101110001111100010001011111110000000000011000010101000100011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100111111111110000010001111001111101010101111111100000011110011111010110011100010110010110010101011000000000000100000001000001000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000000000000100000100000000000100000000010111111100011101010111100111110101100111110000000001110001111100010001000000010000010000000000000101111111011000010101000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101111111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111110000010001111001111101010101000001000001110101011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000000000000100000100000000000100000000010000010001110111110111000111110001000111100000000001100001011000010001000000010000010000000000000100000100000000000100000000000000000001010101100100000001000001000110000000000001000001011000000000000000010000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111011111010000010001110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111011111011101111101111101111111011000000000000000000000000000000000000000011111000000000110000101010001000110000101010001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111110000000000000000000000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010000010000011101010110000101100001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000000000001000001000000000001000000000111110000000001110001111100010001000000010000010001010101100111011111011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010111111101010101100111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100110010101011100010110010110000111010101010101100111000101100101100111111100000001110001011001011001110001011001011000010001000111011111011100011111000100010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000100000100010000010001000001011000000001011111110101010110011110011111010110011111100000000111000111110001000110000101100001000100000100000111010101100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000111010101010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011101111100000000000110000101010001000001000100010111111101110001111100010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001000001000110010101011000010110000100011110000000000110000101100001000100000101100000000101111111010111111101111101111111011001010101100100000100011000010110000100011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011101111101000001000111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100010101011001110111110111100111110101100101010110011001010101110001011001011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001011111110001000100011100011111000100000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001011111110001110101011110011111010110010111111100010001000111000111110001000111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111101111101111111111111111101010101100101010110011100010110010110011111111110000111110111110111110111100111110101100100000100011111111111111001111101010101011111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111011111011111111111111111011101111100010001000111000111110001000111111111100001111101111101111101111001111101011001110111110101111111011111011111110110011111111111111111111111111111111111111111111111111101111111111111111101111111111111111101111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111111111111111110111100111110101100100000100010111111101110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101111111111111011111011111111111111111011111111111100111111111111111110111110111111101100111111111111111111100000000000111111111100001111101111101111101111001111101011001111111100000011110011111010110011100011111000100011111111111111111111111111111111111111111111000000000000000000111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110000000000000011101010100000001000001000101111111000111010101111001111101011001111110000000011100011111000100011000010110000100000111010101010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110110010101011110011111010110010000010000011101010110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111110111111101111111111111111111111111110111111111111111111111111111111111111111111111111101111111111111111111111000000001111111111100011111011111011111011111011111011111011111111110000111110111110111110111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011101111100010001000111000111110001000000000000011101111101100001010100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100110010101011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000100000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111101100101010111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110000000000001010101100100000001000001000001110101011111111111111101111101111101111111000000011100011111000100011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001110101010101011001110001011001011000010001000111111111111110011111010101011111111000000111100111110101100111000101100101100111111111110101011001111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010111111101010101100111100111110101100100000100011111111111111001111101010101111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001000001000101111111011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111101111101111111111111111101110111110111011111011111011111110110011111111111100111111111111111110111110111111101100111111111111111111000000000000111111111000001111101111101111101110001111100010001111111100000011110011111010110011100011111000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100000000000010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001000001000000000000000000000100000000000100010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000001000100000000000000000000010000000001110111110100000100011100011111000100011110000000000110000101100001000100000001000001000101111111010101011001111001111101011001100101010101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111110010001000111100111110101010000000000011101111101100001010100010001111111000000011110011111010110011000010110000100000000000001010101100100000001000001000101111111011111111111111111111111111101111111100000011110011111010101011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110011101111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101011111110111110111111101100101111111010101011001111001111101011001111111111000011111011111110110011110011111010110011001010101011111110111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100101010110011100010110010110011001010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111001000100011110011111010101011101111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111011111010101011001111001111101011001111111111110010101011111011111011111011111111110000111110111111101100111100111110101100101111111010111111101111101111111011001011111110001000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010101011001000001000110000101100001000111111111111001010101111101111101111101111111100000011110011111010110011100011111000100000000000001111111111111000101010101010100000100000000000000000000010000000001111000000000011000010110000100010000000100000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101111111011101111101111101111111011001111111111101010110011111011111011111011111111111000111110111111101100111110111111101100001000100010000010001000001011000000001010101100110010101011100010110010110011111000000000110000101100001000110000101100001000111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100000100010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000000111010101010101100111000101100101100001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100001000100011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010000010001000111011111011100011111000100011101111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000100000100010101011001100001011000010001011111110111011111011111011111110110011111111000000111100111110101100111000111110001000001110101010101011001110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000000011101010101010110011100010110010110000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001010101100110010101011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000110010101000000000001000000010000010001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011001000001000110000101100001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100010111111101011111110111110111111101100100000100011111111111111001111101010101111111111000011111011111110110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001010101100100000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001010101100111011111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011101111101111111111111111111111111110101111111011001010101111001111101011001111111111100011111111111111111011110011111010110011101111101110111110111110111111101100001110101010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001010101100111011111011110011111010110010000010000000000000000000001000000000111110000000001110001111100010001000000010000010001110111110101010110011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101010110010000010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100101111111000000000001100001010100010001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000001110101000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000101010110010000010001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010001011111110111000111110001000101111111010000010001110001111100010001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000000000000100000100000000000100000000011111111110011101010111110111110111110111111000000001110001111100010001100001010100010000010001000111011111011100011111000100000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000111011111000100010001110001111100010000010001000111111111111110011111010101011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000100000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010000011101010111011111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000000000000011001010101000000010000010001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000101010110000111010101110001011001011001000001000110010101011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010111111101111111111111111111111111110001110101011101111101111001111101011001111111111100011111111111111111011110011111010110010111111101010101100111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001000001000101111111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010111111101000001000111000111110001000111111111110111111101111111111111111101111111111000011111011111011111011110011111010110010000010001010101100110000101100001000101111111011111111111111111111111111101111111110000011111011111011111011100011111000100011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001110111110001000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111110111111101011111110111110111111101100111111111111101111111111111111101111111111111111101111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111110111110111100111110101100111111111111111111111111111111111111111111100000000000000000001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111011111010000010001110001111100010001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100100000100010101011001100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010111111101000001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001110101010000010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000111111111100000000001110001010101010101011111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100000100010001010101100110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011101111101011111110111110111111101100000000000010111111101100001010100010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010000010001000110010101011000010110000100010000010001100101010110000101100001000111110000000001110001011001011001000001011000000001011111110111111111111111111111111111010000010001111111111111100111110101010111111111110001111111111111111101111001111101011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000101111111010000010001110001111100010001111111111001000100011110011111010101011111111000000111100111110101100111000101100101100101010110010000010001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000111111111111110011111010101010111111101100101010111100111110101100111111111000001111101111111011001110001011001011001110111110111011111011111011111110110000100010001011111110111000111110001000111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100101010110011111111111111101111101111101000001000000000000000000000100000000011111100000000111000111110001000110000101010001000111011111010101011001111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000000000001010101100100000001000001000110010101010000010001100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111110010101011111011111011111000100010000000000000000000001000000000111111000000001110001111100010001100001010100010001000001000101010110011000010110000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100000000000010111111101100001010100010001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100110010101011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111010000010001011111110111000111110001000111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000000000000010000010000000000010000000001111111111001110101011111011111011111011111100000000111000111110001000110000101010001000100000100010101011001100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010111111101000001000111000111110001000001000100000111010101100001011000010001111110000000011100010110010110011000010110000100010111111100000000000110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000000000000000100010000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001000001000100000100010000010110000000011111111111010101100111110111110111110111111100000001110001111100010001110001111100010001110111110101111111011111011111110110000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011000010001000110010101011000010110000100011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001010101100001110101011100010110010110011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100011101111101111111111111111111111111110111111111000001111101111101111101110001111100010001010101100001110101011100010110010110011111111111100101010111110111110111110111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111110011101010001000100011000010110000100011111111110000111110111110111110111100111110101010101010110011101111101111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111111111010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100010111111101100101010111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110000100010001110111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000101111111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100101111111010000010001110001111100010001111111000000011100010110010110011100010110010110000000000001010101100100000001000001000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010000010001000101010110011000010110000100011001010101100101010111000101100101100111111000000001110001011001011001100001011000010000010001000100000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111011111000111010101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111100100010001111001111101010101110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011001010101111111111111110111110111110101111111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100110010101010111111101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100101111111010101011001111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110010101011001011111110111100111110101100001110101011101111101111001111101011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100001110101010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111100000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001000001000100000100010000010110000000011101111101010101100111100111110101100111111000000001110001111100010001100001011000010000011101010101010110011100010110010110011101111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000101010110011111111111111101111101111100010001000001000100010000010110000000011111110000000111000111110001000111000111110001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100101111111011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111101111111011111111111111111010111111101100101010111100111110101100111111111110001111111111111111101111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100101010110011101111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000100000100000100010001000001011000000000011101010111111111111111011111011111011111110000000111000111110001000111000111110001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010111111101000001000111000111110001000100000100000111010101100001011000010001111110000000011100010110010110011000010110000100010101011001111111111111110111110111110101111111000000000001100001010100010001111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110101111111011111011111110110011101111101010101100111100111110101100111111111100001111101111111011001111001111101011001011111110101111111011111011111110110000000000000010001000000000001000000000111111000000001110001111100010001100001010100010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100111111111100111010101111101111101111101111111111000011111011111110110011110011111010110011101111101011111110111110111111101100000000000010111111101100001010100010001111111100000011110011111010110011100011111000100011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110011111111111111111111111111111111111111111111111110001111101111101111101111101111101111101110111110101111111011111011111110110000111010101111111111111110111110111110111111111110001111101111111011001111101111111011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111100000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100101111111010000010001110001111100010000000000000111011111011000010101000100011111100000000111000101100101100110000101100001000101010110000100010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010111111101111111111111111111111111110111011111011101111101111101111111011001111111111110011111111111111111011111011111110110010000010001110111110111000111110001000111011111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001111111111000000000011100010101010101011111111000000111100111110101100111000101100101100111011111011111111111111111111111111101110111110101010110011110011111010110011111111111000111111111111111110111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110010111111101011111110111110111111101100001110101011001010101110001011001011001111111110000011110011111010110011110011111010110010000010001110111110111000111110001000101111111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001000001000111111111111110011111010101010000010001011111110111000111110001000111111110000001111001111101011001110001011001011001011111110100000100011100011111000100011101111101111111111111111111111111110111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111010000010001110001111100010001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100101111111010101011001111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001000001000101111111011100011111000100011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111110101011001111101111101111101011111110001000100011100011111000100011111111100000111100111110101100111100111110101100110010101011101111101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011101111101000001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011001110111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000000000000100000100000000000100000000010111111101110111110111110111111101100111111000000001110001111100010001100001010100010001011111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000000111010101000001000110000101100001000001000100000111010101100001011000010001111100000000011100010110010110010000010110000000011111111110000000000111000101010101010111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010001110111110000000000011000010101000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000100000100011101111101110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100001000100000100010001000001011000000000010001000000000000000000000100000000011000000000000100000101100000000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100000100010000000000000000000001000000000111011111010101011001111001111101011001111100000000011100011111000100010000000100000100010000010001000001000100000101100000000110010101000000000001000000010000010001110000000000010000010110000000010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000101010110000000000001000000010000010001110111110100000100011100011111000100011111000000000110000101100001000110000101100001000000000000010000010000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011001010101010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100000000000000010001000000000001000000000101111111010000010001110001111100010001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111110000000000000000000000011111111111111111111100000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111111111111111100000000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001010101100110010101011100010110010110010111111100010001000111000111110001000111111100000001110001011001011001110001011001011000011101010111011111011110011111010110010111111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110000100010001100001011000010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000101111111010101011001111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001010101100001000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010000010001000001000100010000010110000000011101111101110111110111110111111101100111111100000001110001111100010001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110000100010001100001011000010000011101010001000100011000010110000100011111000000000111000101100101100100000101100000000100000100010101011001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010111111101111111111111111111111111110101111111011101111101111101111111011001111111111110011111111111111111011111011111110110000100010001011111110111000111110001000101010110011001010101110001011001011001111111000000011100010110010110011100010110010110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001010101100001110101011100010110010110000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001000001000100000100010000010110000000011111111110010001000111100111110101010111111000000001110001111100010001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000000000000001110111110110000101010001000101010110000111010101110001011001011001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000111011111011100011111000100000000000001011111110110000101010001000111111000000001110001011001011001100001011000010000010001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000100000100000100010001000001011000000001011111110100000100011100011111000100011111000000000110000101100001000110000101100001000110010101010000010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000100000100010000010001000001011000000001111100000000011000010110000100011000010110000100010000010001111111111111100111110101010101111111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111011111000000000001100001010100010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010000010001000001000100000101100000000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000010111111101110111110111110111111101100111111111100100010001111001111101010101111111111000011111011111110110011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001011111110111111111111111111111111111010111111101000001000111000111110001000111111111100001111101111101111101111001111101011000011101010001110101011100010110010110011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100100000100000100010001000001011000000001010101100111011111011110011111010110011111100000000111000111110001000110000101100001000100000100010101011001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000010001000101010110011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010000010001000111011111011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000110010101010111111101111001111101011000011101010001000100011000010110000100011111110000000111100111110101100110000101100001000000000000011111111111110001010101010100011101010110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000000000001100101010100000001000001000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100000100010001100101010110000101100001000101010110011001010101110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100101010110011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010000011101010101010110011100010110010110010000010000011101010110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010000010001011111110111000111110001000100000100011101111101110001111100010001111111000000011100010110010110011100010110010110011101111101010101100111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010000010000011101010110000101100001000111111000000001110001011001011001100001011000010001000001000101111111011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000100000100000111010101100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000101010110000100010001100001011000010001110111110101111111011111011111110110011111111000000111100111110101100111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000111010101000001000110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011101111101111111111111111111111111110101111111000111010101111001111101011001111111111100011111111111111111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001110001111100010001110001111100010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110010000010001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111011111010101011001111001111101011000010001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010101011001000001000110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100100000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010000000000000100000100000000000100000000000000000001110111110110000101010001000111000000000001100001011000010000000000010000000000010001000111111111111110011111010101010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111011111010111111101111101111111011000000000000101111111011000010101000100011111111000000111100111110101100111000111110001000101010110000000000001000000010000010001010101100111111111111111011111011111011111110000000111000111110001000111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110101010110011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001010101100111111111111111011111011111000000000001011111110110000101010001000111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100000100010001000001011000000001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000111111111110111111101111111111111111101000001000101010110011000010110000100011111111100000111110111110111110111000111110001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010000010000010001000100000101100000000100000100011001010101100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100001110101000000000001000000010000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001011111110000000000011000010101000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001000001000001000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010000010001011111110111000111110001000110010101011111111111111101111101111101111111110000011110011111010110011110011111010110010000010000010001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001010101100100000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001011111110111011111011111011111110110011101111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000101111111000100010001110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000000000000010101011001000000010000010000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010111111101010101100111100111110101100111011111000100010001110001111100010001111111100000011110011111010110011100010110010110000100010001010101100110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000110010101000000000001000000010000010000010001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000000000000001000001000000000001000000000111011111010101011001111001111101011001111100000000011100011111000100010000000100000100011111111110010001000111100111110101010100000100000111010101100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001110111110111011111011111011111110110000000000001010101100100000001000001000111111100000001110001111100010001110001111100010001111111111101010110011111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110011001010101110001011001011001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100001000100010111111101110001111100010001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001011111110101010110011110011111010110000000000000011101010100000001000001000111111000000001110001111100010001100001011000010001111111111101111111011111111111111111010111111101010101100111100111110101100111111111110001111111111111111101111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000101010110010101011001110001011001011001111111111100000100011110011111010101011111111000000111100111110101100111000101100101100101010110011001010101110001011001011000000000000111111111111100010101010101011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010000010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000000111010101000001000110000101100001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100110010101011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001110111110001000100011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010000010001111111111111100111110101010000000000010101011001000000010000010001111110000000011100011111000100011000010110000100000100010001110111110111000111110001000001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100111011111011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001010101100101111111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101111111011101111101111101111111011000011101010101010110011100010110010110011111111100000111100111110101100111100111110101100101010110010101011001110001011001011001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010000010000011101010110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111110010001000111100111110101010101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101111111010101011001111001111101011001111111111100000100011110011111010101011111111100000111110111111101100111000101100101100101010110010111111101111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011101111101010101100111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111101111111010111111101111101111111011001111111111111011111111111111111011111111111111111011111111111111111111111000000011111111111000111111111111111110111100111110101100111111111110001111111111111111101111001111101011001111111111111111111111111111111111111111111110000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011000010001000000000000000000000100000000000111010101000001000110000101100001000111000000000001100001011000010000000000010000000001010101100101010110011100010110010110000111010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000100000100010111111101110001111100010001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000100000100010101011001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000000000000000000000100000000000100010000010001000100000101100000000110000000000001000001011000000000000000010000000001100101010001000100011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000001000100010101011001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111011111000100010001110001111100010001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011101111101010101100111100111110101100101111111000100010001110001111100010001111111100000011110011111010110011100010110010110010101011000010001000110000101100001000101111111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011001010101100111111111111111011111011111010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100000000000000000000000000000000000000000100000100010101011001100001011000010001100000000000010000000100000100000000000100000000011101111100000000000110000101010001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001010101100001000100011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010000000000000101010110010000000100000100000000000001010101100100000001000001000111000000000001000001011000000001000001011000000001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000101111111010101011001111001111101011001011111110000000000011000010101000100011111110000000111100111110101100110000101100001000100000100011111111111111001111101010101010101100110010101011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000111010101010101100111000101100101100101111111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001110101010000010001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001010101100001110101011100010110010110011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010001111111111111100111110101010001000100011111111111111001111101010101111111110000011111011111110110011100010110010110011001010101010101100111000101100101100000000000010111111101100001010100010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001000001000111011111011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001010101100100000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110010000010001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000001000100010101011001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001100101010100000100011000010110000100010111111101100101010111100111110101100111111100000001111001111101011001100001011000010000010001000111011111011100011111000100000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100110010101010111111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000001110101010101011001110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010101011000000000000100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000000000000001010101100100000001000001000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000000010001000000000000000000000100000000010000010001011111110111000111110001000111100000000001100001011000010001000000010000010001111111111101010110011111011111011111010000010001110111110111000111110001000111111111000001111001111101011001111001111101011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001000001000100000101100000000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001000001000100000100010000010110000000010000010001011111110111000111110001000111110000000001100001011000010001100001011000010001000001000101010110011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000000000000010000010000000000010000000001100101010101111111011110011111010110011111000000000111000111110001000100000001000001000000000000011001010101000000010000010001000001000111111111111110011111010101011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001000001000110000101100001000001000100000111010101100001011000010001111100000000011100010110010110010000010110000000010101011000010001000110000101100001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111011111010111111101111101111111011000010001000111011111011100011111000100011111111100000111100111110101100111100111110101100101010110010101011001110001011001011000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100100000100000100010001000001011000000001111100000000011000010110000100011000010110000100011101111100011101010111100111110101100110010101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100100000100011000010110000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001011111110111011111011111011111110110010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000101111111011101111101111101111111011000000000000001000100000000000100000000011111100000000111000111110001000110000101010001000101111111011101111101111101111111011001011111110001110101011110011111010110011111111110000111110111111101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101111111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111101111111011111111111111111010101011001110111110111100111110101100111111111110001111111111111111101111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100100000100010101011001100001011000010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111100000000001110001010101010101110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000100010001010101100110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100100000100011101111101110001111100010001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001011111110111011111011111011111110110000000000000011101010100000001000001000111111100000001110001111100010001110001111100010001010101100000000000010000000100000100010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000000000001000001000000000001000000000101010110011101111101111001111101011001111100000000011100011111000100010000000100000100010101011001010101100111000101100101100000000000011101111101100001010100010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000010001000100000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010001000001000111111111111110011111010101010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101111111000000000001100001010100010001111111111001000100011110011111010101011111110000000111100111110101100110000101100001000001000100011101111101110001111100010001100101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100101111111011101111101111101111111011001111111110000011110011111010110011110011111010110010111111101010101100111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111000000000001100001010100010000000000000101111111011000010101000100011111000000000111000101100101100100000101100000000110010101010000010001100001011000010001011111110101111111011111011111110110011111111000000111100111110101100111000111110001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000111011111000100010001110001111100010001111100000000011000010110000100011000010110000100011101111101011111110111110111111101100000000000010101011001000000010000010001111111000000011100011111000100011100011111000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000000000000000110010101010000000100000100011101111101011111110111110111111101100111111100000001110001111100010001110001111100010000000000000100000100000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000001000100011001010101100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000111111111110101011001111101111101111101000001000111111111111110011111010101011111111110000111110111111101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001110111110101010110011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001000001000000000000000000000100000000000100010000010001000100000101100000000110000000000001000001011000000000000000010000000001111111111100000000000000000001111110000000011100011111000100011000010110000100011110000000000110000101100001000100000001000001000100000100010101011001100001011000010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111011111000111010101111001111101011001000001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001110111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110010000010001011111110111000111110001000110010101011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110111011111011111011111110110010000010000000000000000000001000000000111111000000001110001111100010001100001010100010001100101010000000000010000000100000100010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000000000001100101010100000001000001000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100010101011001011111110111100111110101100000000000010111111101100001010100010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000000000000110010101010000000100000100010000010001011111110111000111110001000111110000000001100001011000010001100001011000010001010101100111111111111111011111011111010101011001110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111101111101111111111111111100000000000101010110010000000100000100011111111000000111100111110101010111000111110001000000000000010000010000000000010000000001000001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100010101011000010001000110000101100001000110010101010111111101111001111101011001111111000000011110011111010110011000010110000100010101011001011111110111100111110101100101010110011111111111111101111101111101111111111000011111011111110110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110010111111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111011111011001010101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000000000000000000000000000000000000000110010101011001010101110001011001011001110000000000010000000100000100010000000100000100010101011000000000000100000001000001000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000011111100000000000000000000000011100000000000100000101100000000100000101100000000110000000000001000001011000000000000000010000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000001000001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010000010001000001110101011000010110000100011001010101111111111111110111110111110111111110000001111001111101011001110001111100010001110111110111111111111111111111111111000100010000010001000100000101100000000111111110000001111001111101010101110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100001110101010111111101111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111011111010101011001111001111101011000011101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000000000000101111111011000010101000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010001000001000100000100010000010110000000010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111011111010101011001111001111101011001011111110101111111011111011111110110011111111110000111110111111101100111100111110101100101010110011101111101111001111101011001111111111100000100011110011111010101011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011101111101111111111111111111111111110100000100011101111101110001111100010001111111111000011111011111011111011110011111010110011101111101010101100111100111110101100101111111000100010001110001111100010001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001000001000101111111011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011000000000000101010110010000000100000100000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011001010100011101010111000101100101100101111111011001010101111001111101011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100100000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001100101010101010110011100010110010110010101011000000000000100000001000001000111110000000001100001011000010001100001011000010000011101010100000100011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001110101000111010101110001011001011000000000000111011111011000010101000100011111100000000111000101100101100110000101100001000001000100011101111101110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000100010000011101010110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100010101011001100101010111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000101010110010101011001110001011001011000000000000101111111011000010101000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000000000001011111110110000101010001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100000100010001100101010110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001011111110111111111111111111111111111000100010001111111111111100111110101010111111111110001111111111111111101111001111101011001011111110101111111011111011111110110010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100000000000000111010101000000010000010001011111110111011111011111011111110110011111110000000111000111110001000111000111110001000101010110000100010001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001010101100100000100011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001000001000111011111011100011111000100010111111101111111111111111111111111110111111111100001111101111101111101111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111010111111101111101111111011001110111110101111111011111011111110110011111111111000111110111111101100111110111111101100111011111011101111101111101111111011001011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110010111111101011111110111110111111101100110010101011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111010101100111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001110111110100000100011100011111000100010101011001110111110111100111110101100111111110000001111001111101011001110001011001011000000000000101111111011000010101000100011111111110000000000111000101010101010111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011101111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110000111010101011111110111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100101111111011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010000011101010101010110011100010110010110010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100110010101000000000001000000010000010001011111110000000000011000010101000100011110000000000110000101100001000100000101100000000001000100010000010001000001011000000000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000010101011001100101010111000101100101100100000100011001010101100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000100000100011111111111111001111101010101111110000000011100011111000100011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000001000100011001010101100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000110010101010000010001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010000000000000000000001000000000100000100010000010001000001011000000001100000000000010000010110000000000000000100000000011111111110000000000111000101010101010111011111011001010101111001111101011001111111100000011110011111010110011100010110010110011111111111000000000000000000011111100000000111000111110001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001110111110000000000011000010101000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100001000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100110010101010000010001100001011000010001110111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100101010110011100010110010110000111010101100101010111000101100101100111111100000001110001011001011001110001011001011001011111110111111111111111111111111111010101011000000000000100000001000001000111111110000001111001111101010101110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100101010110011001010101110001011001011001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000100010001110111110111000111110001000111111111100100010001111001111101010101111111100000011110011111010110011100010110010110011101111101011111110111110111111101100111011111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001000001000101010110011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100101010110011111111111111101111101111101111111110000011110011111010110011110011111010110010101011001110111110111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001110111110111011111011111011111110110000100010001111111111111100111110101010111111111100001111101111111011001111001111101011001100101010001110101011100010110010110000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100110010101010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010111111100000000000110000101010001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000010101011000011101010111000101100101100111111111100111010101111101111101111101111111110000011110011111010110011110011111010110011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111011111000100010001110001111100010001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100110010101000100010001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100010101011000000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110111110111111111111111110101111111010111111101111101111111011001111111111110011111111111111111011111011111110110011111111111111111100000000000011111111100000111110111110111110111000111110001000111111110000001111001111101011001110001111100010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001010101100101111111011110011111010110010000010001111111111111100111110101010111111111000001111101111111011001110001011001011001010101100001000100011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101111111010111111101111101111111011001000001000111011111011100011111000100011111111100000111100111110101100111100111110101100101010110010101011001110001011001011000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001100101010101111111011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011000010001000101111111011100011111000100000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100001110101010101011001110001011001011001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010000010001100101010110000101100001000111111111111001010101111101111101111101111111100000011110011111010110011100011111000100011111111111010101100111110111110111110101111111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001011111110100000100011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001000001000000000000000000000100000000000100010000000000000000000001000000000100000000000001000001011000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000000100000100011100000000000110000101100001000000000001000000000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100000100010001010101100110000101100001000111011111011111111111111111111111111101111111110000011111011111011111011100011111000100010101011001011111110111100111110101100101111111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001011111110111011111011111011111110110000111010101110111110111100111110101100111111111100001111101111111011001111001111101011001000001000111011111011100011111000100010111111101111111111111111111111111110111111111100001111101111101111101111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111110000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000100000100000000000000000000010000000001111111111101010110011111011111011111011111100000000111000111110001000110000101010001000000000000011101111101100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100101010111110111110111110001000100000000000000000000010000000001111110000000011100011111000100011000010101000100000100010001010101100110000101100001000001000100000111010101100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001110101011101111101111001111101011000000000000101010110010000000100000100011111100000000111000111110001000110000101100001000111111111110111111101111111111111111100011101010110010101011100010110010110011111111110000111110111110111110111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100111011111010000010001110001111100010001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001010101100101010110011100010110010110010000010001100101010110000101100001000111111000000001110001011001011001100001011000010000010001000100000100010000010110000000010111111101011111110111110111111101100111111100000001110001111100010001110001111100010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110000111010101110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100111011111010101011001111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001100101010101111111011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011001000001000001110101011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111011111010101011001111001111101011001110111110100000100011100011111000100011111111000000111100111110101100111000101100101100001110101010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010000010001000001000100000101100000000111111111100000000001110001010101010101111100000000011000010110000100011000010110000100011101111101111111111111111111111111110101010110010000010001100001011000010001111111110000011111011111011111011100011111000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001110111110111111111111111111111111111010111111101010101100111100111110101100111111111110001111111111111111101111001111101011001010101100101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000111010101100101010111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110101010110011111111111111101111101111101111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001010101100001000100011000010110000100000111010101110111110111100111110101100111111100000001111001111101011001100001011000010001100101010101010110011100010110010110000000000001111111111111000101010101010111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110010101011001110001011001011001110111110100000100011100011111000100011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010111111101000001000111000111110001000111111111100100010001111001111101010101111111100000011110011111010110011100010110010110010101011001110111110111100111110101100001000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010111111101111001111101011001111111111101010110011111011111011111011111111110000111110111111101100111100111110101100101010110000100010001100001011000010000011101010110010101011100010110010110011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110000000000001110111110110000101010001000001000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001110111110111011111011111011111110110011101111101100101010111100111110101100111111111100001111101111111011001111001111101011001010101100001110101011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001010101100100000100011000010110000100011111111000000111100111110101100111000111110001000101010110011101111101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001011111110110010101011110011111010110011101111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110010101011001110001011001011000011101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011001010101010101100111000101100101100001000100000111010101100001011000010001111110000000011100010110010110011000010110000100000100010000010001000100000101100000000101111111011111111111111111111111111101111111100000011110011111010101011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110001000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001110111110111111111111111111111111111010101011001100101010111000101100101100111111111100001111101111101111101111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110111110111111111111111110101010110000000000001000000010000010001111111100000011110011111010101011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001000001000000000000000000000100000000000111010101010101100111000101100101100111100000000001100001011000010001000000010000010000000000000101010110010000000100000100011111111111100101010111110111110111110111111100000001110001111100010001110001111100010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110000000000001000000010000010001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000100000100011101111101110001111100010001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100111111111111111000000000000000111111110000001111001111101011001110001111100010001111110000000011100011111000100011000010110000100010111111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100000000000000111010101000000010000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111011101111101111101111111011001111111111001000100011110011111010101011111111110000111110111111101100111100111110101100111111111100111010101111101111101111100011101010111011111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110010101011001100101010111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110011111111111011111110111111111111111110000000000011111111111110001010101010101111111111000011111011111011111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111011111111101011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001000001000000000000000000000100000000011001010101000001000110000101100001000111000000000001100001011000010000000000010000000001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000001110101000000000001000000010000010000010001000000000000000000000100000000011000000000000100000101100000000000000001000000000001000100010101011001100001011000010000011101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111100000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000111111111111110011111010101010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001000001000001000100010000010110000000010111111101100101010111100111110101100111111000000001110001111100010001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111011111010101011001111001111101011001011111110000000000011000010101000100011111110000000111100111110101100110000101100001000101111111010000010001110001111100010001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011101111100000000000110000101010001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100000000000000010001000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001000001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001100101010111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100010000010000010001000100000101100000000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001110111110101010110011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001100101010001000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111110101011001111101111101111100000000000111011111011000010101000100011111111000000111100111110101100111000111110001000111111111110101011001111101111101111100010001000101111111011100011111000100011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011001010101011111110111100111110101100101111111000100010001110001111100010001111111100000011110011111010110011100010110010110010111111101111111111111111111111111110111111111110101011001111101111101111101111111111110011111111111111111011111011111110110011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100100000100010111111101110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100101111111010111111101111101111111011001010101100111111111111111011111011111011111111111000111110111111101100111110111111101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110010101011000010001000110000101100001000111111111110111111101111111111111111101111111110000011111011111011111011100011111000100010111111101010101100111100111110101100111111111100111010101111101111101111101111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001000001000000000000000000000100000000010101011000000000000100000001000001000110000000000001000001011000000000000000010000000001000001000101111111011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000001000100000111010101100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000100000100000100010001000001011000000001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001011111110100000100011100011111000100000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001100101010001000100011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000000000000000100010000000000010000000000010001000001000100010000010110000000011000000000000100000101100000000000000001000000000111011111000100010001110001111100010001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111100000000000000000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111110000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000000111010101010101100111000101100101100101010110011111111111111101111101111101111111110000011110011111010110011110011111010110000000000001011111110110000101010001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010000000000000001000100000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001110111110100000100011100011111000100010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001110111110111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100000100010000010001000100000101100000000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010000000000000110010101010000000100000100000000000001000001000000000001000000000110000000000001000001011000000000000000010000000001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111111000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000000000000010000010000000000010000000001011111110001000100011100011111000100011110000000000110000101100001000100000001000001000000000000010101011001000000010000010001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010000011101010110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000010111111101111111111111111111111111110101010110011111111111111101111101111101111111111110011111111111111111011111011111110110011111111111111111100000000000011111111100000111110111110111110111000111110001000111111110000001111001111101011001110001111100010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000100000100010101011001100001011000010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000110010101010000010001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100110010101000100010001100001011000010001111110000000011100010110010110011000010110000100011101111100010001000111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000011101010101111111011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001011111110101010110011110011111010110010111111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101010110000000000001000000010000010000011101010100000100011000010110000100011110000000000110000101100001000100000101100000000000000000010101011001000000010000010001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010000000000000101010110010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010000000000000000000000000000000000000000011001010101000001000110000101100001000110000000000001000000010000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000101010110010111111101111001111101011000010001000001000100010000010110000000011111100000000111000111110001000110000101100001000000000000000100010000000000010000000000010001000001110101011000010110000100011100000000000110000101100001000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111110000000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010000010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010000010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000010000010001111111111111100111110101010111111000000001110001111100010001100001011000010001000001000101010110011000010110000100011001010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100000000000011111111111110001010101010101111111000000011100010110010110011100010110010110010101011001010101100111000101100101100001000100000111010101100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000111011111011100011111000100011101111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111101010110011111011111011111010000010000000000000000000001000000000111111000000001110001111100010001100001010100010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111011111011001010101111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100010111111101010101100111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101111111011101111101111101111111011001111111111111111111111111111111111111111111111111110111111111111111110111111111111111110111111111111111111111111111111111111110010001000101010110011000010110000100011111111110000111110111110111110111100111110101010111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111111111111111011110011111010110010111111101110111110111110111111101100101010110011111111111111101111101111101111111111100011111011111110110011111011111110110011101111101011111110111110111111101100101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111111111111111111111111111111000000000000011111111111111111111111110000011111111111110111111111111111111111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111101011001111111111111111101011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001111111110101100111111111111111111111111111111111111111111111111111111111111111111111110111111111010110011111111111111111010110011111111101011001111111111111111111111111111111110101100111111111010110011111111111111111010110011111111101011000000000000100000100000000000100000000011111111111011111110111111111111111110111111100000001111001111101010101100001010100010001000001000111011111011100011111000100000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110000000000001000000010000010001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000001110101000000000001000000010000010000010001000111111111111110011111010101011111100000000111000111110001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001000001000100000100010000010110000000010000010001111111111111100111110101010111111000000001110001111100010001100001011000010000010001000000000000000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101010110011001010101110001011001011001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000101010110010111111101111001111101011000000000000101010110010000000100000100011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000100010001010101100110000101100001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111010101100111110111110111110100000100010111111101110001111100010001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100111011111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001010101100101111111011110011111010110011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111000000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010111111100011101010111100111110101100001110101000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111011111110111111111111111110001110101010101011001110001011001011001111111111000011111011111011111011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001110111110101010110011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010001000001000101010110011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111110101011001111101111101111101110111110101010110011110011111010110011111111110000111110111111101100111100111110101100100000100011111111111111001111101010101111111111111011111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110010000010001111111111111100111110101010101010110010101011001110001011001011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000101111111010000010001110001111100010001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100111011111010111111101111101111111011000010001000111111111111110011111010101011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100101010110011111111111111101111101111101111111111000011111011111110110011110011111010110011101111101011111110111110111111101100101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111111000000011111111111100111111111111111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111110000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011000010001000100000100010000010110000000010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001011111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100000100010001000001011000000001000001000101111111011100011111000100011111000000000110000101100001000110000101100001000101111111000100010001110001111100010001100101010111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001100101010101010110011100010110010110010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001010101100101010110011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000001000100000100010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000100000100000111010101100001011000010001110111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011001010100010001000110000101100001000111111111110000010001111001111101010101111111000000011110011111010110011000010110000100011001010100010001000110000101100001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111100000100011110011111010101011001010101110111110111100111110101100111111111000001111101111111011001110001011001011000010001000101010110011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000100000100010111111101110001111100010001111111000000011100010110010110011100010110010110010101011001100101010111000101100101100111011111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111011111011111111111111111000100010001010101100110000101100001000111111111000001111101111101111101110001111100010000010001000100000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111011111010101011001111001111101011001100101010110010101011100010110010110011111111000000111100111110101100111000101100101100100000100000111010101100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111100011101010111100111110101100101010110011111111111111101111101111101111111111000011111011111110110011110011111010110010000010000000000000000000001000000000000000000010111111101100001010100010001110000000000011000010110000100000000000100000000011111111111111000000000000000011111110000000111000111110001000111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100011111111111111001111101010101011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111011111000100010001110001111100010000011101010100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011101111101110111110111110111111101100110010101010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111011111110111111111111111110101111111010101011001111001111101011001111111111100011111111111111111011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001010101100101111111011110011111010110000000000001110111110110000101010001000111111100000001111001111101011001100001011000010001110111110001110101011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101111111011111111111111111111111111101010101100111011111011110011111010110011111111111000111111111111111110111100111110101100000000000011111111111110001010101010101111111111100000100011110011111010101011111111000000111100111110101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100000111010100010001000110000101100001000111110000000001110001011001011001000001011000000001110111110101111111011111011111110110010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111100111010101111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100110010101010101011001110001011001011001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010101011001010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011101111101110111110111110111111101100111111111111111111111111111111111111111111111111111011111111111111111011111111111111111011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111101111101111101110001111100010001110111110100000100011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011000010001000111111111111110011111010101010111111100010001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111100011101010111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111011111110111111111111111110111011111010000010001110001111100010001111111111000011111011111011111011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011000011101010101010110011100010110010110011001010101000001000110000101100001000111111000000001110001011001011001100001011000010001000001000000000000000000000100000000010101011001011111110111100111110101100111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100110010101000100010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000100000100000000000000000000010000000000011101010110010101011100010110010110011110000000000110000101100001000100000001000001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010111111101100101010111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100010000010001000001000100000101100000000001110101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001000100010000010001000001011000000001011111110101111111011111011111110110011111110000000111000111110001000111000111110001000111011111010101011001111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011001010101010101100111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001110111110101010110011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001010101100111011111011110011111010110011101111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001110101000111010101110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100001000100010101011001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000011101010111011111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001010101100111111111111111011111011111010101011000010001000110000101100001000111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001111111111110010101011111011111011111011111111110000111110111111101100111100111110101100111011111010000010001110001111100010000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010000010001000001000100000101100000000110010101011101111101111001111101011001111110000000011100011111000100011000010110000100000100010001111111111111100111110101010100000100011111111111111001111101010101111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100100000100011000010110000100010111111100011101010111100111110101100111111100000001111001111101011001100001011000010001010101100101010110011100010110010110010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010000010001011111110111000111110001000001110101011101111101111001111101011001111111100000011110011111010110011100010110010110000100010001111111111111100111110101010001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111011001010100000000000100000001000001000111111100000001110001111100010001110001111100010001110111110101010110011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100100000100000100010001000001011000000001010101100001110101011100010110010110011111000000000110000101100001000110000101100001000000000000010101011001000000010000010000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001111111111111110111110111110101010110010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111110111110111111111111111110100000100010111111101110001111100010001111111111000011111011111011111011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100011111000100011111100000000111000111110001000110000101100001000101010110010101011001110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100001000100000000000000000000010000000000000000000001000100000000000100000000010000000000000100000101100000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000000010000010001111000000000011000010110000100010000000100000100011001010100000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100000000000001111111111111000101010101010000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111100000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010000000000000100000100000000000100000000011111111110011101010111110111110111110111111000000001110001111100010001100001010100010000000000000101010110010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010101011001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111100100010001111001111101010101000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100000000000010000000100000100011001010101100101010111000101100101100111110000000001100001011000010001100001011000010000000000000100000100000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000100000100010101011001100001011000010001000001000001110101011000010110000100011111000000000111000101100101100100000101100000000101010110011101111101111001111101011000010001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011101111101000001000111000111110001000111011111000000000001100001010100010001111110000000011100010110010110011000010110000100000000000001000001000000000001000000000111011111000100010001110001111100010001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111011111011111111111111111011111111111010101100111110111110111110111111111111001111111111111111101111101111111011001010101100101111111011110011111010110000100010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010111111101010101100111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011111111111010101100111110111110111110101111111011001010101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001110111110101010110011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010000010001000101010110011000010110000100000111010101111111111111110111110111110111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100000000000000000000000000000000000000001110111110001110101011110011111010110011110000000000110000101010001000100000001000001000111011111010000010001110001111100010001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010111111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110000111010100000000000100000001000001000111011111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000000000000000100010000000000010000000001010101100000000000010000000100000100011000000000000100000101100000000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111000001000111100111110101010100000100000100010001000001011000000001111110000000011100011111000100011000010110000100010000010000010001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111100000000000000000011111111111111111111111000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111111111111111100000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001011111110000000000011000010101000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001000001000101111111011100011111000100000100010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001011111110000000000011000010101000100011110000000000110000101100001000100000101100000000000000000010101011001000000010000010001011111110101010110011110011111010110011111100000000111000111110001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000000000000000100010000000000010000000001011111110101111111011111011111110110011111100000000111000111110001000110000101010001000001000100010000010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011001010100010001000110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100011001010100010001000110000101100001000111111111100100010001111001111101010101111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111000000000011100010101010101000000000001110111110110000101010001000111111000000001110001011001011001100001011000010000010001000000000000000000000100000000010000010001011111110111000111110001000111100000000001100001011000010001000000010000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010111111101010101100111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011001010101100101010111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111101010110011111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001100101010100000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000101010110010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100000000000010000010000000000010000000001000001000111111111111110011111010101011111000000000111000111110001000100000001000001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000101010110000111010101110001011001011001111111000000011100010110010110011100010110010110010101011000010001000110000101100001000110010101011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100000100010001000001011000000001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000101010110010111111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111110011101010111110111110111110111011111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001011111110101111111011111011111110110000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001010101100101111111011110011111010110011101111100010001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110000100010001100001011000010001110111110001000100011100011111000100011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000001000100010000010110000000011001010100011101010111000101100101100111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111011111000111010101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100000000000011001010101000000010000010001011111110100000100011100011111000100011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001110111110111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110101111111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011000011101010001110101011100010110010110010000010001011111110111000111110001000111111100000001110001011001011001110001011001011001010101100101010110011100010110010110000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110000000000001111111111111000101010101010101010110010000010001100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010000011101010111011111011110011111010110000100010000000000000000000001000000000111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000101111111011001010101111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111110111111101111111111111111101100101010001000100011000010110000100011111111100000111110111110111110111000111110001000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011001010101010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110000000000001010101100100000001000001000111111111100000000001110001010101010101111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001011111110000000000011000010101000100011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100000100010001110111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111101100101010111100111110101100101111111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100000000000010000000100000100000000000001111111111111000101010101010111110000000001100001011000010001100001011000010000010001000100000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111011111011001010101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100001000100011101111101110001111100010001111111111100000100011110011111010101011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001011111110001000100011100011111000100000100010001000001000100000101100000000111110000000001100001011000010001100001011000010000011101010111011111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000001000100010101011001100001011000010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000101010110010000010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010101011001010101100111000101100101100101111111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011000010001000110000101100001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000011101010001000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001110111110101010110011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000000000000001000001000000000001000000000100000100010101011001100001011000010001110000000000011000010110000100000000000100000000010101011001110111110111100111110101100001110101000000000001000000010000010001111110000000011100011111000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001000001000000000000000000000100000000000100010000000000000000000001000000000100000000000001000001011000000000000000000000000001010101100100000100011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001111110000000000000000000000001110000000000011000010110000100000000000100000000011000000000000100000101100000000000000001000000000111111111111111110000000000000000000000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111111111111111111111111111000000000000000001111111111111111111111100000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111110000001111100011001011000010001100101100001000111100001100101100001000100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111100000011111000110010110000100011001011000010001111000011001011000010001000101100000000001000100011111111111111001111101010101010101100001000100011000010110000100011111110000000111100111110101100110000101100001000101010110011111111111111101111101111101010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110010101011001010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100000000000010101011001000000010000010001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000111011111011101111101111101111111011001100101010001110101011100010110010110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011101111101110111110111110111111101100001000100010101011001100001011000010001111111100000011110011111010110011100011111000100000100010000011101010110000101100001000111011111011001010101111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001000001000001000100010000010110000000011001010101100101010111000101100101100111110000000001100001011000010001100001011000010001010101100101010110011100010110010110000100010000000000000000000001000000000111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101111111000000000001100001010100010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000001000100000100010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000000000000000101010110010000000100000100010000010001110111110111000111110001000111110000000001100001011000010001100001011000010001110111110000000000011000010101000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000101010110010000010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000001110101011001010101110001011001011001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010000010001010101100110000101100001000101010110000111010101110001011001011001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000101111111011100011111000100011001010100010001000110000101100001000111111000000001110001011001011001100001011000010001100101010111011111011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000000000001100101010100000001000001000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100011101111101111111111111111111111111110101010110010101011001110001011001011001111111111000011111011111011111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001010101100101010110011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011000010001000001110101011000010110000100010101011001111111111111110111110111110111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110011111111111111101111101111101011111110101010110011110011111010110011111111110000111110111111101100111100111110101100101111111010000010001110001111100010001110111110100000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010111111100011101010111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110010111111100000000000110000101010001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110011001010101110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100001000100010101011001100001011000010000000000000101111111011000010101000100011111000000000111000101100101100100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000110010101010111111101111001111101011001111111000000011110011111010110011000010110000100010101011001111111111111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011000010001000100000100010000010110000000010000010001011111110111000111110001000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000001000100000111010101100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000101111111011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001000001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000001000100010000010001000001011000000000000000000000000000000000000000000000010000000000000000000001000000000000000001000000000111011111000100010001110001111100010001111111111101010110011111011111011111011111111100000111100111110101100111100111110101100111111111110000000000000000000111110000000001110001111100010001000000010000010001111100000000011100011111000100010000000100000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010000010001010101100110000101100001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100010000010000010001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000011101010001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001110111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010000010001011111110111000111110001000100000100011111111111111001111101010101111111100000011110011111010110011100010110010110010101011000010001000110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001110111110111011111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011000011101010111011111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000100000100010101011001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000101010110011001010101110001011001011001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100110010101000111010101110001011001011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111101111101111111111111111101000001000101010110011000010110000100011111111100000111110111110111110111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100101111111010000010001110001111100010001111111000000011100010110010110011100010110010110011101111101010101100111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000010001000101010110011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111110000010001111111111111100111110101010111111111111001111111111111111101111101111101111101111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000101010110010000010001100001011000010000011101010101111111011110011111010110011111110000000111100111110101100110000101100001000101010110010000010001100001011000010001000001000110010101011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001100101010111111111111111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011000010001000111111111111110011111010101000111010101011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110011101111101111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000101010110010000010001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010101011001010101100111000101100101100001110101000000000001000000010000010001111100000000011000010110000100011000010110000100000100010001000001000100000101100000000001000100000000000000000000010000000001100000000000010000010110000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001010101100100000100011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001000001000100000100010000010110000000000100010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000010101011000000000000100000001000001000100000100010111111101110001111100010001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000000000000100000100000000000100000000011101111100000000000110000101010001000111000000000001100001011000010000000000010000000000010001000100000100010000010110000000010000010000000000000000000001000000000110000000000001000001011000000000000000010000000001111110000000000000000000000001110000000000010000010110000000010000010110000000011000000000000100000101100000000000000001000000000111111111111111100000000000000000000000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111111111111111111000000000000000000000000001111111111111111111000000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000011111111111111111100000000000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000000000000010000010000000000010000000001100101010101010110011100010110010110011110000000000110000101100001000100000001000001000000000000000111010101000000010000010001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000000100010000010001000100000101100000000000000000011101111101100001010100010001111000000000011000010110000100010000010110000000011101111100000000000110000101010001000000000000011111111111110001010101010101111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100000000000001010101100100000001000001000000000000010000010000000000010000000001100000000000010000010110000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111000000000000000000000011111111111111111111100000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001000001000001000100010000010110000000010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101111111011001010101111001111101011001000001000000000000000000000100000000011111000000000111000111110001000100000001000001000111011111011101111101111101111111011000011101010101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000101111111011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001100101010000000000010000000100000100000000000001000001000000000001000000000110000000000001000001011000000000000000010000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000111000111110001000100000001000001000101010110000000000001000000010000010001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000101111111011101111101111101111111011001010101100001110101011100010110010110011111111100000111100111110101100111100111110101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010000010000010001000100000101100000000100000100011111111111111001111101010101111110000000011100011111000100011000010110000100011101111101010101100111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000011101010101111111011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001110111110001000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110111011111011111111111111111111111111101111111111110011111111111111111011111011111110110010101011001010101100111000101100101100001110101000000000001000000010000010001111100000000011000010110000100011000010110000100011111111111111111100000000000011111111100000111110111110111110111000111110001000111111110000001111001111101011001110001111100010001110111110001000100011100011111000100011101111100011101010111100111110101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111011111111111110111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111011111010111111101111101111111011001011111110000000000011000010101000100011111111000000111100111110101100111000111110001000001000100010111111101110001111100010001100101010100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011000011101010111000101100101100111011111000100010001110001111100010001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000100000100000111010101100001011000010001111100000000011100010110010110010000010110000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100011101111101110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111011111010101011001111001111101011001000001000001110101011000010110000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110011101111100011101010111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001011111110101010110011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001110111110111111111111111111111111111010101011001111111111111110111110111110111111111111001111111111111111101111101111111011001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000101010110011111111111111101111101111101110111110001110101011110011111010110011111111110000111110111111101100111100111110101100100000100010101011001100001011000010001000001000111111111111110011111010101011111110000000111100111110101100110000101100001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110111111111111111111111111111000100010001010101100110000101100001000111111111000001111101111101111101110001111100010001110111110101111111011111011111110110000100010001111111111111100111110101010111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110011101111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010111111101011111110111110111111101100101111111011101111101111101111111011001111111111100011111011111110110011111011111110110010101011001011111110111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001110111110001110101011110011111010110011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001000001000101010110011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111110000000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110000100010001010101100110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001100101010001000100011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000000000000000100000100000000000100000000000100010000010001000100000101100000000110000000000001000001011000000000000000010000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110111110001000111111101111111110101100110010110000100011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111111111111111111110111111111111111111111111111111111010110011101111100010001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101111100010001100101100001000000000000010111111101100101010001000101010110011111111111111111110111110101010110010101011001110101100101100111111111100000000001110101010101010000000000011101111101100101010001000101010110011101111101111111110101100111111111110101011001111111110111110101010110011101111101111111110101100101010110011111111111111111110111110101111111011101111101111111111101100101010110000100010001100101100001000101010110010000010001100101100001000100000100010000010001000101100000000100000100010000010001000101100000000101010110000111010101110101100101100110010101010101011001110101100101100101111111011101111101111111111101100101111111011101111101111111111101100111111111111101111101111111111111110100000100011101111101110111110001000110010101010101011001110101100101100101111111010111111101111111111101100111011111010111111101111111111101100100000100010101011001100101100001000101010110010000010001100101100001000111011111011111111111111111111111110101010110011101111101111111110101100110010101000100010001100101100001000110010101010101011001110101100101100111011111010101011001111111110101100100000100011101111101110111110001000111011111011111111111111111111111110110010101010101011001110101100101100001000100010101011001100101100001000100000100011101111101110111110001000110010101000000000001000001000001000101010110000100010001100101100001000101010110010101011001110101100101100111011111010111111101111111111101100111011111010111111101111111111101100110010101011101111101111111110101100111111111100000000001110101010101010101111111010101011001111111110101100000000000011111111111110101010101010000000000010111111101100101010001000111011111010101011001111111110101100110010101011101111101111111110101100110010101010101011001110101100101100101010110010111111101111111110101100110010101011101111101111111110101100111011111000100010001110111110001000110010101010101011001110101100101100000000000010101011001000001000001000101010110010000010001100101100001000000000000010101011001000001000001000101010110010101011001110101100101100100000100011001010101100101100001000000000000010101011001000001000001000101111111011101111101111111111101100000000000010101011001000001000001000100000100011101111101110111110001000100000100010101011001100101100001000100000100010101011001100101100001000100000100011111111111111111110101010111011111011111111111111111111111110110010101010101011001110101100101100111111111100100010001111111110101010101010110010000010001100101100001000100000100011101111101110111110001000111111111100100010001111111110101010100000100000000000000000001000000000001000100010000010001000101100000000101111111010111111101111111111101100101010110011101111101111111110101100111111111110101011001111111110111110111111111111101111101111111111111110001000100011111111111111111110101010100000100011111111111111111110101010100000100010101011001100101100001000110010101000100010001100101100001000101010110011101111101111111110101100001000100010101011001100101100001000101010110010000010001100101100001000101010110011101111101111111110101100111011111010000010001110111110001000111011111010000010001110111110001000111111111110101011001111111110111110101010110011101111101111111110101100111111111110000010001111111110101010101111111010000010001110111110001000001110101010101011001110101100101100111111111111001010101111111110111110111011111010111111101111111111101100110010101010101011001110101100101100110010101000100010001100101100001000000000000011111111111110101010101010100000100000100010001000101100000000101010110011001010101110101100101100111111111111101111101111111111111110101111111010000010001110111110001000101111111011101111101111111111101100111011111010111111101111111111101100100000100010111111101110111110001000100000100010000010001000101100000000100000100010101011001100101100001000101010110011111111111111111110111110101111111000000000001100101010001000100000100000111010101100101100001000101010110010000010001100101100001000111011111010101011001111111110101100101010110010111111101111111110101100101010110010101011001110101100101100100000100010101011001100101100001000001000100010101011001100101100001000101010110000000000001000001000001000001000100011111111111111111110101010001000100011101111101110111110001000100000100010000010001000101100000000101010110010101011001110101100101100110010101010101011001110101100101100101010110010111111101111111110101100100000100011111111111111111110101010100000100000100010001000101100000000111111111111101111101111111111111110101010110011101111101111111110101100101010110010111111101111111110101100110010101010101011001110101100101100101111111010101011001111111110101100101010110010111111101111001111101011000011101010111011111011110011111010110011111111100000111110111111101100111000101100101100001110101011101111101111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010101011001110111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100000100010001100101010110000101100001000111011111000100010001110001111100010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000001110101010111111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100100000100011101111101110001111100010000011101010110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010000010001100101010110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011101111101000001000111000111110001000101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111000000000000000011111110000000111000111110001000111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001000001000111011111011100011111000100011001010100011101010111000101100101100111111100000001110001011001011001110001011001011000010001000111111111111110011111010101000000000001100101010100000001000001000111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100001000100010000010001000001011000000001000001000001110101011000010110000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000010001000101010110011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001000001000110010101011000010110000100011001010101000001000110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101111111010000010001110001111100010000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000101010110010111111101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010111111101110111110111110111111101100100000100010101011001100001011000010001111111100000011110011111010110011100011111000100000000000001110111110110000101010001000111011111011001010101111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001110111110111111111111111111111111111011001010101010101100111000101100101100111111111100001111101111101111101111001111101011001010101100101010110011100010110010110011101111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000111010101000001000110000101100001000001110101000100010001100001011000010001111100000000011100010110010110010000010110000000011101111101110111110111110111111101100111011111000000000001100001010100010001111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001011111110100000100011100011111000100000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001100101010101010110011100010110010110010000010001100101010110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101111111011101111101111101111111011000000000000101010110010000000100000100011111110000000111000111110001000111000111110001000100000100010111111101110001111100010001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010000010001011111110111000111110001000111011111011111111111111111111111111101111111111000011111011111011111011110011111010110000111010101010101100111000101100101100110010101000000000001000000010000010001111100000000011000010110000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111010101011001111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100000000000011101111101100001010100010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011101111101110111110111110111111101100001110101010101011001110001011001011001111111110000011110011111010110011110011111010110000000000001100101010100000001000001000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001000001000000000000000000000100000000011111111111010101100111110111110111110111111000000001110001111100010001100001010100010001010101100001110101011100010110010110011111111111011111110111111111111111110111111111100001111101111101111101111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000001110101000000000001000000010000010000010001000000000000000000000100000000011000000000000100000101100000000000000001000000000111111111110101011001111101111101111101000001000101111111011100011111000100011111111100000111100111110101100111100111110101100111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011100011111000100010000000100000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010000010001011111110111000111110001000111111100000001110001011001011001110001011001011000010001000101010110011000010110000100000100010000011101010110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101110111110101010110011110011111010110011111111110000111110111111101100111100111110101100101111111010000010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000100010001110111110111000111110001000111011111010000010001110001111100010001111111000000011100010110010110011100010110010110011101111101111111111111111111111111110101010110011101111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011000010001000101111111011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001000001000001000100010000010110000000010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010101011001110111110111100111110101100101111111011101111101111101111111011001111111111000011111011111110110011110011111010110010101011001111111111111110111110111110001000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001010101100111111111111111011111011111010111111101111111111111111111111111110111111111111001111111111111111101111101111111011000011101010111111111111111011111011111010101011001110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111100000001111111111110011111111111111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111100000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100100000100010111111101110001111100010001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000111111111110101011001111101111101111101110111110001110101011110011111010110011111111110000111110111111101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100010101011001111111111111110111110111110101010110011111111111111101111101111101111111111100011111011111110110011111011111110110010101011001010101100111000101100101100001000100011001010101100001011000010001111110000000011100010110010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100100000100010101011001100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011001010100000000000100000001000001000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000000000000001000001000000000001000000000111111111110111111101111111111111111101111111000000011110011111010101011000010101000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000010001000100000100010000010110000000010101011000011101010111000101100101100111110000000001100001011000010001100001011000010000010001000101010110011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000000000000011111111111110001010101010101010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101111111000000000001100001010100010001110111110000000000011000010101000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000000000000001000100000000000100000000010101011001010101100111000101100101100111100000000001100001011000010001000000010000010001010101100101010110011100010110010110000111010100011101010111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000100000100011101111101110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000100000100000100010001000001011000000001010101100111011111011110011111010110011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000000100010001000001000100000101100000000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100011001010101110111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000011101010100000100011000010110000100000100010000000000000000000001000000000111000000000001100001011000010000000000010000000001100101010001000100011000010110000100011111111111100101010111110111110111110111111110000001111001111101011001110001111100010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100110010101011111111111111101111101111101111111111000011111011111110110011110011111010110010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001000001000101111111011100011111000100000111010101000001000110000101100001000111111000000001110001011001011001100001011000010000011101010000000000010000000100000100011101111101100101010111100111110101100111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111110001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000110010101000111010101110001011001011000011101010110010101011100010110010110011111110000000111000101100101100111000101100101100111111111100100010001111001111101010101100101010111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011101111101111111111111111111111111110101010110011101111101111001111101011001111111111100011111111111111111011110011111010110011001010101010101100111000101100101100101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111100000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111000111010101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000110010101010101011001110001011001011001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010111111101011111110111110111111101100111011111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111011111110111111111111111110111111111110101011001111101111101111101111111111110011111111111111111011111011111110110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001011111110101010110011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010001011111110000000000011000010101000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101111111010111111101111101111111011001111111111001000100011110011111010101011111111110000111110111111101100111100111110101100110010101011001010101110001011001011000000000000101111111011000010101000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000011101010100000100011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001100101010000000000010000000100000100010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100000100010001000001011000000001011111110101111111011111011111110110011111110000000111000111110001000111000111110001000110010101010101011001110001011001011000011101010111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010000010001010101100110000101100001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000000111010101110111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001011111110101010110011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011000011101010101010110011100010110010110000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000000000001110111110110000101010001000101111111000100010001110001111100010001111110000000011100010110010110011000010110000100000100010001110111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100101111111011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001010101100000000000010000000100000100000100010001000001000100000101100000000111000000000001000001011000000001000001011000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000000000000010000010000000000010000000001000001000001000100010000010110000000011000000000000100000101100000000000000001000000000001000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100000111010100010001000110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100011101111101100101010111100111110101100000000000010101011001000000010000010001111110000000011100011111000100011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001000100010000010001000001011000000001000001000110010101011000010110000100011110000000000110000101100001000100000101100000000100000100010000010001000001011000000000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011101111101010101100111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100000100010001110111110111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001000001000001110101011000010110000100011111111111100101010111110111110111110111111110000001111001111101011001110001111100010001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100010101011001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000101111111010101011001111001111101011001100101010101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001000001000101111111011100011111000100011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111101010110011111011111011111011101111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001011111110110010101011110011111010110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110010000010001000001000100000101100000000100000100010000010001000001011000000001110000000000010000010110000000010000010110000000010101011000011101010111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001011111110111011111011111011111110110010111111101000001000111000111110001000111111111000001111001111101011001111001111101011001100101010100000100011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000100000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111011111110111111111111111110101010110011111111111111101111101111101111111111110011111111111111111011111011111110110011111111111111111110000000000011111111110000111110111110111110111100111110101100111111110000001111001111101011001110001111100010001110111110101010110011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001010101100111011111011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111000100010001110001111100010000011101010110010101011100010110010110011111110000000111000101100101100111000101100101100101010110000111010101110001011001011000011101010001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100010101011001011111110111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111011111011101111101111101111111011001110111110001110101011110011111010110011111111110000111110111111101100111100111110101100101010110010111111101111001111101011001111111111100000100011110011111010101011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010000010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100010101011001111111111111110111110111110111111111111001010101111101111101111101111111111100011111011111110110011111011111110110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011000000000000001110101010000000100000100010000010000010001000100000101100000000111000000000001000001011000000001000001011000000000010001000101010110011000010110000100000100010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000001110101010000010001100001011000010001010101100001110101011100010110010110011111100000000111000101100101100110000101100001000111011111010111111101111101111111011000011101010101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001000001000100000100010000010110000000010101011001100101010111000101100101100111110000000001100001011000010001100001011000010001010101100001000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110011101111101111001111101011000011101010001000100011000010110000100011111110000000111100111110101100110000101100001000100000100010101011001100001011000010001111111111100000100011110011111010101011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010000010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100010000010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111100000100011110011111010101010111111100011101010111100111110101100111111111000001111101111111011001110001011001011000010001000001000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100010111111101010101100111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100111111111111111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100100000100010111111101110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001111111111101111111011111111111111111011111111000000111100111110101010111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000100010000010001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011101111101010101100111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000100000100000000000000000000010000000001000001000111111111111110011111010101011111000000000111000111110001000100000001000001000000000000000000000000000000000000000000010001000001000100010000010110000000010000000000000000000001000000000000000001000000000111111100000000000000000000000111000000000001100001011000010000000000010000000001110000000000011000010110000100000000000100000000000100010000010001000100000101100000000101111111010000010001110001111100010001111100000000011000010110000100011000010110000100010111111101010101100111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111001000100011110011111010101000111010101111111111111110111110111110111111111100001111101111111011001111001111101011000010001000101010110011000010110000100011111111111111111111111111111111111111111111111100001111101111101111101111001111101010101111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100101010110000100010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000101111111000111010101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001010101100101111111011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001000001000101111111011100011111000100010101011000000000000100000001000001000111110000000001100001011000010001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110010111111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100001110101000100010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011101111101010101100111100111110101100110010101011101111101111001111101011001111111110000011111011111110110011100010110010110010101011001011111110111100111110101100111111111100100010001111001111101010101111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011000010001000110010101011000010110000100011101111101100101010111100111110101100111111100000001111001111101011001100001011000010000010001000101111111011100011111000100011001010101010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100111111111110111111101111111111111111101111111111100011111111111111111011110011111010110010101011001000001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011000010001000100000100010000010110000000011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111101010110011111011111011111000100010001000001000100000101100000000111111100000001110001111100010001110001111100010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110000100010001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000000000000011101111101100001010100010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000000000000010001000000000001000000000101010110011101111101111001111101011001111100000000011100011111000100010000000100000100000100010000010001000100000101100000000100000100000000000000000000010000000001100000000000010000010110000000000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111110000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000001000100010101011001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000001000100011001010101100001011000010001110111110001000100011100011111000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001000001000110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000000000000000000000000000000000000000000100000100000111010101100001011000010001100000000000010000000100000100000000000100000000011111100000000000000000000000011100000000000100000101100000000100000101100000000110000000000001000001011000000000000000010000000001111111111111111111000000000000000000000000000000000000000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000111111111111111111111111111111111111111110000000000000000000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001010101100100000100011000010110000100011111111111111111111111111111111111111111111111100001111101111101111101111001111101010101010101100101111111011110011111010110011001010101111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111011111011001010101111001111101011001111111111101111111011111111111111111011111111111000111111111111111110111100111110101100101111111010101011001111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001100101010111111111111111011111011111010111111101110111110111110111111101100111111111110001111101111111011001111101111111011001010101100111011111011110011111010110000111010101110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100101010110011111111111111101111101111100010001000000000000000000000100000000011111100000000111000111110001000110000101010001000001000100010101011001100001011000010001111111111101111111011111111111111111011111111100000111110111110111110111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010101011001000001000110000101100001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000010101011000000000000100000001000001000111000000000001000001011000000001000001011000000000000000000101010110010000000100000100010111111101000001000111000111110001000111110000000001100001011000010001100001011000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010111111101010101100111100111110101100001000100000111010101100001011000010001111111000000011110011111010110011000010110000100011101111101000001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100011101111101000001000111000111110001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111110000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000000000000010000010000000000010000000001100101010001000100011000010110000100011100000000000110000101100001000000000001000000000001110101011101111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100011101111101110111110111110111111101100001110101000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111010101100111110111110111110101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000101111111011101111101111101111111011001011111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110000000000001110111110110000101010001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000010101011000011101010111000101100101100100000100011101111101110001111100010001111111000000011100010110010110011100010110010110011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001011111110111111111111111111111111111000000000001100101010100000001000001000111111110000001111001111101010101110001111100010001010101100101010110011100010110010110011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100000000000011111111111110001010101010101010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111011111011101111101111101111111011001100101010000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010000000000000101010110010000000100000100010111111101000001000111000111110001000111110000000001100001011000010001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111011111000111010101111001111101011000011101010101111111011110011111010110011111111100000111110111111101100111000101100101100001110101011111111111111101111101111101011111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011101111101000001000111000111110001000100000100000111010101100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100001000100000000000000000000010000000001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000011101010000000000010000000100000100010101011000010001000110000101100001000111100000000001100001011000010001000001011000000000011101010001000100011000010110000100011001010100000000000100000001000001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010001000001000100000101100000000101010110000000000001000000010000010001110000000000010000010110000000010000010110000000010111111100000000000110000101010001000101111111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000010001000100000100010000010110000000010000010001010101100110000101100001000111100000000001100001011000010001000001011000000000010001000101111111011100011111000100000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111100000000000000000000001111111111111111111110000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000001000100011001010101100001011000010001011111110111011111011111011111110110011111111000000111100111110101100111000111110001000101010110011111111111111101111101111101100101010111111111111111011111011111011111111111000111110111111101100111110111111101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111100101010111110111110111110111011111000100010001110001111100010001111111110000011110011111010110011110011111010110010111111101100101010111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110011111111111111101111101111101011111110111011111011111011111110110011111111111000111110111111101100111110111111101100101010110011101111101111001111101011000010001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110010101011001110111110111100111110101100001000100000000000000000000010000000001111100000000011100011111000100010000000100000100000100010001010101100110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000000000000101010110010000000100000100011111111111010101100111110111110111110111111100000001110001111100010001110001111100010001011111110101010110011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101111111010000010001110001111100010000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000101010110000100010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001000001000101010110011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000101010110011101111101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000001110101010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111110000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000000000000001000001000000000001000000000110010101000100010001100001011000010001110000000000011000010110000100000000000100000000010101011001010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111110010101011111011111011111000111010100011101010111000101100101100111111111000001111001111101011001111001111101011001010101100100000100011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001000001000110000101100001000100000100011001010101100001011000010001111100000000011100010110010110010000010110000000010000010000010001000100000101100000000101010110011101111101111001111101011001111110000000011100011111000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001010101100101111111011110011111010110010000010001111111111111100111110101010111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000100000100010000010001000001011000000001100101010100000100011000010110000100011110000000000110000101100001000100000101100000000110010101010111111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100000100010001110111110111000111110001000001110101011001010101110001011001011001111111000000011100010110010110011100010110010110010000010001000001000100000101100000000111011111010101011001111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111011111000111010101111001111101011001111111111101111111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111110111110111111111111111110101010110000100010001100001011000010001111111110000011111011111011111011100011111000100010101011001110111110111100111110101100101111111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111110000000000000000000011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011111111101011001111111011111111101011001100101100001000111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111110111111111010110011001011000010001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001011111110110010101011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011000000000000111011111011000010101000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101010110011111111111111101111101111101010101100101010110011100010110010110011111111100000111100111110101100111100111110101100101111111011101111101111101111111011001110111110001000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001011111110101010110011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001000001000101010110011000010110000100000000000001110111110110000101010001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000001000100010111111101110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111011111010000010001110001111100010001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011101111100011101010111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100011101111100010001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001110111110101111111011111011111110110011111111111110111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011101111101011111110111110111111101100101111111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111010101100111110111110111110101111111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001010101100101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110000111010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100100000100010000010001000001011000000001110111110100000100011100011111000100011111000000000110000101100001000110000101100001000001000100010101011001100001011000010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010001100101010110000101100001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100010000010001011111110111000111110001000101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000100000100010111111101110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100101111111010111111101111101111111011001011111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110010101011001100101010111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110010000010000010001000100000101100000000001110101011101111101111001111101011001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001011111110100000100011100011111000100010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001000001000111111111111110011111010101011111111110000000000111000101010101010111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001110101011111111111111101111101111101111111111101010110011111011111011111011111111111000111110111111101100111110111111101100101010110000111010101110001011001011001000001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110011111111110010001000111100111110101010111111110000001111001111101011001110001011001011001010101100101111111011110011111010110000000000000000000000000000000000000000111100000000001100001010100010001000000010000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101010110010111111101111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100001000100010111111101110001111100010000011101010111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010111111101000001000111000111110001000001110101011001010101110001011001011001111111000000011100010110010110011100010110010110010111111100010001000111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111101111111011111111111111111011001010101110111110111100111110101100111111111110001111111111111111101111001111101011001010101100101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111010101100111110111110111110111111111100100010001111001111101010101111111111000011111011111110110011110011111010110010101011001111111111111110111110111110111011111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011001000001000111011111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100100000100011111111111111001111101010101011111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110010000010001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011001100101010111000101100101100101010110011111111111111101111101111101111111110000011110011111010110011110011111010110010101011001110111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001010101100000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111000001000111100111110101010001000100000100010001000001011000000001111110000000011100011111000100011000010110000100000000000001110111110110000101010001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001110111110100000100011100011111000100010000010000011101010110000101100001000111111000000001110001011001011001100001011000010001000001000111011111011100011111000100000100010000000000000000000001000000000111100000000001100001011000010001000000010000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000100000100011001010101100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000101010110000100010001100001011000010001100101010000000000010000000100000100011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000000010001000100000100010000010110000000000100010000010001000100000101100000000111000000000001000001011000000001000001011000000001011111110000000000011000010101000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100001000100000000000000000000010000000000000000000101111111011000010101000100011100000000000110000101100001000000000001000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111100000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111000000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000010000010001110111110111000111110001000001000100011001010101100001011000010001111110000000011100010110010110011000010110000100000111010100010001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010001010101100110010101011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010111111100000000000110000101010001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100010000010001000001000100000101100000000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001100101010100000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001100101010001000100011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110011001010101110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000001000100011101111101110001111100010000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100010101011001110111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101111111000100010001110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100101010110000100010001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011000000000000100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010000010001010101100110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001011111110111111111111111111111111111010000010001100101010110000101100001000111111111000001111101111101111101110001111100010000011101010101111111011110011111010110011101111101100101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111011111010111111101111101111111011000010001000111011111011100011111000100011111111100000111100111110101100111100111110101100101010110011001010101110001011001011001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001011111110100000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001000001000111011111011100011111000100010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000100000100011001010101100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111011111010111111101111101111111011001000001000101111111011100011111000100011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110010000010000010001000100000101100000000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000011101111101000001000111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111000000000011100010101010101010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001010101100101111111011110011111010110000111010101110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010000010001000001000100000101100000000101010110011001010101110001011001011001111100000000011000010110000100011000010110000100010101011000000000000100000001000001000001000100000111010101100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000101010110011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001011111110111011111011111011111110110011111111110000000000111000101010101010111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101111111011111111111111111111111111101000001000101010110011000010110000100011111111100000111110111110111110111000111110001000001000100000111010101100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100100000100011101111101110001111100010001111111000000011100010110010110011100010110010110010101011001110111110111100111110101100111011111011111111111111111111111111101111111111100011111111111111111011110011111010110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001110101010101011001110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100101010110011101111101111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011001010101010101100111000101100101100101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011001010101111111111111110111110111110001110101011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011000000000000110010101010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010000000000000110010101010000000100000100000100010001100101010110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111011111011101111101111101111111011001010101100101010110011100010110010110011111111100000111100111110101100111100111110101100001000100011101111101110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100101111111011110011111010110010000010001100101010110000101100001000111111100000001111001111101011001100001011000010001010101100101010110011100010110010110000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010000010001000001110101011000010110000100011111000000000111000101100101100100000101100000000100000100010111111101110001111100010001000001000110010101011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010000010000011101010110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000010111111100010001000111000111110001000101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001011111110000000000011000010101000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001100101010101111111011110011111010110000111010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010000010001000001000100000101100000000100000100011001010101100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001010101100101010110011100010110010110011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001011111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000000000000010000010000000000010000000000011101010111111111111111011111011111011111100000000111000111110001000110000101010001000000000000011111111111110001010101010101110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001111111111111110111110111110001000100010111111101110001111100010001111111110000011110011111010110011110011111010110010111111101000001000111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100110010101010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100001000100011111111111111001111101010100000000000110010101010000000100000100011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010000011101010110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001000001000001000100010000010110000000010111111101110111110111110111111101100111111100000001110001111100010001110001111100010001011111110101010110011110011111010110010111111100000000000110000101010001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111110000010001111001111101010101010101100000000000010000000100000100011111100000000111000111110001000110000101100001000101010110010101011001110001011001011000010001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110011001010101110111110111100111110101100111111111000001111101111111011001110001011001011001100101010001000100011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001111111111000000000011100010101010101011111110000000111000101100101100111000101100101100101111111011101111101111101111111011001110111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010111111100010001000111000111110001000101111111000111010101111001111101011001111111100000011110011111010110011100010110010110000100010001010101100110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000011101010001000100011000010110000100011111111110010001000111100111110101010111111100000001111001111101011001100001011000010000011101010001000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001010101100110000101100001000000000000010000010000000000010000000001110000000000011000010110000100000000000100000000010000010000000000000000000001000000000001000100010101011001100001011000010001110000000000011000010110000100000000000100000000011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000000000000000101010110010000000100000100010000010001010101100110000101100001000111100000000001100001011000010001000001011000000000011101010001000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111110000000000000000000000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111111100000000000000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011001011000010001100101100001000111100001100101100001000100010110000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000110010110000100011001011000010001111000011001011000010001000101100000000111011111011101111101111101111111011000011101010100000100011000010110000100011111111000000111100111110101100111000111110001000111011111010101011001111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000100010001000001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000000000000000011101010100000001000001000111111111110000010001111001111101010101111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011000000000000001000100000000000100000000011110000000000110000101100001000100000001000001000101111111010111111101111101111111011001011111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011100011111000100011100011111000100010101011001000001000110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000010101011001100101010111000101100101100000000000011101111101100001010100010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111100000011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001000001000101010110011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010000010001000100000100010000010110000000011001010101111111111111110111110111110111111100000001110001111100010001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111011111010000010001110001111100010001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111110101011001111101111101111101100101010100000100011000010110000100011111111000000111100111110101100111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100111111111111111011111011111000000000001000001000000000001000000000111111000000001110001111100010001100001010100010001010101100111011111011110011111010110000111010101110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110011111111111111101111101111100010001000001000100010000010110000000011111110000000111000111110001000111000111110001000101010110010111111101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010111111101110111110111110111111101100000000000010000010000000000010000000001111110000000011100011111000100011000010101000100010000010001010101100110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000000000000101111111011000010101000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010001110111110101010110011110011111010110011101111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110000100010001011111110111000111110001000101111111010000010001110001111100010001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001110111110101111111011111011111110110000111010101011111110111100111110101100111111111100001111101111111011001111001111101011000011101010111111111111111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100001000100000000000000000000010000000000000000000101010110010000000100000100011000000000000100000101100000000000000001000000000101111111010101011001111001111101011001011111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100000000000000011101010100000001000001000101111111000000000001100001010100010001111000000000011000010110000100010000010110000000010101011000010001000110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000000000000000000000000000000000000000000010001000001110101011000010110000100011000000000000100000001000001000000000001000000000100000100000100010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000000100010001011111110111000111110001000111011111011101111101111101111111011001111111110000011110011111010110011110011111010110000100010000010001000100000101100000000100000100011111111111111001111101010101111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001110111110101010110011110011111010110010000010000000000000000000001000000000111110000000001110001111100010001000000010000010001011111110001000100011100011111000100000111010100000000000100000001000001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000001000100000111010101100001011000010001000001000110010101011000010110000100011111000000000111000101100101100100000101100000000100000100010111111101110001111100010001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000010001000000000000000000000100000000010000010001011111110111000111110001000111100000000001100001011000010001000000010000010001010101100000000000010000000100000100010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101010110000000000001000000010000010001110111110111111111111111111111111111011111111000000111100111110101010111000111110001000110010101010101011001110001011001011000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111101010101100111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100010101011001111111111111110111110111110001000100011001010101100001011000010001111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110001000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001000001000001000100010000010110000000010000010000000000000000000001000000000110000000000001000001011000000000000000010000000001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000100010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000000100010000000000000000000001000000000101010110010000010001100001011000010001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000000010001000111011111011100011111000100010111111101111111111111111111111111110111111111100001111101111101111101111001111101011000000000000101010110010000000100000100000000000001010101100100000001000001000111000000000001000001011000000001000001011000000001111111111111100000000000000001111111000000011100011111000100011100011111000100011111100000000111000111110001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000100000100011101111101110001111100010001110111110110010101011110011111010110011111111000000111100111110101100111000101100101100101111111010000010001110001111100010001100101010111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011101111101100101010111100111110101100000000000000100010000000000010000000001111100000000011100011111000100010000000100000100000111010101110111110111100111110101100101111111000111010101111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111011111010000010001110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100101010110011101111101111001111101011000010001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100111011111000000000001100001010100010001111110000000011100010110010110011000010110000100011111111111010101100111110111110111110101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001010101100000000000010000000100000100010101011000011101010111000101100101100111110000000001100001011000010001100001011000010000010001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000111011111011101111101111101111111011000000000000101111111011000010101000100011111111000000111100111110101100111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100100000100011000010110000100010000010001100101010110000101100001000111110000000001110001011001011001000001011000000000010001000101010110011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000100000100010101011001100001011000010001110111110101111111011111011111110110011111111000000111100111110101100111000111110001000100000100010101011001100001011000010001000001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000000000001000001000000000001000000000111111111110101011001111101111101111101111110000000011100011111000100011000010101000100000100010001100101010110000101100001000110010101011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110000000000011000010101000100000111010100011101010111000101100101100111111000000001110001011001011001100001011000010001011111110101010110011110011111010110000000000001000001000000000001000000000111110000000001110001111100010001000000010000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011001010101011111110111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100000100010001010101100110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110000100010000010001000100000101100000000111111000000001110001111100010001100001011000010000010001000001110101011000010110000100011001010100011101010111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101010110010000010001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000101010110011101111101111001111101011001110111110101111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110000111010101010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100101111111010111111101111101111111011001010101100101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010000010001011111110111000111110001000111011111010000010001110001111100010001111111000000011100010110010110011100010110010110000111010100000000000100000001000001000111011111011001010101111001111101011001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111101111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011000010001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001000001000101010110011000010110000100000000000001110111110110000101010001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001110101010101011001110001011001011000010001000001110101011000010110000100011111100000000111000101100101100110000101100001000101111111010000010001110001111100010000010001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000000010001000100000100010000010110000000010101011001100101010111000101100101100111110000000001100001011000010001100001011000010001110111110101010110011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000100000100011111111111111001111101010101011111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111100000000000110000101010001000110010101000111010101110001011001011001111110000000011100010110010110011000010110000100000000000001110111110110000101010001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001010101100001000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000010101011000000000000100000001000001000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000010000010001000001000100000101100000000101111111000000000001100001010100010001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000000000000000100000100000000000100000000010000010000010001000100000101100000000110000000000001000001011000000000000000010000000000010001000101111111011100011111000100000000000001011111110110000101010001000111111000000001110001011001011001100001011000010001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111000000000000000000000000000000000000000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111110000000000000000000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000011111111111111111110000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000000000000011001010101000000010000010001110111110101010110011110011111010110011111100000000111000111110001000110000101100001000001000100010000010001000001011000000001100101010101010110011100010110010110011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001000001000110000101100001000101111111000111010101111001111101011001111111000000011110011111010110011000010110000100011101111100010001000111000111110001000000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000110010101010101011001110001011001011000010001000110010101011000010110000100011111100000000111000101100101100110000101100001000000000000000000000000000000000000000000010001000101010110011000010110000100011000000000000100000001000001000000000001000000000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000010000010001011111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100000100010000011101010110000101100001000100000100000111010101100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100111011111011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001010101100101111111011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000001110101010101011001110001011001011001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000111011111010000010001110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000110010101011000010110000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010001110111110101111111011111011111110110000000000000000000000000000000000000000111110000000001100001010100010001100001010100010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000000000000011101111101100001010100010000010001000101111111011100011111000100011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111110111110111111111111111110001110101010111111101111001111101011001111111111100011111111111111111011110011111010110000100010001000001000100000101100000000110010101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001110111110101010110011110011111010110011101111101011111110111110111111101100111111111100001111101111111011001111001111101011001011111110111111111111111111111111111011101111101010101100111100111110101100111111111110001111111111111111101111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100010101011001100101010111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000000000000001000100000000000100000000010101011001100101010111000101100101100111100000000001100001011000010001000000010000010001010101100000000000010000000100000100010000010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111101111111110101100110010110000100011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111111111111111111110111111111111111011111110111111111010110011001011000010001111111011111111101011001100101100001000111111111111111011111110111111111010110011001011000010001111111011111111101011001100101100001000001000100000111010101100001011000010001111111111111011111011111111111111111011111111100000111110111110111110111000111110001000111111111111111111111111111111111111111010101100001000100011000010110000100011111111110000111110111110111110111100111110101010111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010111111100011101010111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111110111110111111111111111110101111111010111111101111101111111011001111111111110011111111111111111011111011111110110011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111000000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100001000100010111111101110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100110010101010000010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011101111101011111110111110111111101100001000100010111111101110001111100010001111111110000011110011111010110011110011111010110010101011001110111110111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001110111110111111111111111111111111111010111111101100101010111100111110101100111111111110001111111111111111101111001111101011001111111111101010110011111011111011111011111111110010001000111100111110101010111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100110010101011111111111111101111101111101010101100111011111011110011111010110011111111110000111110111111101100111100111110101100001000100011101111101110001111100010001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001110111110001110101011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001110111110111011111011111011111110110010000010001111111111111100111110101010111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100110010101010111111101111001111101011001111111111000000000011100010101010101011111111000000111100111110101100111000101100101100111111111110000010001111001111101010101011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110000111010100011101010111000101100101100001110101011111111111111101111101111101111111110000011110011111010110011110011111010110000111010101110111110111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100101111111011110011111010110011111111111011111110111111111111111110111111111110001111111111111111101111001111101011001011111110100000100011100011111000100011001010100011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110010111111101011111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100000100010001010101100110000101100001000000000000011001010101000000010000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000000000000101010110010000000100000100010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001110111110110010101011110011111010110011101111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000101111111011111111111111111111111111100010001000111011111011100011111000100011111111110000111110111110111110111100111110101100101010110010111111101111001111101011001111111111101111111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110010000010001011111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110010000010001010101100110000101100001000100000100011001010101100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000101111111010000010001110001111100010001111111111100000100011110011111010101011111111000000111100111110101100111000101100101100000000000011101111101100001010100010001011111110100000100011100011111000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100101111111010111111101111101111111011001111111111000011111011111110110011110011111010110000100010001110111110111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001011111110101111111011111011111110110011111111111100101010111110111110111110111111111110001111101111111011001111101111111011001110111110101010110011110011111010110011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100101010110011001010101110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100001000100011111111111111001111101010101011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001011111110101111111011111011111110110011111111111110111110111111111111111110111111111111001111111111111111101111101111111011001111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111110111111101100111110111111101100101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111110101011001111101111101111101011111110001110101011110011111010110011111111110000111110111111101100111100111110101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011001010100000000000100000001000001000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000000111010101000001000110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001110111110100000100011100011111000100010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000000000001100101010100000001000001000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010000010001000001000100000101100000000111011111010000010001110001111100010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000001000100010000010110000000011101111101000001000111000111110001000111110000000001100001011000010001100001011000010000011101010000000000010000000100000100011101111101110111110111110111111101100111111100000001110001111100010001110001111100010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111100000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110010111111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111100000000001110001010101010101110111110111111111111111111111111111011111111110000111110111110111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011101111100000000000110000101010001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010000011101010111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111010101100101111111011110011111010110011111111111100111111111111111110111110111110111110111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010101011001100101010111000101100101100111111111111111111111111111111111111111111111111100011111011111011111011111011111011111011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011000010001000111011111011100011111000100011001010100000000000100000001000001000111110000000001100001011000010001100001011000010001100101010101111111011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000001110101000100010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000101010110000100010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100010101011001110111110111100111110101100111111100000001111001111101011001100001011000010000010001000111011111011100011111000100000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111011111011111111111111111111111111101011111110111111111111111111111111111011111111111110111111111111111111111110111111101100000000000000111010101000000010000010000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111000000000000111111111000001111101111101111101110001111100010001111111100000011110011111010101011100011111000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011001010101010101100111000101100101100101111111010000010001110001111100010001111111000000011100010110010110011100010110010110010111111101000001000111000111110001000001110101000000000001000000010000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000011101010100000100011000010110000100000111010100000000000100000001000001000111100000000001100001011000010001000001011000000001000001000101111111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011001010100010001000110000101100001000111011111011001010101111001111101011001111111000000011110011111010110011000010110000100010000010000010001000100000101100000000100000100000111010101100001011000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100001000100011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010000011101010111011111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101010110010111111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100101111111000100010001110001111100010001110111110111111111111111111111111111011111111110000111110111110111110111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111101010110011101111101111001111101011001111111111110011111111111111111011111011111011111010000010001110111110111000111110001000101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111111111111000000011111111111100111111111111111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111110000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111011111010111111101111101111111011001010101100111111111111111011111011111011111111111000111110111111101100111110111111101100101010110010111111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110010101011001011111110111100111110101100111111111110101011001111101111101111101111111111000011111011111110110011110011111010110011111111111010101100111110111110111110111111111110000010001111001111101010101111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111100000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001000001000110010101011000010110000100011001010101110111110111100111110101100111111100000001111001111101011001100001011000010001110111110101010110011110011111010110000111010101110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001110101011001010101110001011001011001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100101010110010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000011101010101010110011100010110010110011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001110111110101111111011111011111110110010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100101111111011111111111111111111111111101010101100111011111011110011111010110011111111111000111111111111111110111100111110101100100000100011101111101110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110010000010000000000000000000001000000000110010101010111111101111001111101011001111100000000011100011111000100010000000100000100000100010001110111110111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001011111110100000100011100011111000100000111010100000000000100000001000001000111110000000001100001011000010001100001011000010000011101010001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010001110111110111000111110001000000000000010000010000000000010000000001111000000000011000010110000100010000000100000100010111111101011111110111110111111101100001110101010111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001010101100111011111011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001011111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101010110010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100001110101010000010001100001011000010001111111111101111111011111111111111111011111111100000111110111110111110111000111110001000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011101111101011111110111110111111101100101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111110111110111111111111111110101111111011111111111111111111111111101111111111111011111111111111111111111011111110110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111111111111111101111001111101011001111111111111111111111111111111111111111111100000000000000000011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111011111010111111101111101111111011001010101100111011111011110011111010110011111111110000111110111111101100111100111110101100110010101000111010101110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011101111101011111110111110111111101100101111111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111010101100111110111110111110111011111010000010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001000001000100000100010000010110000000011001010100010001000110000101100001000111100000000001100001011000010001000001011000000001100101010111111111111111011111011111000100010001000001000100000101100000000111111100000001110001111100010001110001111100010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000101010110010111111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100100000100000100010001000001011000000001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000000010001000110010101011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010000010001000111111111111110011111010101010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001010101100111011111011110011111010110011111100000000111000111110001000110000101100001000000000000010101011001000000010000010000000000000111011111011000010101000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010101011001010101100111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110010111111101010101100111100111110101100001110101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000011101010110010101011100010110010110011101111100010001000111000111110001000111111100000001110001011001011001110001011001011001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101011111110111110111111101100111111111110111111101111111111111111101111111111110011111111111111111011111011111110110011101111100010001000111000111110001000001110101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001100101010111011111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111011111011101111101111101111111011001110111110111011111011111011111110110011111111111000111110111111101100111110111111101100101111111000111010101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110010101011001010101100111000101100101100101111111010000010001110001111100010001111111000000011100010110010110011100010110010110010000010001010101100110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110010101011001110001011001011001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111001010101111101111101111101110111110111111111111111111111111111011111111111100111111111111111110111110111111101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110010101011001111111111111110111110111110111011111010101011001111001111101011001111111111000011111011111110110011110011111010110010101011001010101100111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111100000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001100101010101010110011100010110010110000100010000010001000100000101100000000111110000000001100001011000010001100001011000010000011101010001000100011000010110000100011111111111111111111111111111111111111111111111100001111101111101111101111001111101010101111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000001110101010101011001110001011001011001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111110111111101111111111111111100010001000101010110011000010110000100011111111100000111110111110111110111000111110001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000100000100010000010110000000010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001011111110111011111011111011111110110010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000100000100000100010001000001011000000001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000110010101010101011001110001011001011001111111111111011111011111111111111111011111111110000111110111110111110111100111110101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010101011000000000000100000001000001000101010110000111010101110001011001011001111100000000011000010110000100011000010110000100010101011001110111110111100111110101100101111111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010000011101010110010101011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001011111110001000100011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001110111110111100111110101100111111111100000000001110001010101010101111111100000011110011111010110011100010110010110010111111100011101010111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100111011111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000011101010101111111011110011111010110000000000001110111110110000101010001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100100000100000000000000000000010000000001111111111101010110011111011111011111011111100000000111000111110001000110000101010001000101111111010101011001111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101000001000111000111110001000001110101000000000001000000010000010001111100000000011000010110000100011000010110000100000000000001110111110110000101010001000101111111011111111111111111111111111101111111110000011111011111011111011100011111000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101010101100100000100011000010110000100011111111000000111100111110101100111000111110001000110010101000100010001100001011000010001011111110101111111011111011111110110011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011101111101011111110111110111111101100111011111000000000001100001010100010001111111100000011110011111010110011100011111000100010111111101000001000111000111110001000101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001110111110000000000011000010101000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000000010001000001000100010000010110000000000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111011111011001010101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101010110000100010001100001011000010000000000000111011111011000010101000100011111000000000111000101100101100100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000110010101011000010110000100000000000000000000000000000000000000000110000000000001000000010000010000000000010000000000000000000001000100000000000100000000010000010001010101100110000101100001000111000000000001100001011000010000000000010000000001111110000000000000000000000001110000000000010000010110000000010000010110000000011000000000000100000101100000000000000001000000000111011111010000010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100000000000000100010000000000010000000001000001000001110101011000010110000100011100000000000110000101100001000000000001000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111100000000000000000000000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111111111111111111111111111100000000000000000000111111111111111111111100000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111111111111110000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000011111111111010101100111110111110111110001110101011111111111111101111101111101111111111100011111011111110110011111011111110110011101111101010101100111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001000001000001110101011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001010101100101111111011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000111111111111111111111111111111111111111000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010101011001011111110111100111110101100111111111110111111101111111111111111101111111111100011111111111111111011110011111010110000111010101011111110111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001010101100001110101011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110011111111110010001000111100111110101010111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100100000100000000000000000000010000000001010101100001000100011000010110000100011100000000000110000101100001000000000001000000000101010110010111111101111001111101011001110111110001000100011100011111000100011111111000000111100111110101100111000101100101100111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100010101011001011111110111100111110101100101111111000000000001100001010100010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100111111111110000010001111001111101010101111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010000011101010111111111111111011111011111011111111000000111100111110101100111000111110001000100000100000100010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100000000000000011101010100000001000001000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000000100010000010001000100000101100000000100000100010111111101110001111100010001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000011101010101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011000010001000101111111011100011111000100011101111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111001010101111101111101111101110111110101111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001011111110111011111011111011111110110011001010101010101100111000101100101100111111111000001111001111101011001111001111101011001010101100001000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001011111110101111111011111011111110110011111111100000111100111110101100111100111110101100110010101011001010101110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000000000001000001000000000001000000000100000100000111010101100001011000010001110000000000011000010110000100000000000100000000000100010001010101100110000101100001000111111111100100010001111001111101010101111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001010101100101111111011110011111010110000100010001011111110111000111110001000111111110000001111001111101011001110001011001011001010101100101111111011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001010101100111000101100101100110010101010000010001100001011000010001111110000000011100010110010110011000010110000100010000010001000001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000000010001000001000100010000010110000000000000000000000000000000000000000000000100000000000000000000010000000000000000010000000001111111000000000000000000000001110000000000011000010110000100000000000100000000011100000000000110000101100001000000000001000000000111111111111111111100000000000000000000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111100000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000001110101010111111101111001111101011001100101010100000100011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000001000100010000010001000001011000000001110000000000010000010110000000010000010110000000000100010001110111110111000111110001000111111111110000010001111001111101010101111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000100000100000000000000000000010000000001100101010001110101011100010110010110011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100100000100000100010001000001011000000001111100000000011000010110000100011000010110000100011001010100010001000110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001000001000100000100010000010110000000010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001010101100101010110011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100101010110000100010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001000001000101010110011000010110000100000000000001110111110110000101010001000111110000000001110001011001011001000001011000000001110111110101010110011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100011001010101100001011000010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000001110101010101011001110001011001011001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011101111101100101010111100111110101100100000100000111010101100001011000010001111111000000011110011111010110011000010110000100010000010001110111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000101010110011000010110000100000111010100010001000110000101100001000111110000000001110001011001011001000001011000000001010101100001000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001110111110111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110010111111101111111111111111111111111110001000100000100010001000001011000000001111111100000011110011111010101011100011111000100011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001011111110111111111111111111111111111000111010101111111111111110111110111110111111111111001111111111111111101111101111111011000010001000101111111011100011111000100010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111100000000000000000001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111101111111110101100110010110000100011111111111111111111111111111111101011001111111110101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111011111111101011001100101100001000111111111111111111111111111111111010110011111111101011001111111011111111101011001100101100001000000000000010000010000000000010000000001100101010101010110011100010110010110011110000000000110000101100001000100000001000001000101010110011101111101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011101111101000001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110000100010001000001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000101010110000000000001000000010000010001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010101011001110111110111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100010101011001011111110111100111110101100000000000010111111101100001010100010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000000010001000101010110011000010110000100010111111101100101010111100111110101100111111100000001111001111101011001100001011000010001110111110101010110011110011111010110011001010101011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001011111110101111111011111011111110110011111111110000111110111111101100111100111110101100100000100000111010101100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100001110101011100010110010110000111010100010001000110000101100001000111111000000001110001011001011001100001011000010001011111110101111111011111011111110110000111010101110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111011111010111111101111101111111011001000001000100000100010000010110000000011111110000000111000111110001000111000111110001000100000100010101011001100001011000010001111111111101111111011111111111111111011111111100000111110111110111110111000111110001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111010101100111110111110111110111011111010000010001110001111100010001111111110000011110011111010110011110011111010110010101011001111111111111110111110111110101111111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011000000000000101111111011000010101000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001000001000001000100010000010110000000010000010001000001000100000101100000000111000000000001000001011000000001000001011000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100010101011001000001000110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100010101011001011111110111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100111111111111111011111011111011111111111111111111111111111111111111111111111111101111111111111111101111111111111111100010001000101111111011100011111000100010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111111100000001111111111100011111111111111111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111111111111111111111000000000000000000000001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100001000100010000010001000001011000000001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000101010110010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011001010101010101100111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111011111010101011001111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100001000100010101011001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100000100010000011101010110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010000010000011101010110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111100000011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001100101010001000100011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010001110111110001000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101111111000000000001100001010100010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000000000000000100010000000000010000000000000000000001110101010000000100000100011000000000000100000101100000000000000001000000000111111111110000000000000000000111111000000001110001111100010001100001011000010001111000000000011000010110000100010000000100000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001110111110110010101011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111001010101111101111101111101011111110101010110011110011111010110011111111110000111110111111101100111100111110101100111011111010000010001110001111100010001010101100000000000010000000100000100011111000000000110000101100001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111000000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011101111101010101100111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110010101011000011101010111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111101111111011111111111111111010111111101111111111111111111111111110111111111111101111111111111111111111101111111011001010101100100000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111110111110111110111000111110001000111111111111111111111111111111111111111111000000000000000000001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010101011001111111111111110111110111110101111111011001010101111001111101011001111111111000011111011111110110011110011111010110010101011000010001000110000101100001000001110101011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001110111110111111111111111111111111111010101011001011111110111100111110101100111111111110001111111111111111101111001111101011000011101010101111111011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111000000000000000000001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111111101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100101010110010111111101111001111101011000011101010110010101011100010110010110011111111000000111100111110101100111000101100101100111111111100111010101111101111101111100010001000101010110011000010110000100011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111011111110111111111111111110101111111011101111101111101111111011001111111111110011111111111111111011111011111110110000100010001011111110111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100000000000010101011001000000010000010000011101010000000000010000000100000100011100000000000100000101100000000100000101100000000101010110010111111101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010110000100011111111110010001000111100111110101010110010101010101011001110001011001011001111111100000011110011111010110011100010110010110000000000001010101100100000001000001000101111111010111111101111101111111011001111111000000011100011111000100011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100101010110011100010110010110010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111011111011111111111111111010111111101111111111111111111111111110111111111111101111111111111111111111101111111011001111111111111111111111100000001111111111100011111111111111111011110011111010110011111111111000111111111111111110111100111110101100101010110011001010101110001011001011001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100001110101010111111101111001111101011001111111111101111111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111111000000000000000000111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001010101100001110101011100010110010110000111010101011111110111100111110101100111111110000001111001111101011001110001011001011001011111110101111111011111011111110110011101111101111111111111111111111111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100001110101010111111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000100000100000000000000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011001010100010001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000010101011000000000000100000001000001000101111111011001010101111001111101011001111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111100000100011110011111010101000111010101010101100111000101100101100111111110000001111001111101011001110001011001011001010101100000000000010000000100000100010111111100011101010111100111110101100111111000000001110001111100010001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000001000001000000000001000000000101111111010101011001111001111101011001111100000000011100011111000100010000000100000100010101011001010101100111000101100101100101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001010101100100000100011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010000000000000101010110010000000100000100011101111101111111111111111111111111110111111110000001111001111101010101110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111011111010101011001111001111101011001110111110001000100011100011111000100011111111000000111100111110101100111000101100101100101111111011101111101111101111111011001010101100100000100011000010110000100011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010111111101011111110111110111111101100110010101000100010001100001011000010001111111100000011110011111010110011100011111000100000111010100010001000110000101100001000000000000000000000000000000000000000001100000000000010000000100000100000000000100000000011111111111000000000000000000011111100000000111000111110001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000001000100011101111101110001111100010001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100001000100011111111111111001111101010101010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001111111111111110111110111110101010110011001010101110001011001011001111111110000011110011111010110011110011111010110000100010001000001000100000101100000000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001000001000100000100010000010110000000011111111111111111111111111111111111111111111111000001111001111101010101111001111101010100000000000111111111111100010101010101011001010101111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111011111011001010101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100101111111011101111101111101111111011000000000000100000100000000000100000000011111100000000111000111110001000110000101010001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100101111111011110011111010110000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001010101100111111111111111011111011111000111010101110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000001000100010101011001100001011000010001100101010101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010000010000010001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000010001000101111111011100011111000100010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001110111110101010110011110011111010110000000000001110111110110000101010001000111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100010101011000000000000100000001000001000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001100101010001000100011000010110000100000111010101010101100111000101100101100111111000000001110001011001011001100001011000010001100101010111111111111111011111011111000000000001010101100100000001000001000111111100000001110001111100010001110001111100010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000000000000010000010000000000010000000001100101010001000100011000010110000100011100000000000110000101100001000000000001000000000001000100010101011001100001011000010001110111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100000000000000010001000000000001000000000100000100011101111101110001111100010001111000000000011000010110000100010000000100000100011101111101010101100111100111110101100110010101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101111111000000000001100001010100010001100101010111011111011110011111010110011111110000000111100111110101100110000101100001000100000100010000010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100010000010001000001000100000101100000000001000100000111010101100001011000010001111000000000011000010110000100010000010110000000010101011001110111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001110111110100000100011100011111000100011101111100010001000111000111110001000111111100000001110001011001011001110001011001011000010001000100000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000101111111010101011001111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100100000100011111111111111001111101010101010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001010101100101010110011100010110010110011111111111011111110111111111111111110111111111100001111101111101111101111001111101011001011111110101010110011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111011111010000010001110001111100010001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011000011101010111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110000000000000000000000000000000000000000111011111000100010001110001111100010001110000000000010000000100000100010000000100000100011001010101000001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111000000000011100010101010101010111111101010101100111100111110101100111111110000001111001111101011001110001011001011000010001000100000100010000010110000000010101011000000000000100000001000001000111000000000001000001011000000001000001011000000001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100010000010000010001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111101010110011111011111011111000100010000010001000100000101100000000111111100000001110001111100010001110001111100010001000001000001000100010000010110000000010101011000011101010111000101100101100111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111000000000000000001111111111111111111111100000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111111000000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101111111000000000001100001010100010001100101010100000100011000010110000100011111000000000111000101100101100100000101100000000101010110010111111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000000000000000000000000000000000000000101010110000000000001000000010000010001000000000000000000000100000000000000000100000000000100010001110111110111000111110001000111111111100111010101111101111101111101111111110000011110011111010110011110011111010110011111111111000000000000000000011111000000000111000111110001000100000001000001000111110000000001110001111100010001000000010000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101111111010101011001111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111011111000100010001110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000000000000011101010100000001000001000111011111010111111101111101111111011001111111000000011100011111000100011100011111000100011101111101000001000111000111110001000100000100000111010101100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111110000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001100101010001000100011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001110111110001000100011100011111000100010111111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101111111010000010001110001111100010000010001000111011111011100011111000100011111110000000111000101100101100111000101100101100000000000010000010000000000010000000000000000000001000100000000000100000000010000000000000100000101100000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000000010000010001111000000000011000010110000100010000000100000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100101010110011100010110010110010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001000001000110010101011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111110000010001111001111101010101111111111101010110011111011111011111011111111110000111110111111101100111100111110101100000000000010000010000000000010000000001010101100000000000010000000100000100011000000000000100000101100000000000000001000000000111111111111100000000000000000111111100000001110001111100010001110001111100010001111100000000011100011111000100010000000100000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010101011001010101100111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110000100010001000001000100000101100000000110010101011111111111111101111101111101111111000000011100011111000100011100011111000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111110010101011111011111011111010111111100011101010111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011000010001000110000101100001000100000100011001010101100001011000010001111100000000011100010110010110010000010110000000000100010001011111110111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000010001000111111111111110011111010101000100010001010101100110000101100001000111111100000001111001111101011001100001011000010000011101010001110101011100010110010110011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111010111111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000101111111010111111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000110010101000100010001100001011000010001111100000000011100010110010110010000010110000000010101011001100101010111000101100101100110010101000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111010000010001110001111100010000010001000101111111011100011111000100011111110000000111000101100101100111000101100101100110010101000100010001100001011000010001100101010100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011101111100010001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011001010101100101010111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001010101100111011111011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001011111110111111111111111111111111111011111111111010101100111110111110111110111111111111001111111111111111101111101111111011001111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111110111111101100111110111111101100101111111010111111101111101111111011001010101100101111111011110011111010110011111111110000111110111111101100111100111110101100101111111011101111101111101111111011001010101100101111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111110000000000000000111111111111111111111110000000111111111111001111111111111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011000010001000111111111111110011111010101010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001100101010001000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111101111101111111111111111100010001000001000100010000010110000000011111111000000111100111110101010111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111110101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111111111010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110010111111101100101010111100111110101100111011111011111111111111111111111111101111111111100011111111111111111011110011111010110011101111101011111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001000001000111011111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010000010001000111011111011100011111000100010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111101010101100111100111110101100101111111000100010001110001111100010001111111100000011110011111010110011100010110010110000000000001011111110110000101010001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000111111111111110011111010101011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001011111110110010101011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101010110000000000001000000010000010000011101010111011111011110011111010110011111100000000111000111110001000110000101100001000000000000010000010000000000010000000000010001000111011111011100011111000100011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000110010101010101011001110001011001011001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110000100010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000101111111011101111101111101111111011001010101100000000000010000000100000100011111110000000111000111110001000111000111110001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010001000001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001010101100101010110011100010110010110010000010000000000000000000001000000000111100000000001100001011000010001000000010000010001011111110001000100011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101111111010101011001111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000110010101000100010001100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000010001000100000100010000010110000000010000010001000001000100000101100000000111000000000001000001011000000001000001011000000001110111110111011111011111011111110110000111010101011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111100000000000000001111111000000011100011111000100011100011111000100011111100000000111000111110001000110000101100001000100000100000100010001000001011000000001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000101010110010000010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111100000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000000100010001111111111111100111110101010101010110000000000001000000010000010001111110000000011100011111000100011000010110000100010111111101111111111111111111111111110111011111011001010101111001111101011001111111111100011111111111111111011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010000011101010111111111111111011111011111010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001011111110111011111011111011111110110000000000001111111111111000101010101010111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000010101011001110111110111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001110111110111111111111111111111111111010000010001010101100110000101100001000111111111000001111101111101111101110001111100010001110111110001110101011110011111010110011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100100000100000100010001000001011000000001111111111111011111011111111111111111011111111000000111100111110101010111000111110001000101111111010101011001111001111101011001010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000111010101000001000110000101100001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100000000000001010101100100000001000001000001000100010111111101110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001000001000110010101011000010110000100011111000000000111000101100101100100000101100000000101010110000000000001000000010000010001000001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100111111111100100010001111001111101010101111111100000011110011111010110011100010110010110011111111111100101010111110111110111110111011111000111010101111001111101011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001000001000101010110011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001011111110101010110011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110011111111111111101111101111101110111110001000100011100011111000100011111111100000111100111110101100111100111110101100111011111010101011001111001111101011000010001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010000010001000110010101011000010110000100010111111100011101010111100111110101100111111100000001111001111101011001100001011000010001010101100111111111111111011111011111010101011001110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011001100101010101111111011110011111010110011111111100000111110111111101100111000101100101100111011111000111010101111001111101011001010101100111011111011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010101011001111111111111110111110111110100000100010111111101110001111100010001111111110000011110011111010110011110011111010110010101011001000001000110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010000011101010101111111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001010101100100000100011000010110000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101100101010111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100000000000000000000000000000000000000001110000000000010000000100000100010000000100000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001010101100001110101011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001010101100111111111111111011111011111010000010001000001000100000101100000000111111100000001110001111100010001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000001000100010000010001000001011000000001011111110101010110011110011111010110011111100000000111000111110001000110000101100001000100000100010000010001000001011000000000000000000111011111011000010101000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011101111101110111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110000000000001011111110110000101010001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010111111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000110010101010101011001110001011001011001000001000110010101011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000000100010000010001000100000101100000000111111111110000010001111001111101010101111110000000011100011111000100011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001000001000101010110011000010110000100011111111111100101010111110111110111110111111110000001111001111101011001110001111100010001010101100001000100011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101111111010101011001111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100110010101011101111101111001111101011000011101010111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001010101100101111111011110011111010110010000010001110111110111000111110001000111111110000001111001111101011001110001011001011000010001000001000100010000010110000000000100010001011111110111000111110001000111110000000001100001011000010001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111011111011111111111111111111111111101111111111101010110011111011111011111011111111111100111111111111111110111110111111101100111111111111101111101111111111111111101010101100101111111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110010000010001010101100110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000010111111101100101010111100111110101100001000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001011111110111111111111111111111111111011101111100011101010111100111110101100111111111110001111111111111111101111001111101011001011111110000000000011000010101000100000100010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111111111110000000000000001111111000000011100011111000100011100011111000100011111110000000111000111110001000111000111110001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010000010001010101100110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100010111111101110111110111110111111101100100000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100101111111011110011111010110011101111101000001000111000111110001000111111110000001111001111101011001110001011001011000010001000101010110011000010110000100011101111101100101010111100111110101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001000100010101011001100001011000010001011111110111111111111111111111111111011111111100000111110111110111110111000111110001000111011111011111111111111111111111111101100101010111111111111111011111011111011111111111100111111111111111110111110111111101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011101111101100101010111100111110101100001000100010111111101110001111100010001111111100000011110011111010110011100010110010110010111111100000000000110000101010001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111011111011111111111111111111111111101011111110100000100011100011111000100011111111110000111110111110111110111100111110101100101010110011111111111111101111101111100011101010110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010101011001111111111111110111110111110001000100010000010001000001011000000001111111000000011100011111000100011100011111000100010101011001000001000110000101100001000111111111110111111101111111111111111101111111110000011111011111011111011100011111000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001010101100101010110011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010000011101010100000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111011111011001010101111001111101011001100101010001000100011000010110000100011111110000000111100111110101100110000101100001000101010110011001010101110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001011111110100000100011100011111000100010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001110111110000000000011000010101000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000000000000010101011001000000010000010001000001000000000000000000000100000000011000000000000100000101100000000000000001000000000111011111010000010001110001111100010001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111111111111100000000000000000000000000000000000000000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111111111110000000000000000000111111111111111111111110000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111110000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000000000000001000001000000000001000000000111111111110000010001111001111101010101111100000000011100011111000100010000000100000100000100010000011101010110000101100001000111011111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001100101010100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010000010001010101100110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011101111101000001000111000111110001000101010110011111111111111101111101111101111111110000011110011111010110011110011111010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001010101100100000100011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001100101010101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000100000100000100010001000001011000000001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000101111111010000010001110001111100010000011101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000111010101000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011001010101010101100111000101100101100101111111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000000000000010111111101100001010100010001110111110111111111111111111111111111011111111100000111110111110111110111000111110001000100000100000000000000000000010000000000000000000001110101010000000100000100011000000000000100000101100000000000000001000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011100011111000100010000000100000100010101011000010001000110000101100001000111111111100100010001111001111101010101111111000000011110011111010110011000010110000100010111111101110111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001000001000001000100010000010110000000010111111101110111110111110111111101100111111100000001110001111100010001110001111100010001111111111101010110011111011111011111011101111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100101111111011111111111111111111111111101011111110111111111111111111111111111011111111111110111111111111111111111110111111101100111111111110101011001111101111101111100010001000111011111011100011111000100011111111100000111100111110101100111100111110101100111111111111111111111110000000111111111110001111111111111111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001000001000111111111111110011111010101011101111101110111110111110111111101100111111111100001111101111111011001111001111101011000010001000101010110011000010110000100000111010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111011111000111010101111001111101011001011111110001110101011110011111010110011111111100000111110111111101100111000101100101100001110101010101011001110001011001011001111111111111111111111111111111111111111111111111000111110111110111110111110111110111110111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011101111101011111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100000111010101011111110111100111110101100100000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110101111111011111011111110110011111111110010001000111100111110101010111111111100001111101111111011001111001111101011000000000000001000100000000000100000000000000000001010101100100000001000001000110000000000001000001011000000000000000010000000001111111111111000000000000000001111111000000011100011111000100011100011111000100011111000000000111000111110001000100000001000001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010101011001110111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100010101011001010101100111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001011111110100000100011100011111000100011101111101110111110111110111111101100111111111000001111001111101011001111001111101011000010001000001110101011000010110000100010101011001011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101111111010101011001111001111101011001011111110001110101011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111110111110111111111111111111111111111011111111111111111111111111111111111111111111111110111111111111111111111111000000111111111111001111111111111111101111101111101111101111111111100011111111111111111011110011111010110000100010001011111110111000111110001000110010101000111010101110001011001011001111111000000011100010110010110011100010110010110010101011000010001000110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111110111110111100111110101100111111110000001111001111101011001110001111100010001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000101010110011111111111111101111101111100010001000100000100010000010110000000011111110000000111000111110001000111000111110001000101010110010111111101111001111101011000010001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011001111111111111110111110111110111011111010101011001111001111101011001111111111000011111011111110110011110011111010110010101011001010101100111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001011111110101111111011111011111110110010000010001100101010110000101100001000111111110000001111001111101011001110001111100010001011111110101111111011111011111110110010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100101010110010111111101111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100101010110011101111101111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111110000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011000011101010101010110011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100110010101000000000001000000010000010001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000110010101010000010001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000111111100000000000000000000000111000000000001000001011000000001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111110111111111010110011001011000010001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100010000010001000001000100010110000000011101111100000000000110010101000100000100010001010101100110010110000100010111111101111111111111111111111111010000010000010001000100010110000000000100010000010001000100010110000000010111111101010101100111111111010110000100010000010001000100010110000000011101111100000000000110010101000100011111111110010001000111111111010101011101111101110111110111111111110110011101111101011111110111111111110110011001010101011111110111111111010110011001010101011111110111111111010110011101111101100101010111111111010110010000010001010101100110010110000100000111010100010001000110010110000100011111111110010001000111111111010101010111111100010001000111011111000100011001010100010001000110010110000100010000010001010101100110010110000100011111111111000001000111111111010101010101011001000001000110010110000100000000000001010101100100000100000100011101111101011111110111111111110110010101011000000000000100000100000100011101111100010001000111011111000100010000010001110111110111011111000100010000010001010101100110010110000100010101011001010101100111010110010110000000000000010001000000000100000000010101011000000000000100000100000100010000010001010101100110010110000100010101011001010101100111010110010110011001010100010001000110010110000100010000010001111111111111111111010101011101111101110111110111111111110110000100010001010101100110010110000100010101011001000001000110010110000100010101011001000001000110010110000100010000010000010001000100010110000000010111111101111111111111111111111111011111111111010101100111111111011111010000010000000000000000000100000000010000010001000001000100010110000000010101011001010101100111010110010110010000010000010001000100010110000000010000010001010101100110010110000100011101111101000001000111011111000100010000010000010001000100010110000000010101011001110111110111111111010110010000010001010101100110010110000100010000010001010101100110010110000100011101111101011111110111111111110110010000010001010101100110010110000100011101111101010101100111111111010110000000000000011101010100000100000100010000010001010101100110010110000100011111111110010001000111111111010101010000010001010101100110010110000100000000000000010001000000000100000000000000000001010101100100000100000100011001010101010101100111010110010110011001010100000000000100000100000100010101011000000000000100000100000100010000010001010101100110010110000100010111111101110111110111111111110110011101111101011111110111111111110110011001010100010001000110010110000100010111111101110111110111111111110110011001010101111111111111111111011111010101011001011111110111111111010110000111010101000001000110010110000100011101111100010001000111011111000100010111111101010101100111111111010110010111111100010001000111011111000100010101011000000000000100000100000100000000000000000000000000000000000000011001010101010101100111010110010110010000010001110111110111011111000100011101111100010001000111011111000100010101011001010101100111010110010110011101111101011111110111111111110110000100010000010001000100010110000000010101011001011111110111111111010110010101011001011111110111111111010110010111111101010101100111111111010110000100010000010001000100010110000000010111111101011111110111111111110110011111111111011111110111111111111111010111111101010101100111111111010110010111111100011101010111111111010110010101011001000001000110010110000100010000010001010101100110010110000100010000010001110111110111011111000100010000010000000000000000000100000000011001010101110111110111111111010110011101111100011101010111111111010110010111111100010001000111011111000100011111111111011111110111111111111111011111111110010001000111111111010101010101011001000001000110010110000100011001010101000001000110010110000100011001010101011111110111111111010110000000000001010101100100000100000100011101111100000000000110010101000100011111111111111111111111111111111111111001010101100101010111010110010110011101111101011111110111111111110110010101011001010101100111010110010110011101111101000001000111011111000100000100010001010101100110010110000100011001010101010101100111010110010110010101011001010101100111010110010110011101111101111111111111111111111111010101011000000000000100000100000100010101011000010001000110010110000100011001010101011111110111111111010110011101111101010101100111111111010110010000010001010101100110010110000100000100010001000001000100010110000000000000000000000000000000000000000000011001010101110111110111111111010110010111111100010001000111011111000100000100010000010001000100010110000000011101111101000001000111011111000100010000010001010101100110010110000100011111111111010101100111111111011111011111111111110111110111111111111111110100000100000111010101100001011000010001111111110000011111011111011111011100011111000100010101011001000001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001010101100001000100011000010110000100011111111110011101010111110111110111110111111110000001111001111101011001110001111100010001011111110100000100011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111101100101010111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100000100010001111111111111100111110101010001110101010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000000000000101111111011000010101000100010111111100000000000110000101010001000111110000000001110001011001011001000001011000000000010001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000001000100010000010001000001011000000001011111110111011111011111011111110110011111110000000111000111110001000111000111110001000100000100010101011001100001011000010001110111110101111111011111011111110110011111111000000111100111110101100111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101000001000111000111110001000001000100011101111101110001111100010001111111000000011100010110010110011100010110010110010000010000000000000000000001000000000100000100010000010001000001011000000001100000000000010000010110000000000000000100000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000110010101011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100001000100011101111101110001111100010001100101010001110101011100010110010110011111110000000111000101100101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111101010110000111010101110001011001011001111111111100011111011111011111011111011111011111010101011001010101100111000101100101100100000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111110011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001110111110100000100011100011111000100011111111111000001000111100111110101010111111110000001111001111101011001110001011001011001010101100101111111011110011111010110000000000001011111110110000101010001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100001000100000000000000000000010000000001010101100101010110011100010110010110011110000000000110000101100001000100000001000001000110010101011101111101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110111111111111111111111111111010111111101110111110111110111111101100111111111111001111111111111111101111101111111011001000001000110010101011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111100111010101111101111101111101011111110100000100011100011111000100011111111100000111100111110101100111100111110101100001110101010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011101111101000001000111000111110001000101111111010000010001110001111100010001111111000000011100010110010110011100010110010110000100010000010001000100000101100000000100000100011001010101100001011000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001011111110100000100011100011111000100010111111101100101010111100111110101100111111110000001111001111101011001110001011001011001010101100001000100011000010110000100011001010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001110111110111100111110101100001110101010111111101111001111101011001111111110000011111011111110110011100010110010110010101011001111111111111110111110111110101111111000111010101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001010101100101010110011100010110010110010000010001000001000100000101100000000111110000000001100001011000010001100001011000010001111111111001000100011110011111010101010000010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000001000100010101011001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000000000000010101011001000000010000010000010001000110010101011000010110000100011110000000000110000101100001000100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011001010101111111111111110111110111110100000100000111010101100001011000010001111111100000011110011111010110011100011111000100010101011001110111110111100111110101100100000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101111111000100010001110001111100010000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000101111111010111111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000100010001000001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100010000010001010101100110000101100001000100000100011111111111111001111101010101111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000100000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001000001000101010110011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111011111010000010001110001111100010001111111111001000100011110011111010101011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001010101100111111111111111011111011111011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001011111110101010110011110011111010110011111111110010001000111100111110101010111111111000001111101111111011001110001011001011001100101010111011111011110011111010110000100010001110111110111000111110001000111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100010000010001000001011000000001100101010111011111011110011111010110011111100000000111000111110001000110000101100001000110010101000100010001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000100010000010001000100000101100000000001000100011101111101110001111100010001111100000000011000010110000100011000010110000100010101011000000000000100000001000001000001110101010000010001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100000000000001100101010100000001000001000111000000000001000001011000000001000001011000000000011101010111011111011110011111010110000100010001011111110111000111110001000111111110000001111001111101011001110001011001011001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001110111110111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111101111111010000010001110001111100010001111111111100011111011111011111011111011111011111011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001000001000101111111011100011111000100011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111101010110011111011111011111000100010001110111110111000111110001000111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111001111111111111111111111111111111011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111101111111011111111101011001100101100001000111111101111111110101100110010110000100011111111111111111111111111111100111111111111111011111110111111111010110011001011000010001111111011111111101011001100101100001000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000100000100000100010001000001011000000001110111110111011111011111011111110110011111110000000111000111110001000111000111110001000101111111011001010101111001111101011001011111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111110000000000111000101010101010000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011101111101000001000111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111011111010101011001111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111110111111101111111111111111100011101010100000100011000010110000100011111111100000111110111110111110111000111110001000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011001010101010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100010111111101111111111111111111111111110101111111010000010001110001111100010001111111111000011111011111011111011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001011111110111011111011111011111110110000100010000011101010110000101100001000111111110000001111001111101011001110001111100010001010101100100000100011000010110000100010000010001110111110111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000110010101010111111101111001111101011001000001000001110101011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001011111110000000000011000010101000100010000010000000000000000000001000000000111000000000001100001011000010000000000010000000001110111110100000100011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000000000000000000000000000000000000000001000001000101010110011000010110000100011000000000000100000001000001000000000001000000000110010101011101111101111001111101011000000000000101010110010000000100000100011111100000000111000111110001000110000101100001000111111111000000000000000000000111110000000001100001011000010001100001011000010001110000000000011000010110000100000000000100000000011111111111111111111100000000000000000000000000000000000000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001111111111111111111111111110000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100010101011001010101100111000101100101100100000100000100010001000001011000000001111100000000011000010110000100011000010110000100010101011001000001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000000000000000000000100000000000000000001110111110110000101010001000111000000000001100001011000010000000000010000000001010101100001000100011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000000000000001000001000000000001000000000001000100010111111101110001111100010001111000000000011000010110000100010000000100000100010101011001011111110111100111110101100100000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000011101010000000000010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010000000000000101010110010000000100000100000100010000000000000000000001000000000110000000000001000001011000000000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000110000101100001000000000001000000000111111111111111111100000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111000000000000000000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111011111011111111111111111111111111101011111110111011111011111011111110110011111111111100111111111111111110111110111111101100111011111010101011001111001111101011000010001000001000100010000010110000000011111100000000111000111110001000110000101100001000111111111111111111100000000000111111111100001111101111101111101111001111101011001111111100000011110011111010110011100011111000100010000010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000000000000000000000000000000000000000001100000000000010000000100000100000000000100000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111100000000111000111110001000110000101100001000111111000000001110001111100010001100001011000010001111111111111000000000000000001111110000000011100011111000100011000010110000100011111100000000111000111110001000110000101100001000111011111000111010101111001111101011001110111110110010101011110011111010110011111111100000111110111111101100111000101100101100101010110000100010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100110010101010101011001110001011001011001111111000000011100010110010110011100010110010110000111010101011111110111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010000010001000001110101011000010110000100011111111111100101010111110111110111110111111110000001111001111101011001110001111100010001010101100100000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000100000100010101011001100001011000010001011111110000000000011000010101000100011111000000000111000101100101100100000101100000000101010110011101111101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001110111110101010110011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001011111110111111111111111111111111111010101011001010101100111000101100101100111111111100001111101111101111101111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111011111011001010101111001111101011000010001000101010110011000010110000100011111110000000111100111110101100110000101100001000101010110011101111101111001111101011001111111111111011111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111111111010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111101111111110101100110010110000100011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100010101011000010001000110000101100001000001110101011001010101110001011001011001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000101111111000100010001110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001100101010111011111011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010001000001000100000100010000010110000000000000000001110111110110000101010001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011001010100011101010111000101100101100000000000000111010101000000010000010001111100000000011000010110000100011000010110000100000100010001010101100110000101100001000000000000010101011001000000010000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001010101100111011111011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001110111110000000000011000010101000100011101111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000001000100010101011001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000111011111011111111111111111111111111101010101100111011111011110011111010110011111111111000111111111111111110111100111110101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011100011111000100011100011111000100011101111101010101100111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100110010101011001010101110001011001011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110011001010101110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000100010001010101100110000101100001000111011111010111111101111101111111011001111111100000011110011111010110011100011111000100000100010000011101010110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011000010001000001000100010000010110000000000111010101010101100111000101100101100111110000000001100001011000010001100001011000010001100101010101010110011100010110010110000111010101100101010111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000100000100000100010001000001011000000000010001000101111111011100011111000100011111000000000110000101100001000110000101100001000101010110000000000001000000010000010001010101100101010110011100010110010110011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001000001000001110101011000010110000100011001010100010001000110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110010101011001000001000110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110000100010001100001011000010001110111110001110101011110011111010110011111110000000111100111110101100110000101100001000101010110000111010101110001011001011001000001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011101111101011111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100000111010101010101100111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000101010110011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010000011101010111111111111111011111011111000111010100010001000110000101100001000111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000111010101010101100111000101100101100101010110011001010101110001011001011001111111000000011100010110010110011100010110010110011001010101010101100111000101100101100111111111111111111111111111111111111111111111111100011111011111011111011111011111011111011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011000000000000001000100000000000100000000011001010101011111110111100111110101100111110000000001110001111100010001000000010000010001010101100001000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100101010110010101011001110001011001011001111111111110010101011111011111011111011111111100000111100111110101100111100111110101100101111111000111010101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011001010101011111110111100111110101100000000000000000000000000000000000000001111000000000011000010101000100010000000100000100010000010001111111111111100111110101010001110101000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000101010110000111010101110001011001011001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100110010101000000000001000000010000010000000000000111011111011000010101000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011101111101010101100111100111110101100100000100000000000000000000010000000001111100000000011100011111000100010000000100000100010111111101000001000111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010000010001000111111111111110011111010101011001010101010101100111000101100101100111111110000001111001111101011001110001011001011001110111110111111111111111111111111111010000010001010101100110000101100001000111111111000001111101111101111101110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100000000000010111111101100001010100010001110111110000000000011000010101000100011111000000000111000101100101100100000101100000000101111111010101011001111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111001000100011110011111010101010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001110111110100000100011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001000100010000010001000001011000000000000000000101111111011000010101000100011110000000000110000101100001000100000101100000000100000100010111111101110001111100010001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000100010000010001000100000101100000000001000100011001010101100001011000010001111000000000011000010110000100010000010110000000000100010000010001000100000101100000000001000100011001010101100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001110111110111011111011111011111110110010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001000001000111011111011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010101011001011111110111100111110101100110010101000000000001000000010000010001111110000000011100011111000100011000010110000100010101011000010001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001000001000100000100010000010110000000000100010001111111111111100111110101010111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110010000010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000100000100000000000000000000010000000000010001000100000100010000010110000000011000000000000100000101100000000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000010101011001110111110111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100000100010001011111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101111111000000000001100001010100010000011101010101111111011110011111010110011111110000000111100111110101100110000101100001000111011111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110000100010000000000000000000001000000000001000100011001010101100001011000010001110000000000011000010110000100000000000100000000011001010101100101010111000101100101100000000000000000000000000000000000000001110000000000010000000100000100010000000100000100011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100011111000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001011111110111111111111111111111111111010111111100011101010111100111110101100111111111110001111111111111111101111001111101011000011101010111011111011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111011111000111010101111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100101111111011111111111111111111111111101100101010111011111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011000011101010101010110011100010110010110010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110011111111111111101111101111101010101100101111111011110011111010110011111111110000111110111111101100111100111110101100000000000010111111101100001010100010001111111111111011111011111111111111111011111111100000111110111110111110111000111110001000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111000001000111100111110101010101010110011101111101111001111101011001111111110000011111011111110110011100010110010110010101011001011111110111100111110101100101111111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111011111011111111111111111011111111111110111110111111111111111110111111111111101111111111111111111111101111111011001000001000101010110011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111110111110111110111000111110001000111111111111111111111111111111111111111110000000000000000000001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111110111110111111111111111110101010110010101011001110001011001011001111111111000011111011111011111011110011111010110010111111101110111110111110111111101100111011111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001110111110111111111111111111111111111010111111101010101100111100111110101100111111111110001111111111111111101111001111101011001111111111111011111011111111111111111010101011001010101100111000101100101100111111111100001111101111101111101111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111111110000000000000000001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111101111101111111111111111101000001000001000100010000010110000000011111111000000111100111110101010111000111110001000001110101000100010001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100000100010000011101010110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000000100010001110111110111000111110001000101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000001000100010000010001000001011000000000011101010001000100011000010110000100011110000000000110000101100001000100000101100000000110010101011001010101110001011001011000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000100010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000011101111101000001000111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000000011101010001000100011000010110000100011001010101010101100111000101100101100111111000000001110001011001011001100001011000010001110111110111111111111111111111111111011001010101111111111111110111110111110111111111111001111111111111111101111101111111011001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000111011111011101111101111101111111011001111111111001110101011111011111011111011111111111000111110111111101100111110111111101100101010110011101111101111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111111111111111111111110000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001010101100111011111011110011111010110010101011001100101010111000101100101100111111110000001111001111101011001110001011001011001011111110101010110011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101010110010101011001110001011001011001000001000001110101011000010110000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110010101011001110111110111100111110101100101111111011001010101111001111101011001111111110000011111011111110110011100010110010110010101011001011111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000001000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001010101100001000100011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010000010000011101010110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100000100010001100101010110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001000001000101010110011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001010101100111011111011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111000001111111111111111111111111111100011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111111000111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111011111010101011001111001111101011001011111110001000100011100011111000100011111111000000111100111110101100111000101100101100001110101011001010101110001011001011000010001000000000000000000000100000000011110000000000110000101100001000100000001000001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000111000101010101010111111111110101011001111101111101111101111111110000011110011111010110011110011111010110010000010001010101100110000101100001000110010101010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101111111011111111111111111111111111101011111110101010110011110011111010110011111111111000111111111111111110111100111110101100101010110010111111101111001111101011001011111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110010101011001000001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011001010100010001000110000101100001000101010110011111111111111101111101111101111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001011111110111011111011111011111110110011111111111110111110111111111111111110111111111111001111111111111111101111101111111011000000000000001110101010000000100000100011001010101011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111111111000000000001111111111000011111011111011111011110011111010110011111111000000111100111110101100111000111110001000110010101011111111111111101111101111101111111111001000100011110011111010101011111111110000111110111111101100111100111110101100101010110010101011001110001011001011001100101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111101111101111111111111111111111111110111111111111111111111111111111111111111111111111101110111110001000100011100011111000100010111111101011111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111111110000001111111111110011111111111111111011111011111011111011111111111000111111111111111110111100111110101100101010110011111111111111101111101111100011101010101111111011110011111010110011111111110000111110111111101100111100111110101100111011111010101011001111001111101011001110111110111111111111111111111111111011111111111000111111111111111110111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111111111111000000000000000111111111111111111111111000000111111111111001111111111111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110010111111101010101100111100111110101100110010101000111010101110001011001011001111111100000011110011111010110011100010110010110000111010101010101100111000101100101100001000100010000010001000001011000000001111100000000011000010110000100011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010000000000000001110101010000000100000100010111111100010001000111000111110001000111110000000001100001011000010001100001011000010000010001000100000100010000010110000000000100010000011101010110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001000001000100000101100000000001110101000100010001100001011000010001111000000000011000010110000100010000010110000000011001010101100101010111000101100101100001000100010111111101110001111100010001111111000000011100010110010110011100010110010110011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010000010001000101010110011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001110111110100000100011100011111000100000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111110000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000101010110011111111111111101111101111101000001000101111111011100011111000100011111111100000111100111110101100111100111110101100111011111011111111111111111111111111101000001000111011111011100011111000100011111111110000111110111110111110111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010000010001011111110111000111110001000101010110000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111010101100111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110000100010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000110010101010000010001100001011000010001011111110101010110011110011111010110011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100001110101010111111101111001111101011001111111110000011111011111110110011100010110010110011001010101011111110111100111110101100101010110000111010101110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100001000100011000010110000100010111111101100101010111100111110101100111111100000001111001111101011001100001011000010001100101010001110101011100010110010110010111111101010101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100000000000000111010101000000010000010001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000000000000000000000000000000000000000001010101100100000100011000010110000100011000000000000100000001000001000000000001000000000111111000000000000000000000000111000000000001000001011000000001000001011000000001100000000000010000010110000000000000000100000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001111100010001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001000001000001110101011000010110000100011001010100011101010111000101100101100111111000000001110001011001011001100001011000010000010001000000000000000000000100000000010101011001010101100111000101100101100111100000000001100001011000010001000000010000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111011111011101111101111101111111011001010101100001110101011100010110010110011111111100000111100111110101100111100111110101100101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111100000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011101111100010001000111000111110001000101111111010101011001111001111101011001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100101111111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001110111110001000100011100011111000100010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001110111110000000000011000010101000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010000010001110111110111000111110001000101010110000100010001100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000111111111111001010101111101111101111101111111000000011100011111000100011100011111000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001011111110101010110011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001010101100001110101011100010110010110010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111011111010101011001111001111101011000010001000001000100010000010110000000011111100000000111000111110001000110000101100001000101010110010000010001100001011000010000011101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000010101011000000000000100000001000001000111111111110101011001111101111101111101111111000000011100011111000100011100011111000100011101111101010101100111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000101010110011101111101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100001000100010111111101110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000001000100011101111101110001111100010001111100000000011000010110000100011000010110000100000100010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001011111110100000100011100011111000100010000010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010101011001110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100101111111011111111111111111111111111101111111111101010110011111011111011111011111111111100111111111111111110111110111111101100111111111111111111111000000000111111111110001111111111111111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010000000000000110010101010000000100000100000111010101000001000110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000001000100000100010001000001011000000001110111110110010101011110011111010110011111100000000111000111110001000110000101100001000101010110000111010101110001011001011001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011101111101110111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110010111111101100101010111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001110111110001110101011110011111010110000100010001011111110111000111110001000111111110000001111001111101011001110001011001011001110111110111111111111111111111111111010101011001111111111111110111110111110111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010101011000000000000100000001000001000001110101010101011001110001011001011001111100000000011000010110000100011000010110000100011101111101010101100111100111110101100101111111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010000010001000101111111011100011111000100011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001011111110111111111111111111111111111011101111101011111110111110111111101100111111111111001111111111111111101111101111111011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100001000100011101111101110001111100010001100101010110010101011100010110010110011111110000000111000101100101100111000101100101100001000100010101011001100001011000010000010001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011001010100000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011001010101011111110111100111110101100100000100011111111111111001111101010101111111110000011111011111110110011100010110010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111000100010001110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111110101011001111101111101111100000000000101111111011000010101000100011111111000000111100111110101100111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110000100010001100101010110000101100001000001000100011101111101110001111100010001111110000000011100010110010110011000010110000100011101111101010101100111100111110101100111011111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001110111110111011111011111011111110110010000010000010001000100000101100000000111111100000001110001111100010001110001111100010000010001000100000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000000000000010000010000000000010000000001010101100111011111011110011111010110011111000000000111000111110001000100000001000001000001110101011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000000010001000001000100010000010110000000010111111101110111110111110111111101100111111100000001110001111100010001110001111100010001100101010111011111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100001110101000100010001100001011000010001110111110111011111011111011111110110011111111000000111100111110101100111000111110001000101111111000000000001100001010100010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011101111101010101100111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100000111010100010001000110000101100001000100000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100001110101011100010110010110000111010101100101010111000101100101100111111100000001110001011001011001110001011001011000000000000101010110010000000100000100000100010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010000010000000000000000000001000000000100000100010101011001100001011000010001110000000000011000010110000100000000000100000000010000010001100101010110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001011111110111111111111111111111111111010101011000000000000100000001000001000111111110000001111001111101010101110001111100010001111111111000000000011100010101010101010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101111111011101111101111101111111011001111111111111011111011111111111111111011111111111100111111111111111110111110111111101100001000100010111111101110001111100010001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111111110000000111111111111001111111111111111101111101111111011001111111111000011111011111110110011110011111010110010111111100011101010111100111110101100111111111111101111101111111111111111101111111111100011111111111111111011110011111010110011001010101010101100111000101100101100110010101010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111111111100000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111100111010101111101111101111101010101100111011111011110011111010110011111111110000111110111111101100111100111110101100111011111000100010001110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011101111101110111110111110111111101100001110101011111111111111101111101111101111111111100011111011111110110011111011111110110011101111101110111110111110111111101100111011111000100010001110001111100010001111111110000011110011111010110011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111100000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111110110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001110111110101111111011111011111110110010101011000010001000110000101100001000111111110000001111001111101011001110001111100010001010101100100000100011000010110000100010111111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111110000010001111001111101010101000001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000100000100000111010101100001011000010001111111111001110101011111011111011111011111111000000111100111110101100111000111110001000001110101011111111111111101111101111101010101100110010101011100010110010110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111010101100111110111110111110111111111111101111101111111111111111101111111111110011111111111111111011111011111110110010111111101011111110111110111111101100111011111010111111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111101111111011001111101111111011001110111110101010110011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001100101010101010110011100010110010110011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111111110000000000000000001111111111111111111111000000001111111111100011111111111111111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110000111010100011101010111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001110111110101111111011111011111110110011101111100011101010111100111110101100111111111100001111101111111011001111001111101011001011111110101111111011111011111110110011111111111010101100111110111110111110111111111110001111101111111011001111101111111011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111111101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111011111010101011001111001111101011001111111111001000100011110011111010101011111111100000111110111111101100111000101100101100101010110000100010001100001011000010000011101010101111111011110011111010110011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110000100010001000001000100000101100000000101111111011101111101111101111111011001111111000000011100011111000100011100011111000100011111111111000001000111100111110101010101111111011001010101111001111101011001111111110000011111011111110110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101010110011111111111111101111101111100010001000111011111011100011111000100011111111100000111100111110101100111100111110101100001000100011111111111111001111101010101010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011001010101011111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110000100010001010101100110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011000010001000100000100010000010110000000000111010101011111110111100111110101100111111000000001110001111100010001100001011000010001000001000111011111011100011111000100000111010101100101010111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000000000000011111111111110001010101010100000000000101111111011000010101000100011111100000000111000101100101100110000101100001000001110101011111111111111101111101111100011101010101010110011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001010101100001110101011100010110010110011101111100011101010111100111110101100111111110000001111001111101011001110001011001011001100101010001000100011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000110010101000100010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000100000100000000000000000000010000000000010001000101010110011000010110000100011100000000000110000101100001000000000001000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011101111101010101100111100111110101100001110101010111111101111001111101011001111111110000011111011111110110011100010110010110010111111101010101100111100111110101100100000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000011101010101010110011100010110010110011101111101110111110111110111111101100111111111000001111001111101011001111001111101011000011101010101010110011100010110010110011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100101010110010000010001100001011000010001111111100000011110011111010110011100011111000100000000000001111111111111000101010101010101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001000001000001000100010000010110000000011101111100000000000110000101010001000111100000000001100001011000010001000001011000000000011101010001000100011000010110000100011101111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000101010110010101011001110001011001011000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000101010110010101011001110001011001011001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100111111111111111100000000000000111111110000001111001111101011001110001111100010001111111000000011110011111010110011000010110000100000100010000010001000100000101100000000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000010000010001010101100110000101100001000000000000011101111101100001010100010001111100000000011100010110010110010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000100000100000000000000000000010000000001100101010001110101011100010110010110011110000000000110000101100001000100000001000001000110010101010000010001100001011000010000000000000101010110010000000100000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011101111100011101010111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111100000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000000010001000101010110011000010110000100000111010101010101100111000101100101100111111000000001110001011001011001100001011000010001110111110101111111011111011111110110010111111101100101010111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000100000100011111111111111001111101010101000001000101010110011000010110000100011111110000000111100111110101100110000101100001000101010110011111111111111101111101111100011101010111011111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001010101100001110101011100010110010110011001010100011101010111000101100101100111111100000001110001011001011001110001011001011001100101010100000100011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111011111000100010001110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100100000100010111111101110001111100010001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010101011001110111110111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100010101011001010101100111000101100101100001110101000000000001000000010000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100000000000010000000100000100010000010001000001000100000101100000000111000000000001000001011000000001000001011000000000010001000000000000000000000100000000011101111100010001000111000111110001000111100000000001100001011000010001000000010000010001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111000000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000000100010001110111110111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110010000010001110111110111000111110001000000000000010111111101100001010100010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100100000100011000010110000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010001100101010101010110011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111110000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000001000100010111111101110001111100010001100101010001110101011100010110010110011111110000000111000101100101100111000101100101100111011111011111111111111111111111111101010101100101111111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110000000000001011111110110000101010001000000000000000111010101000000010000010001111000000000011000010110000100010000010110000000011111111110010001000111100111110101010001000100011001010101100001011000010001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000100000100000000000000000000010000000001000001000001000100010000010110000000011000000000000100000101100000000000000001000000000101010110000000000001000000010000010001010101100100000100011000010110000100011110000000000110000101100001000100000101100000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011101111101110111110111110111111101100100000100000100010001000001011000000001111111000000011100011111000100011100011111000100010000010000011101010110000101100001000001110101011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010000010001000100000100010000010110000000011001010101110111110111100111110101100111111000000001110001111100010001100001011000010001000001000001110101011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000110010101011101111101111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001010101100001000100011000010110000100010000010001011111110111000111110001000111111000000001110001011001011001100001011000010001110111110001000100011100011111000100000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100011101111101110001111100010000011101010100000100011000010110000100011111100000000111000101100101100110000101100001000110010101011001010101110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111000000111111111111111111111111111110001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000010111111101011111110111110111111101100100000100010101011001100001011000010001111111100000011110011111010110011100011111000100010111111101111111111111111111111111110110010101011101111101111001111101011001111111111100011111111111111111011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001110111110101111111011111011111110110011111111111011111110111111111111111110111111111111001111111111111111101111101111111011001010101100101111111011110011111010110011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101111111111111111111111111000001111111111111011111111111111111111111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111111100000000000000001111111111111111111111100000001111111111110011111111111111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110010111111101110111110111110111111101100100000100011101111101110001111100010001111111110000011110011111010110011110011111010110011101111101010101100111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001110111110001110101011110011111010110000100010001010101100110000101100001000111111100000001111001111101011001100001011000010001010101100001000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111111111010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100001000100011111111111111001111101010101100101010101010110011100010110010110011111111000000111100111110101100111000101100101100101111111000100010001110001111100010000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100000100010001011111110111000111110001000001000100010000010001000001011000000001111100000000011000010110000100011000010110000100010101011000010001000110000101100001000110010101000111010101110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000100000100010000010001000001011000000001000001000101111111011100011111000100011111000000000110000101100001000110000101100001000000000000011001010101000000010000010000011101010101010110011100010110010110011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000000100010001000001000100000101100000000101010110000111010101110001011001011001111100000000011000010110000100011000010110000100010101011001010101100111000101100101100000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000000010001000100000100010000010110000000010111111101010101100111100111110101100111111000000001110001111100010001100001011000010000010001000110010101011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111110000010001111001111101010101111111111100000100011110011111010101011111111100000111110111111101100111000101100101100100000100000100010001000001011000000001110111110001110101011110011111010110011111100000000111000111110001000110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001011111110111011111011111011111110110010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001000001000101010110011000010110000100010111111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100101010110011001010101110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000110010101000100010001100001011000010001010101100111111111111111011111011111011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100010000010001010101100110000101100001000101111111010111111101111101111111011001111111100000011110011111010110011100011111000100011101111101100101010111100111110101100101010110011111111111111101111101111101111111111000011111011111110110011110011111010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111110010101011111011111011111000100010000011101010110000101100001000111111110000001111001111101011001110001111100010001111111111101010110011111011111011111011101111101110111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011101111101011111110111110111111101100101010110011001010101110001011001011001111111110000011110011111010110011110011111010110011101111100011101010111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001010101100000000000010000000100000100010101011001111111111111110111110111110111111100000001110001111100010001110001111100010001110111110111111111111111111111111111010101011001010101100111000101100101100111111111100001111101111101111101111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111110000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100100000100000000000000000000010000000000011101010111011111011110011111010110011111000000000111000111110001000100000001000001000111011111010000010001110001111100010001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011101111101100101010111100111110101100001000100011111111111111001111101010101111111110000011111011111110110011100010110010110011101111101111111111111111111111111110111011111010101011001111001111101011001111111111100011111111111111111011110011111010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100110010101010111111101111001111101011001100101010100000100011000010110000100011111110000000111100111110101100110000101100001000111111111100100010001111001111101010101010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011101111101011111110111110111111101100101010110011101111101111001111101011001111111111000011111011111110110011110011111010110000111010101011111110111100111110101100111011111011101111101111101111111011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001110111110110010101011110011111010110011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101100101010101010110011100010110010110011001010101011111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100100000100011101111101110001111100010001111111111001000100011110011111010101011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111001110101011111011111011111011101111101110111110111110111111101100111111111110001111101111111011001111101111111011001011111110001000100011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100101010110010101011001110001011001011001100101010111011111011110011111010110011111111000000111100111110101100111000101100101100111111111110111111101111111111111111101110111110111111111111111111111111111011111111111110111111111111111111111110111111101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111011111011110011111010110011111111111111111111111111111111111111111100000000000000000000111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011101111101011111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011101111101110111110111110111111101100001000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000010001000001110101011000010110000100010101011000010001000110000101100001000111110000000001110001011001011001000001011000000001010101100101010110011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000000000000011101010100000001000001000001110101000100010001100001011000010001111000000000011000010110000100010000010110000000000000000001100101010100000001000001000001000100010111111101110001111100010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000000000000000100000100000000000100000000010111111100000000000110000101010001000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000000000000010101011001000000010000010000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000100000100000000000000000000010000000001011111110001000100011100011111000100011110000000000110000101100001000100000001000001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001011111110111100111110101100000000000010000010000000000010000000001111100000000011100011111000100010000000100000100010000010001010101100110000101100001000000000000000000000000000000000000000001100000000000010000000100000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001100001011000010000000000010000000001111111111111111111000000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000100000100000111010101100001011000010001100101010001110101011100010110010110011111100000000111000101100101100110000101100001000101111111010111111101111101111111011001010101100001110101011100010110010110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011001010101110111110111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100101010110010101011001110001011001011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111100000111111111111100011111110111111111010110011001011000010001111100011001011000010001100101100001000111111111111100011111110111111111010110011001011000010001111100011001011000010001100101100001000111111111111111111111111111000001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001111111111111000111111101111111110101100110010110000100011111000110010110000100011001011000010001010101100111011111011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001000001000101010110011000010110000100000100010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001000100011111111111111001111101010101010101100000000000010000000100000100011111100000000111000111110001000110000101100001000001000100000100010001000001011000000000000000000001110101010000000100000100011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000010001000000000000000000000100000000010101011000011101010111000101100101100111100000000001100001011000010001000000010000010001000001000100000100010000010110000000000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111011111011001010101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011000010001000101010110011000010110000100011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111100000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000000111010101110111110111100111110101100000000000010111111101100001010100010001111111000000011110011111010110011000010110000100000111010101000001000110000101100001000000000000011001010101000000010000010001111000000000011000010110000100010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001100101010101010110011100010110010110010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001100101010111011111011110011111010110000111010101110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011101111101010101100111100111110101100101010110011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010000000000000000000000000000000000000000010101011001010101100111000101100101100111000000000001000000010000010001000000010000010001100101010111011111011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000100000100000000000000000000010000000000010001000100000100010000010110000000011000000000000100000101100000000000000001000000000111011111011111111111111111111111111101110111110101010110011110011111010110011111111111000111111111111111110111100111110101100111111111111110000000000000000111111100000001110001111100010001110001111100010001111110000000011100011111000100011000010101000100011001010101010101100111000101100101100100000100000000000000000000010000000001111000000000011000010110000100010000000100000100011101111100000000000110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000110010101000111010101110001011001011001110111110001110101011110011111010110011111111000000111100111110101100111000101100101100100000100010000010001000001011000000000000000000111011111011000010101000100011110000000000110000101100001000100000101100000000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010101011000010001000110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100010111111100010001000111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111100000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001110111110101010110011110011111010110010111111101110111110111110111111101100111111111100001111101111111011001111001111101011001010101100101111111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111011111011101111101111101111111011001111111111111011111011111111111111111011111111111100111111111111111110111110111111101100110010101010101011001110001011001011001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111000000000000000000000111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001011111110101111111011111011111110110010000010001010101100110000101100001000111111110000001111001111101011001110001111100010001110111110101010110011110011111010110010111111101011111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100100000100011111111111111001111101010100011101010001110101011100010110010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110010101011001010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001010101100101111111011110011111010110000100010000000000000000000001000000000111110000000001110001111100010001000000010000010001000001000101010110011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000000100010000010001000100000101100000000101010110000111010101110001011001011001111100000000011000010110000100011000010110000100010101011000010001000110000101100001000001000100000100010001000001011000000001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001100101010110010101011100010110010110000100010000011101010110000101100001000111111000000001110001011001011001100001011000010001110111110111011111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111100000000000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111111111111111000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000000000000010000010000000000010000000001111111111101010110011111011111011111011111100000000111000111110001000110000101010001000110010101011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011001010101010101100111000101100101100000000000000111010101000000010000010001111100000000011000010110000100011000010110000100010111111100000000000110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000110010101010111111101111001111101011001110111110001110101011110011111010110011111111100000111110111111101100111000101100101100100000100010101011001100001011000010000000000000101111111011000010101000100011111000000000111000101100101100100000101100000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100010000010001010101100110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100010101011000010001000110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001010101100100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000001000100010000010110000000000100010000010001000100000101100000000111000000000001000001011000000001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000001000100010101011001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000001000100010111111101110001111100010001110111110001000100011100011111000100011111110000000111000101100101100111000101100101100111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100000100010001110111110111000111110001000111110000000001100001011000010001100001011000010001111111111111011111011111111111111111010101011000011101010111000101100101100111111111100001111101111101111101111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000100000100010101011001100001011000010000010001000111011111011100011111000100011111100000000111000101100101100110000101100001000101010110011101111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100010000010001010101100110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000010101011001010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001000001000110010101011000010110000100000000000001000001000000000001000000000111000000000001100001011000010000000000010000000001010101100101010110011100010110010110010111111100000000000110000101010001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011001010100000000000100000001000001000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000010101011001010101100111000101100101100100000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001010101100110010101011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001010101100000000000010000000100000100000100010001100101010110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111110000000000000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000100000100010101011001100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000101010110011001010101110001011001011000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000000111010100000000000100000001000001000000000000011101111101100001010100010001111000000000011000010110000100010000010110000000010111111101010101100111100111110101100101010110010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000000000000010000010000000000010000000000011101010001000100011000010110000100011100000000000110000101100001000000000001000000000100000100011111111111111001111101010101000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010000010000000000000000000001000000000100000100000100010001000001011000000001100000000000010000010110000000000000000100000000000000000001010101100100000001000001000101010110000000000001000000010000010001110000000000010000010110000000010000010110000000011111100000000000000000000000011100000000000100000101100000000100000101100000000110000000000001000001011000000000000000010000000001111111111111111100000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111000000000000000000000001111000000000011000010110000100010000010110000000011000000000000100000101100000000000000001000000000111111111111111111111111111111111111111110000000000000000000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001010101100101010110011100010110010110010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100000111010101010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111011111011001010101111001111101011001100101010100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001010101100110010101011100010110010110011001010101110111110111100111110101100111111110000001111001111101011001110001011001011001011111110101111111011111011111110110000000000001011111110110000101010001000111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100100000100000100010001000001011000000000010001000110010101011000010110000100011110000000000110000101100001000100000101100000000001000100000100010001000001011000000000011101010111011111011110011111010110011111100000000111000111110001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000100010001010101100110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000000111010101110111110111100111110101100001000100000000000000000000010000000001111100000000011100011111000100010000000100000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001011111110100000100011100011111000100011111111111110111110111111111111111110111111111100001111101111101111101111001111101011001110111110001000100011100011111000100010000010001011111110111000111110001000111111100000001110001011001011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100010101011001111111111111110111110111110101111111010111111101111101111111011001111111111100011111011111110110011111011111110110010101011001111111111111110111110111110101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111111100000011111111111100111111111111111110111110111111101100111111111110001111101111111011001111101111111011001010101100111011111011110011111010110000000000001010101100100000001000001000111111000000001110001111100010001100001011000010001110111110001110101011110011111010110010101011001111111111111110111110111110111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111000000000000000000001111111111111111111110000000001111111111100011111111111111111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001111111110101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111011111011101111101111101111111011001000001000001000100010000010110000000011111110000000111000111110001000111000111110001000101111111011111111111111111111111111100010001000111011111011100011111000100011111111110000111110111110111110111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010101011000011101010111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110010111111101011111110111110111111101100101111111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100001000100011101111101110001111100010000011101010100000100011000010110000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010001111111111101010110011111011111011111011111111000000111100111110101100111000111110001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011101111101110111110111110111111101100111111111110000010001111001111101010101111111111000011111011111110110011110011111010110000000000001000001000000000001000000000101010110010101011001110001011001011001111000000000011000010110000100010000000100000100011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001010101100101010110011100010110010110011111111111111111111111111111111111111111111111110001111101111101111101111101111101111101010101100111011111011110011111010110010000010000011101010110000101100001000111111100000001111001111101011001100001011000010001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100001000100010111111101110001111100010000000000000111111111111100010101010101011111110000000111000101100101100111000101100101100001110101000100010001100001011000010000000000000001000100000000000100000000011100000000000110000101100001000000000001000000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001110111110101111111011111011111110110000100010001110111110111000111110001000111111111000001111001111101011001111001111101011001110111110101010110011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100110010101011101111101111001111101011000011101010100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110000000000000010001000000000001000000000001000100010101011001100001011000010001110000000000011000010110000100000000000100000000010101011001010101100111000101100101100001110101010000010001100001011000010001111110000000011100010110010110011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001011111110100000100011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010101011001110111110111100111110101100101111111000100010001110001111100010001111111100000011110011111010110011100010110010110010101011001110111110111100111110101100101010110000000000001000000010000010001111110000000011100011111000100011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110001000100011100011111000100011101111101000001000111000111110001000111111100000001110001011001011001110001011001011001010101100001000100011000010110000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111000000000001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000100000100010000010001000001011000000001011111110111011111011111011111110110011111110000000111000111110001000111000111110001000101010110011101111101111001111101011001000001000100000100010000010110000000011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011001010101110111110111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111010101100111110111110111110101010110011111111111111101111101111101111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000101010110000100010001100001011000010001110111110001000100011100011111000100011111100000000111000101100101100110000101100001000101111111011111111111111111111111111100010001000110010101011000010110000100011111111100000111110111110111110111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001000001000110000101100001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100011111111111110111110111111111111111110110010101011111111111111101111101111101111111111110011111111111111111011111011111110110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001010101100001110101011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001110111110111011111011111011111110110011101111101011111110111110111111101100111111111110001111101111111011001111101111111011001111111111111111100000000000001111111100000011110011111010110011100011111000100011111111000000111100111110101100111000111110001000110010101010111111101111001111101011001010101100001110101011100010110010110011111111000000111100111110101100111000101100101100111011111000111010101111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000101010110011000010110000100010101011000011101010111000101100101100111111000000001110001011001011001100001011000010001110111110000000000011000010101000100010000010001000001000100000101100000000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001000100010101011001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000110010101000111010101110001011001011001010101100111111111111111011111011111011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100000000000000010001000000000001000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000011101111101000001000111000111110001000001110101010000010001100001011000010001111110000000011100010110010110011000010110000100011111110000000000000000000000011110000000000110000101100001000100000001000001000110000000000001000000010000010000000000010000000000000000000000000000000000000000000000000000000001110111110110000101010001000110000000000001000000010000010000000000010000000000010001000101010110011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111110000000000000000000000000000000000000000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000000000000001100101010100000001000001000001000100000000000000000000010000000001100000000000010000010110000000000000000100000000000000000001010101100100000001000001000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000011111100000000000000000000000011100000000000100000101100000000100000101100000000110000000000001000001011000000000000000010000000000010001000000000000000000000100000000010000010001000001000100000101100000000110000000000001000001011000000000000000010000000000000000000100000100000000000100000000000100010000010001000100000101100000000110000000000001000001011000000000000000010000000001111100000000000000000000000001110000000000010000010110000000010000010110000000010000000000000100000101100000000000000000000000000111111111111000000000000000000000000000000000000000000000000001111110000000000000000000000001110000000000010000010110000000010000010110000000011000000000000100000101100000000000000001000000000111110000000000000000000000000111000000000001000001011000000001000001011000000001000000000000010000010110000000000000000000000000011111111111111111111111111111100000000000000000000000000000000001111111111111110000000000000000011111111000000001111000011001011000010001000101100000000111000001000101100000000100010110000000011111100000000001110000010001011000000001000101100000000110000001000101100000000000000100000000011111111111111000000000000000000111111100000000011110000110010110000100010001011000000001100000010001011000000000000001000000000111111000000000011100000100010110000000010001011000000001100000010001011000000000000001000000000111011111010101011001111001111101011001011111110001110101011110011111010110011111111100000111110111111101100111000101100101100101111111011111111111111111111111111101110111110101010110011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110011001010100011101010111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111110000000000111000101010101010101010110011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111011111011101111101111101111111011001010101100001000100011000010110000100011111111000000111100111110101100111000111110001000101111111010101011001111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111000001000111100111110101010111011111011111111111111111111111111101111111111100011111111111111111011110011111010110010111111100011101010111100111110101100101010110010111111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111000000000000000000000011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111111011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011000010001000101010110011000010110000100010111111101010101100111100111110101100111111100000001111001111101011001100001011000010001000001000101111111011100011111000100000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001010101100001110101011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111101010110011111011111011111010000010001011111110111000111110001000111111111000001111001111101011001111001111101011001110111110101010110011110011111010110000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100100000100010000010001000001011000000001010101100001110101011100010110010110011111000000000110000101100001000110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111100000000000000000000000000000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110000000000000011101010100000001000001000000000000000111010101000000010000010001110000000000010000010110000000010000010110000000010101011000010001000110000101100001000001000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111110000000000000000000000011100000000000100000101100000000100000101100000000111000000000001000001011000000001000001011000000000010001000100000100010000010110000000000000000001110111110110000101010001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000000000000001100101010100000001000001000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000010101011000010001000110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001010101100000000000010000000100000100000000000001010101100100000001000001000111000000000001000001011000000001000001011000000000000000000100000100000000000100000000000111010100010001000110000101100001000111000000000001100001011000010000000000010000000001111111000000000000000000000001110000000000010000010110000000010000010110000000011100000000000100000101100000000100000101100000000111111111111111111000000000000000000000000000000000000000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111111111111100000000000000000000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000011111111111111111100000000000000111111111000000011111000111010110010110010001011000000001110000010001011000000001000101100000000111111110000000011110000110010110000100010001011000000001110000010001011000000001000101100000000111011111011101111101111101111111011001011111110111111111111111111111111111011111111111100111111111111111110111110111111101100101010110010101011001110001011001011001100101010001110101011100010110010110011111110000000111000101100101100111000101100101100111111111111111111110000000000111111111100001111101111101111101111001111101011001111111110000011110011111010110011110011111010110010101011001000001000110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100011101111101010101100111100111110101100100000100010111111101110001111100010001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111110111111101111111111111111101110111110101010110011110011111010110011111111111000111111111111111110111100111110101100101111111011101111101111101111111011001010101100111111111111111011111011111011111111111000111110111111101100111110111111101100111111111111111111111110000000111111111110001111101111111011001111101111111011001111111111100011111011111110110011111011111110110000100010001011111110111000111110001000111011111011111111111111111111111111101111111111000011111011111011111011110011111010110011111111111011111110111111111111111110111011111010111111101111101111111011001111111111110011111111111111111011111011111110110011111111111111111111111000000011111111111100111111111111111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111111100000000000000011111111111111111111111000000011111111111000111110111111101100111110111111101100111111111110001111101111111011001111101111111011001111111111111111111111100000001111111111100011111011111110110011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111111011001111111110101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011111111101011001111111111111111111111111111111111101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111111111110101011001011111110111100111110101100111111111111001111111111111111101111101111101111100010001000111111111111110011111010101011101111101111111111111111111111111110111111111110001111111111111111101111001111101011001111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111110111111101100111110111111101100110010101000111010101110001011001011001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100111011111011101111101111101111111011001010101100111011111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111110000000000000000000111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001010101100000000000010000000100000100010111111101000001000111000111110001000111110000000001100001011000010001100001011000010001011111110001110101011110011111010110000111010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000001000100011111111111111001111101010101110111110101111111011111011111110110011111111110000111110111111101100111100111110101100001110101000111010101110001011001011001111111111101111111011111111111111111011111111110000111110111110111110111100111110101100111111111111111111111000000000111111111110001111101111111011001111101111111011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110010111111101011111110111110111111101100101010110000111010101110001011001011001111111110000011110011111010110011110011111010110000100010001010101100110000101100001000111011111011101111101111101111111011001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110011101111101011111110111110111111101100111111111000001111001111101011001111001111101011001110111110111011111011111011111110110011101111101100101010111100111110101100111111111100001111101111111011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111000000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010111111101110111110111110111111101100001110101010000010001100001011000010001111111100000011110011111010110011100011111000100010101011001110111110111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001110111110100000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001010101100101111111011110011111010110011101111100011101010111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100101010110000111010101110001011001011001010101100110010101011100010110010110011111110000000111000101100101100111000101100101100101010110010000010001100001011000010000010001000100000100010000010110000000011110000000000110000101100001000100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011001010101010101100111000101100101100001000100000100010001000001011000000001111100000000011000010110000100011000010110000100010101011001111111111111110111110111110001000100000100010001000001011000000001111111000000011100011111000100011100011111000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110011111111111111101111101111101110111110100000100011100011111000100011111111100000111100111110101100111100111110101100111011111011111111111111111111111111101010101100000000000010000000100000100011111111000000111100111110101010111000111110001000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100111011111010111111101111101111111011001111111110000011110011111010110011110011111010110000111010101000001000110000101100001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001111100010001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111000011111111111111111111111111111100111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111110001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010000000000000101010110010000000100000100011101111101110111110111110111111101100111111100000001110001111100010001110001111100010000000000000101111111011000010101000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000110010101000111010101110001011001011001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100111011111010101011001111001111101011001000001000111011111011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001011111110101010110011110011111010110010111111101111111111111111111111111110111111111110001111111111111111101111001111101011001110111110001000100011100011111000100000111010101110111110111100111110101100111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111011111010101011001111001111101011000010001000101111111011100011111000100011111111000000111100111110101100111000101100101100110010101010101011001110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110000100010001010101100110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100011101111101111111111111111111111111110111111111111101111101111111111111111101111111111111011111111111111111111111011111110110011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111101111101111101110001111100010001000001000101111111011100011111000100010101011000011101010111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010000010001000001000100000101100000000001000100010111111101110001111100010001111100000000011000010110000100011000010110000100010101011000011101010111000101100101100101111111011001010101111001111101011001111111100000011110011111010110011100010110010110011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001010101100110010101011100010110010110010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000100000100010101011001100001011000010001111111111101111111011111111111111111011111111100000111110111110111110111000111110001000100000100010111111101110001111100010001111111111001000100011110011111010101011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110000100010000011101010110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100011111111111010101100111110111110111110000000000010101011001000000010000010001111111000000011100011111000100011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100101010110010111111101111001111101011001000001000111111111111110011111010101011111111100000111110111111101100111000101100101100101010110000000000001000000010000010001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100010101011001111111111111110111110111110001000100010111111101110001111100010001111111110000011110011111010110011110011111010110011111111111111111111111111111111111111101010110010101011001110001011001011001111111111100011111011111011111011111011111011111011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001010101100111111111111111011111011111010000010000010001000100000101100000000111111100000001110001111100010001110001111100010001011111110000000000011000010101000100010000010001100101010110000101100001000111110000000001110001011001011001000001011000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101111111011001010101111001111101011001111111111001000100011110011111010101011111111100000111110111111101100111000101100101100000000000011111111111110001010101010101011111110100000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001000001000110010101011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010001010101100101010110011100010110010110010101011001111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000001000100010000010001000001011000000000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000100000100010000010001000001011000000000010001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111111100000111111111111111111111111111110001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000100010001010101100110000101100001000001000100011111111111111001111101010101111111000000011110011111010110011000010110000100011001010101110111110111100111110101100001110101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100100000100011000010110000100011101111100011101010111100111110101100111111100000001111001111101011001100001011000010001111111111001000100011110011111010101011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101111111111111111111100000000001111111111000011111011111011111011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010111111101111111111111111111111111110101111111000000000001100001010100010001111111110000011111011111011111011100011111000100011101111100011101010111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001000001000100000100010000010110000000011111111110011101010111110111110111110111111100000001110001111100010001110001111100010001110111110111111111111111111111111111010101011001110111110111100111110101100111111111110001111111111111111101111001111101011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101010110011001010101110001011001011000010001000000000000000000000100000000011110000000000110000101100001000100000001000001000100000100000100010001000001011000000000011101010101111111011110011111010110011111100000000111000111110001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010111111101010101100111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110010101011001000001000110000101100001000111011111000000000001100001010100010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111100000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000001110101000111010101110001011001011001000001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011101111101110111110111110111111101100110010101010101011001110001011001011001111111110000011110011111010110011110011111010110000111010100010001000110000101100001000111011111011001010101111001111101011001111111000000011110011111010110011000010110000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111000000011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111000001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100001000100011000010110000100000111010101110111110111100111110101100111111100000001111001111101011001100001011000010001000001000000000000000000000100000000000100010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000101010110010000010001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000000000000011111111111110001010101010100010001000001000100010000010110000000011111000000000110000101100001000110000101100001000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111110000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001000001000001000100010000010110000000010000010001011111110111000111110001000111110000000001100001011000010001100001011000010001110111110101010110011110011111010110000100010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111011111011111111111111111111111111100010001000001110101011000010110000100011111111100000111110111110111110111000111110001000111011111011001010101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111100001111111111111100111111101111111110101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001100101100001000110010110000100010101011000010001000110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111011111010111111101111101111111011001111111111111011111111111111111011111111111111111011111111111111111111100000000011111111110000111110111110111110111100111110101100111111111100001111101111101111101111001111101011001110111110101111111011111011111110110010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001011111110101010110011110011111010110011111111111111111111111111111111111111111111111111001111111111111111101111101111101111101111111111111111111111110000001111111111110011111111111111111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111111111111111111111111100000000000000001111111111111111111111100000001111111111110011111111111111111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011001010101110111110111100111110101100111011111010000010001110001111100010001111111100000011110011111010110011100010110010110000100010000010001000100000101100000000110010101010000010001100001011000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001110111110111011111011111011111110110011111111110011101010111110111110111110111111111110001111101111111011001111101111111011000011101010111111111111111011111011111011001010101011111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111000000001111111111100011111011111110110011111011111110110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000111110001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111111101100111111111010110011111111111111111111111111111111111011001111111110101100111111111111111110101100111111111010110011111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111101011001111111110101100111111111111111111111111111111111110110011111111101011001111111111111111101011001110101100101100001000100000100010001000001011000000000010001000111011111011100011111000100011111000000000110000101100001000110000101100001000110010101000000000001000000010000010001011111110001000100011100011111000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100000000000011001010101000000010000010001111100000000011000010110000100011000010110000100000111010101010101100111000101100101100100000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101010110000100010001100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000101111111010111111101111101111111011000010001000001110101011000010110000100011111111000000111100111110101100111000111110001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011001010101011111110111100111110101100000000000000100010000000000010000000001111100000000011100011111000100010000000100000100011001010101000001000110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111110000000000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001000001000101010110011000010110000100011111111111110111110111111111111111110111111111000001111101111101111101110001111100010000010001000100000100010000010110000000010000010001010101100110000101100001000111100000000001100001011000010001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111011111010101011001111001111101011001010101100001000100011000010110000100011111110000000111100111110101100110000101100001000110010101010101011001110001011001011001010101100101111111011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001011111110101010110011110011111010110010111111100010001000111000111110001000111111110000001111001111101011001110001011001011001110111110111011111011111011111110110000100010001010101100110000101100001000111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100001110101010000010001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111011111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110010101011000010001000110000101100001000101111111010000010001110001111100010001111110000000011100010110010110011000010110000100011001010101011111110111100111110101100101111111010101011001111001111101011001111111110000011111011111110110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000010001000101111111011100011111000100000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001000001000000000000000000000100000000010101011000010001000110000101100001000111000000000001100001011000010000000000010000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010000010000011101010110000101100001000110010101000100010001100001011000010001111100000000011100010110010110010000010110000000000000000000010001000000000001000000000100000100010101011001100001011000010001110000000000011000010110000100000000000100000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001110111110101010110011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111111110000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101111111011111111111111111111111111100000000000001000100000000000100000000011111110000000111100111110101010110000101010001000101111111011001010101111001111101011000010001000110010101011000010110000100011111110000000111100111110101100110000101100001000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110000100010001010101100110000101100001000111011111010000010001110001111100010001111110000000011100010110010110011000010110000100000100010001011111110111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111010000010001110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111011111010101011001111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010101011000000000000100000001000001000111111111110101011001111101111101111101111111000000011100011111000100011100011111000100010111111101000001000111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001010101100110010101011100010110010110010101011001010101100111000101100101100111111100000001110001011001011001110001011001011000000000000101010110010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000010001111001111101010101110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111011111010101011001111001111101011001000001000111111111111110011111010101011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111100000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001011111110111111111111111111111111111010111111101010101100111100111110101100111111111110001111111111111111101111001111101011001100101010101010110011100010110010110000100010001111111111111100111110101010111111110000001111001111101011001110001011001011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100001000100010000010001000001011000000001000001000111011111011100011111000100011111000000000110000101100001000110000101100001000111011111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110010000010001110111110111000111110001000001000100010000010001000001011000000001111100000000011000010110000100011000010110000100000111010100000000000100000001000001000001110101000100010001100001011000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000000011101010101010110011100010110010110000000000001000001000000000001000000000111100000000001100001011000010001000000010000010000000000000001000100000000000100000000010000010000011101010110000101100001000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111100000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000000000000001110111110110000101010001000001110101000111010101110001011001011001111110000000011100010110010110011000010110000100010000010001011111110111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100010101011001000001000110000101100001000111110000000001110001011001011001000001011000000001011111110111011111011111011111110110000111010100000000000100000001000001000111111100000001110001111100010001110001111100010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111100000000000000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000101010110010000010001100001011000010001011111110101111111011111011111110110011111111000000111100111110101100111000111110001000100000100010111111101110001111100010001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010000010001111111111111100111110101010100000100011101111101110001111100010001111111100000011110011111010110011100010110010110010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101111111000111010101111001111101011001100101010101010110011100010110010110011111111000000111100111110101100111000101100101100101111111011101111101111101111111011001110111110100000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010111111101011111110111110111111101100110010101010000010001100001011000010001111111100000011110011111010110011100011111000100000100010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111110111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001000001000000000000000000000100000000010000010000011101010110000101100001000111000000000001100001011000010000000000010000000000000000000101010110010000000100000100000111010101100101010111000101100101100111110000000001100001011000010001100001011000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000000000000010000010000000000010000000000010001000110010101011000010110000100011100000000000110000101100001000000000001000000000001110101000000000001000000010000010001000001000101010110011000010110000100011110000000000110000101100001000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111100000000000000000000000000000000000000000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001000001000100000100010000010110000000000111010100011101010111000101100101100111110000000001100001011000010001100001011000010001100101010001110101011100010110010110000111010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010000010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000110010101010101011001110001011001011001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111000000000000000000111111111111111111111110000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111000000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111110000001111100011001011000010001100101100001000111100001100101100001000100010110000000000000000001110111110110000101010001000100000100000100010001000001011000000001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100111111111111101111101111111111111111101111111111000011111011111011111011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010000000000000100000100000000000100000000000100010001110111110111000111110001000111100000000001100001011000010001000000010000010001011111110111111111111111111111111111010111111101010101100111100111110101100111111111110001111111111111111101111001111101011001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111000111110001000111000111110001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011001010101010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001011111110101010110011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111100000100011110011111010101010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100001110101011111111111111101111101111101100101010101010110011100010110010110011111111100000111100111110101100111100111110101100101010110010111111101111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110010101011000011101010111000101100101100111011111010101011001111001111101011001111111100000011110011111010110011100010110010110010101011001111111111111110111110111110111111111111001010101111101111101111101111111111100011111011111110110011111011111110110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100101111111010000010001110001111100010001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100111011111010101011001111001111101011001110111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111100000000000110000101010001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010111111101110111110111110111111101100101111111000111010101111001111101011001111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001010101100100000100011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010000000000000101010110010000000100000100010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000000000000010111111101100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111110000010001111001111101010101011111110100000100011100011111000100011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110001110101011110011111010110011111111111010101100111110111110111110111111111100001111101111111011001111001111101011001100101010100000100011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000001000100000111010101100001011000010001100101010111011111011110011111010110011111110000000111100111110101100110000101100001000111111111110111111101111111111111111100000000000101010110010000000100000100011111111000000111100111110101010111000111110001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111110000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111111011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100010111111100011101010111100111110101100101010110011001010101110001011001011001111111100000011110011111010110011100010110010110011101111101000001000111000111110001000101111111000111010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001000001000100000100010000010110000000010101011000010001000110000101100001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110000000000001011111110110000101010001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111010101100111110111110111110111111111110111111101111111111111111101111111111110011111111111111111011111011111110110010111111101110111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111111111100000000011111111111000111111111111111110111100111110101100111111111000001111001111101011001111001111101011001110111110100000100011100011111000100000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001110111110101010110011110011111010110011111111111100101010111110111110111110111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111011111011101111101111101111111011001000001000001000100010000010110000000011111110000000111000111110001000111000111110001000101010110010101011001110001011001011000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000100010000011101010110000101100001000001110101000000000001000000010000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000000000000000111010101000000010000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000100000100000000000000000000010000000001011111110001110101011110011111010110011111000000000111000111110001000100000001000001000000000000011101111101100001010100010000011101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011101111101010101100111100111110101100001000100000100010001000001011000000001111110000000011100011111000100011000010110000100011101111101000001000111000111110001000001000100000100010001000001011000000001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111100000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001110111110100000100011100011111000100000100010001100101010110000101100001000111111000000001110001011001011001100001011000010001000001000000000000000000000100000000010111111100010001000111000111110001000111100000000001100001011000010001000000010000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111011111010000010001110001111100010000010001000100000100010000010110000000011111000000000110000101100001000110000101100001000100000100011101111101110001111100010000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100001000100011000010110000100011001010100000000000100000001000001000111100000000001100001011000010001000001011000000000011101010001000100011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000100000100010101011001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000001110101000100010001100001011000010001110111110110010101011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111100000000000000000111111111111111111111110000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111100000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000010101011000010001000110000101100001000101111111011001010101111001111101011001111111000000011110011111010110011000010110000100010000010000000000000000000001000000000001110101000100010001100001011000010001110000000000011000010110000100000000000100000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111011111011111111111111111000100010001110111110111000111110001000111111111100001111101111101111101111001111101011001000001000001000100010000010110000000011001010101010101100111000101100101100111110000000001100001011000010001100001011000010001111111111111111000000000000001111111100000011110011111010110011100011111000100011111110000000111100111110101100110000101100001000111111111111111111111111111100000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100010101011001011111110111100111110101100100000100000100010001000001011000000001111110000000011100011111000100011000010110000100000100010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001100101010111111111111111011111011111010101011000010001000110000101100001000111111110000001111001111101011001110001111100010001010101100001110101011100010110010110011001010101111111111111110111110111110111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111100001111111111111111111111111111110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111111111111111111000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000101111111011101111101111101111111011001010101100111111111111111011111011111011111111111000111110111111101100111110111111101100100000100011101111101110001111100010001000001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100010000010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011101111101011111110111110111111101100101010110011001010101110001011001011001111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100101111111000100010001110001111100010001011111110100000100011100011111000100011111110000000111000101100101100111000101100101100111011111010000010001110001111100010001011111110110010101011110011111010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010101011001111111111111110111110111110110010101010111111101111001111101011001111111111000011111011111110110011110011111010110000100010001011111110111000111110001000111011111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111111111000000000011111111110000111110111111101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001010101100101010110011100010110010110010101011001100101010111000101100101100111111100000001110001011001011001110001011001011001010101100001000100011000010110000100011111111111111111111111111111111111111111111111100001111101111101111101111001111101010101111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100000000000011111111111110001010101010100010001000101010110011000010110000100011111100000000111000101100101100110000101100001000100000100000000000000000000010000000001010101100101111111011110011111010110011111000000000111000111110001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111110000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001000001000001000100010000010110000000010000010001011111110111000111110001000111110000000001100001011000010001100001011000010000010001000001110101011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101111111011101111101111101111111011001010101100001110101011100010110010110011111111100000111100111110101100111100111110101100101111111011001010101111001111101011001000001000101010110011000010110000100011111110000000111100111110101100110000101100001000111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111111111111111111100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100000100010001010101100110000101100001000101111111010101011001111001111101011001111111000000011110011111010110011000010110000100011001010101110111110111100111110101100100000100011101111101110001111100010001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111110011101010111110111110111110111111111111101111111111111111101111111111111111101011111110101010110011110011111010110011111111111000001000111100111110101010111111111000001111101111111011001110001011001011001111111111111111111111100000001111111111100011111111111111111011110011111010110011111111111000111111111111111110111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110010101011001110111110111100111110101100110010101010000010001100001011000010001111111000000011110011111010110011000010110000100010111111100011101010111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001000001000100000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010000010001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000101010110010000010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000100000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010000010001011111110111000111110001000100000100011101111101110001111100010001111111000000011100010110010110011100010110010110010101011000000000000100000001000001000000000000010101011001000000010000010001110000000000010000010110000000010000010110000000011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000101111111000100010001110001111100010001100101010101010110011100010110010110011111110000000111000101100101100111000101100101100111011111011101111101111101111111011001110111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010111111101111111111111111111111111110100000100010000010001000001011000000001111111100000011110011111010101011100011111000100011111111111010101100111110111110111110100000100010101011001100001011000010001111111100000011110011111010110011100011111000100011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011111111101011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000000000000110010101010000000100000100010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001000001000001000100010000010110000000000100010001000001000100000101100000000111000000000001000001011000000001000001011000000001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000000000000000111010101000000010000010000010001000000000000000000000100000000011000000000000100000101100000000000000001000000000001000100000100010001000001011000000001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111000000000000000000000000111000000000001000001011000000001000001011000000001100000000000010000010110000000000000000100000000011111111111111110000000000000000000000000000000000000000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001000001000101010110011000010110000100000000000000011101010100000001000001000111100000000001100001011000010001000001011000000001000001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000101010110010000010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000110010101011101111101111001111101011000000000000001000100000000000100000000011111000000000111000111110001000100000001000001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111110000000000000000000000111111111111111111111000000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001111111111111111111100000000000011111111110000001111100011001011000010001100101100001000111100001100101100001000100010110000000011111111100000001111000011001011000010001000101100000000111100001100101100001000100010110000000000100010000010001000100000101100000000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011101111101110111110111110111111101100101111111010101011001111001111101011001111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001110111110101010110011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001111111111100000100011110011111010101011001010101000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010101011001111111111111110111110111110101010110010000010001100001011000010001111111100000011110011111010110011100011111000100010101011000011101010111000101100101100110010101000111010101110001011001011001111111000000011100010110010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100101010110011100010110010110011101111101000001000111000111110001000111111100000001110001011001011001110001011001011000011101010001000100011000010110000100010101011001100101010111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111101111111011101011001011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111110111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100000000000010111111101100001010100010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000001000100010101011001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010000010001000001000100000101100000000000000000010000010000000000010000000001100000000000010000010110000000000000000100000000000100010001010101100110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111110000000000000000000000011110000000000110000101100001000100000101100000000110000000000001000001011000000000000000010000000001111111111111111110000000000000000000000000000000000000000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000110010101010000010001100001011000010000010001000101010110011000010110000100011111000000000111000101100101100100000101100000000101010110000111010101110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011101111101110111110111110111111101100001000100010000010001000001011000000001111111000000011100011111000100011100011111000100000000000000000000000000000000000000000111111111110000010001111001111101010101111000000000011000010101000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001110111110101010110011110011111010110010101011000010001000110000101100001000111111100000001111001111101011001100001011000010001011111110111011111011111011111110110010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101111111000100010001110001111100010001110111110101010110011110011111010110011111111000000111100111110101100111000101100101100101111111010101011001111001111101011001011111110111011111011111011111110110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110011111111111110111110111111111111111110111111111110001111111111111111101111001111101011001010101100101010110011100010110010110011101111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100101010110010000010001100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000100000100000100010001000001011000000001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001111100010001111110000000011100011111000100011000010110000100011111111111111000000000000000011111110000000111000111110001000111000111110001000111111000000001110001111100010001100001011000010001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111010101100111110111110111110100000100000000000000000000010000000001111110000000011100011111000100011000010101000100010101011000010001000110000101100001000111111111110101011001111101111101111101111111100000011110011111010110011100011111000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001010101100101111111011110011111010110010101011001010101100111000101100101100111111110000001111001111101011001110001011001011001010101100111011111011110011111010110010111111101010101100111100111110101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110000100010001100101010110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001010101100001110101011100010110010110011101111101010101100111100111110101100111111110000001111001111101011001110001011001011001010101100101010110011100010110010110000111010100010001000110000101100001000111111000000001110001011001011001100001011000010001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100001110101000111010101110001011001011000011101010111011111011110011111010110011111111000000111100111110101100111000101100101100111011111010111111101111101111111011001011111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110010000010001010101100110000101100001000100000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100001000100010101011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000110010101000111010101110001011001011001100101010101111111011110011111010110011111111000000111100111110101100111000101100101100100000100011111111111111001111101010100011101010000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011001010101010101100111000101100101100111111111100100010001111001111101010101111111100000011110011111010110011100010110010110010101011001010101100111000101100101100111111111111001010101111101111101111101111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111000000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001000001000101010110011000010110000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010000010001000101010110011000010110000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000110010101000000000001000000010000010000010001000101010110011000010110000100011110000000000110000101100001000100000101100000000001000100010101011001100001011000010000000000000100000100000000000100000000011100000000000110000101100001000000000001000000000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000010000010110000000010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000001011000000001100101010001000100011000010110000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010001100101010110010101011100010110010110011001010100011101010111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000101010110010000010001100001011000010001111111111100000100011110011111010101011111110000000111100111110101100110000101100001000001000100011101111101110001111100010000000000000100000100000000000100000000011110000000000110000101100001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111110000000000000111111111111111111111111100000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000000100010001011111110111000111110001000100000100000111010101100001011000010001111110000000011100010110010110011000010110000100011101111101111111111111111111111111110101111111010111111101111101111111011001111111111110011111111111111111011111011111110110011111111111111111110000000000011111111110000111110111110111110111100111110101100111111110000001111001111101011001110001111100010001100101010101111111011110011111010110000100010001011111110111000111110001000111111110000001111001111101011001110001011001011001010101100001000100011000010110000100000100010001100101010110000101100001000111110000000001110001011001011001000001011000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011001010100010001000110000101100001000000000000000111010101000000010000010001111000000000011000010110000100010000010110000000011001010100010001000110000101100001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001110111110111011111011111011111110110010000010000011101010110000101100001000111111110000001111001111101011001110001111100010000000000000001000100000000000100000000000000000001010101100100000001000001000110000000000001000001011000000000000000010000000001111111111100000000000000000001111110000000011100011111000100011000010110000100011110000000000110000101100001000100000001000001000111111111111111111110000000000000000000000000000000000000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111110000000001111111111111111111111111111000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111110001111111011111111101011001100101100001000111110001100101100001000110010110000100011111111111111111111111111000000111111111111100011111110111111111010110011001011000010001111100011001011000010001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000001000100000111010101100001011000010001110111110110010101011110011111010110011111110000000111100111110101100110000101100001000111011111000000000001100001010100010001100101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000100000100000100010001000001011000000001110000000000010000010110000000010000010110000000010111111101110111110111110111111101100001000100000111010101100001011000010001111111100000011110011111010110011100011111000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111110000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000110010101010111111101111001111101011001111111111110010101011111011111011111011111111110000111110111111101100111100111110101100110010101011101111101111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110000100010000000000000000000001000000000101111111010101011001111001111101011001111100000000011100011111000100010000000100000100000100010001110111110111000111110001000101111111010111111101111101111111011001111111110000011110011111010110011110011111010110011111111111111100000000000000011111110000000111100111110101100110000101100001000111111100000001111001111101011001100001011000010001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111110111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111011111111111111111010110011101011001011001111110011101011001011001100101100001000111111111111111111111111111111101111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010001111111111111110111111111111111110101100111010110010110011111100111010110010110011001011000010000000000000101010110010000000100000100000111010101010101100111000101100101100111110000000001100001011000010001100001011000010000011101010001000100011000010110000100010000010000011101010110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000110010101010000010001100001011000010001000001000101010110011000010110000100011111000000000111000101100101100100000101100000000110010101000000000001000000010000010001000001000101111111011100011111000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001010101100101111111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011000011101010100000100011000010110000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111011111010000010001110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000101010110000100010001100001011000010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111100000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111100010001000111000111110001000110010101010000010001100001011000010001111110000000011100010110010110011000010110000100011101111100010001000111000111110001000111011111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000001000100010000010110000000000000000001010101100100000001000001000111000000000001000001011000000001000001011000000001010101100001110101011100010110010110000000000001010101100100000001000001000111110000000001100001011000010001100001011000010001111111110000000000000000000001111000000000011000010110000100010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100010000010000000000000000000001000000000001000100010111111101110001111100010001111000000000011000010110000100010000000100000100010101011001000001000110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001010101100001000100011000010110000100011101111100010001000111000111110001000111111000000001110001011001011001100001011000010001110111110110010101011110011111010110000100010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000001000100000111010101100001011000010001000001000001000100010000010110000000011110000000000110000101100001000100000101100000000110010101010000010001100001011000010000011101010101010110011100010110010110011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010000010001010101100110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000010101011001010101100111000101100101100001110101010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111110000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000100000100000000000000000000010000000001100101010001000100011000010110000100011100000000000110000101100001000000000001000000000101111111000111010101111001111101011000010001000000000000000000000100000000011111000000000111000111110001000100000001000001000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000010101011001000001000110000101100001000100000100010111111101110001111100010001111110000000011100010110010110011000010110000100000000000000011101010100000001000001000100000100011101111101110001111100010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111110000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111100000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000000010001000001110101011000010110000100000100010001100101010110000101100001000111110000000001110001011001011001000001011000000001110111110101010110011110011111010110011001010101011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000100000100000000000000000000010000000001000001000000000000000000000100000000010000000000000100000101100000000000000000000000000111011111010000010001110001111100010000010001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111000000000000000000000111100000000001100001011000010001000000010000010001111000000000011000010110000100010000000100000100011111111111111111111111110000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001010101100001000100011000010110000100011101111101010101100111100111110101100111111100000001111001111101011001100001011000010001110111110110010101011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111011111000000000001100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111011111010000010001110001111100010000011101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111101111111111111111111111111110110010101000100010001100001011000010001111111110000011111011111011111011100011111000100010111111101010101100111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010000010001000001110101011000010110000100010111111101000001000111000111110001000111111000000001110001011001011001100001011000010000010001000100000100010000010110000000000000000000010001000000000001000000000110000000000001000001011000000000000000010000000001111111110000000000000000000001111100000000011000010110000100011000010110000100011100000000000110000101100001000000000001000000000111111111111111111111111110000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100000000000001000001000000000001000000000001110101010111111101111001111101011001111100000000011100011111000100010000000100000100000000000001110111110110000101010001000001110101010111111101111001111101011001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000010001000100000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001010101100101010110011100010110010110000100010000010001000100000101100000000111110000000001100001011000010001100001011000010001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111110000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000001110101000111010101110001011001011001011111110111111111111111111111111111011111111110000111110111110111110111100111110101100101010110000100010001100001011000010001000001000101111111011100011111000100011111100000000111000101100101100110000101100001000111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100000100010000011101010110000101100001000101010110000100010001100001011000010001111100000000011100010110010110010000010110000000000111010101000001000110000101100001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000101010110000111010101110001011001011000000000000111011111011000010101000100011111100000000111000101100101100110000101100001000101111111000100010001110001111100010001000001000101111111011100011111000100011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010000010000010001000100000101100000000001110101000100010001100001011000010001111000000000011000010110000100010000010110000000000100010001010101100110000101100001000101010110010000010001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100111011111011110011111010110010000010001010101100110000101100001000111111100000001111001111101011001100001011000010001000001000101010110011000010110000100000111010101011111110111100111110101100111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100101010110010101011001110001011001011001000001000111011111011100011111000100011111110000000111000101100101100111000101100101100101010110000000000001000000010000010001000001000001000100010000010110000000011100000000000100000101100000000100000101100000000111111111110000000000000000000111110000000001100001011000010001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100011001010101011111110111100111110101100111111100000001111001111101011001100001011000010001011111110101010110011110011111010110010101011001000001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111011111011111111111111111111111111101111111111001110101011111011111011111011111111111100111111111111111110111110111111101100001110101010111111101111001111101011001110111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111001111101011001111001111101011001111111110000011110011111010110011110011111010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111110101100111010110010110011111110111111111010110011001011000010001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111101111111110101100110010110000100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100000100010001011111110111000111110001000001000100010111111101110001111100010001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100111011111000000000001100001010100010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001100101010101111111011110011111010110000000000000011101010100000001000001000111111000000001110001111100010001100001011000010001010101100111011111011110011111010110010111111101000001000111000111110001000111111110000001111001111101011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011101111100000000000110000101010001000101010110000000000001000000010000010001111000000000011000010110000100010000010110000000011101111100010001000111000111110001000000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001110111110101010110011110011111010110010000010000011101010110000101100001000111111100000001111001111101011001100001011000010001000001000000000000000000000100000000010111111101011111110111110111111101100111111000000001110001111100010001100001010100010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111100011111111111111101111111111111111101011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000001000100010111111101110001111100010000000000000000000000000000000000000000011100000000000100000001000001000100000001000001000101010110000000000001000000010000010000011101010000000000010000000100000100011100000000000100000101100000000100000101100000000111111100000000000000000000000111000000000001000001011000000001000001011000000001110000000000010000010110000000010000010110000000010000010000000000000000000001000000000001000100011001010101100001011000010001110000000000011000010110000100000000000100000000010101011000010001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001111111111111111100000000000000000000000000000000000000000000011111111000000000000000000000011110000000000110000101100001000100000101100000000111000000000001000001011000000001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000101010110010000010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000100000100010111111101110001111100010000011101010000000000010000000100000100011111000000000110000101100001000110000101100001000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000010101011001000001000110000101100001000000000000000100010000000000010000000001110000000000011000010110000100000000000100000000011001010101011111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111110000000000000000000000011111111111111111111000000000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111000000011110000110010110000100010001011000000001111000011001011000010001000101100000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111100001100101100001000100010110000000011110000110010110000100010001011000000001000001000001000100010000010110000000011111111111111111111111111111111111111111111111000001111001111101010101111001111101010101010101100111011111011110011111010110010101011000011101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100001000100010000010001000001011000000001010101100001000100011000010110000100011110000000000110000101100001000100000101100000000101010110010101011001110001011001011000000000000111011111011000010101000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001000001000101010110011000010110000100011101111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111101111111011111111111111111010000010000011101010110000101100001000111111111000001111101111101111101110001111100010001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111111010101100111111111111111011111011111011111111111110111111111111111110111111111111111110111011111011101111101111101111111011001011111110111011111011111011111110110011111111111000111110111111101100111110111111101100111111111111111111111111100000111111111111001111111111111111101111101111111011001111111111110011111111111111111011111011111110110011111111111111111111111111111111111111111111100000000000000000111111111111111111111100000000111111111110001111111111111111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011111111101011001111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001111111110101100111111111111111110101100111111111010110011111111111111111111111111111111101011001111111110101100111111101111111110101100110010110000100011101111100000000000110000101010001000110010101011101111101111001111101011001111111000000011110011111010110011000010110000100010101011001010101100111000101100101100000000000010000010000000000010000000001111000000000011000010110000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001110111110100000100011100011111000100010101011000000000000100000001000001000111110000000001100001011000010001100001011000010000011101010101010110011100010110010110000000000000010001000000000001000000000111100000000001100001011000010001000000010000010001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111110000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000010111111101000001000111000111110001000101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100001000100011111111111111001111101010101111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011000010001000100000100010000010110000000010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001010101100100000100011000010110000100000000000000011101010100000001000001000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111111111111111111111111111100000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111110000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111011111011101111101111101111111011000011101010001000100011000010110000100011111111000000111100111110101100111000111110001000111011111000100010001110001111100010001010101100111011111011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110010101011001000001000110000101100001000101010110011101111101111001111101011001111111000000011110011111010110011000010110000100000111010101010101100111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111111111111111111111100000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111011111011101111101111101111111011000010001000100000100010000010110000000011111110000000111000111110001000111000111110001000000000000011111111111110001010101010101010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110010000010001011111110111000111110001000111111111100000000001110001010101010101111111000000011100010110010110011100010110010110000111010101010101100111000101100101100111111111110101011001111101111101111101111111110000011110011111010110011110011111010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111011111110111010110010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111110111111101110101100101100111010110010110011111110111010110010110011101011001011001011111110001000100011100011111000100011111111110000000000111000101010101010111111100000001110001011001011001110001011001011000000000000101010110010000000100000100000100010000011101010110000101100001000111100000000001100001011000010001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000000000000000100010000000000010000000001010101100000000000010000000100000100011000000000000100000101100000000000000001000000000101010110011111111111111101111101111100000000000000000000000000000000000000011111000000000110000101010001000110000101010001000111111110000000000000000000000111100000000001100001011000010001000001011000000001110000000000011000010110000100000000000100000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000000011101010001000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001000001000101010110011000010110000100010000010000010001000100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000001110101011001010101110001011001011000000000000101010110010000000100000100011111000000000110000101100001000110000101100001000100000100000100010001000001011000000001010101100000000000010000000100000100011100000000000100000101100000000100000101100000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111111111111110000000000000000000000000000000000000000000111111111000000000000000000000111110000000001110001011001011001000001011000000001110000000000010000010110000000010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001111111111111111111111111111111111111111100000000000000000000000111111111111111111110000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111110000000111110001110101100101100100010110000000011100000100010110000000010001011000000001111111111111111111100000000000011111111110000001111100011101011001011001000101100000000111100001100101100001000100010110000000011111111100000001111100011101011001011001000101100000000111000001000101100000000100010110000000010101011000010001000110000101100001000001000100011111111111111001111101010101111111000000011110011111010110011000010110000100011101111101100101010111100111110101100110010101010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111101010110011111011111011111000111010101111111111111110111110111110111111111110001111101111111011001111101111111011001011111110000000000011000010101000100011111111111110111110111111111111111110111111111000001111101111101111101110001111100010001111111111111111111110000000001111111111000011111011111110110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100010110010110010111111100000000000110000101010001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100011111111111010101100111110111110111110101111111000100010001110001111100010001111111110000011110011111010110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111001110101011111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001010101100111111111111111011111011111010101011001010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111111111111111111111100000000000000000000000001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100101111111010101011001111001111101011001000001000001110101011000010110000100011111110000000111100111110101100110000101100001000111011111010000010001110001111100010001100101010100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100000111010100010001000110000101100001000001000100010101011001100001011000010001111100000000011100010110010110010000010110000000000100010001010101100110000101100001000111011111011101111101111101111111011001111111100000011110011111010110011100011111000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111100000000000000000000000000000000011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000101010110010000010001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000110010101010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000010111111101000001000111000111110001000101010110011001010101110001011001011001111111000000011100010110010110011100010110010110000100010001011111110111000111110001000001000100000000000000000000010000000001111000000000011000010110000100010000000100000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111111111111111111111111111111110000000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001011111110111111111111111111111111111011001010101110111110111100111110101100111111111110001111111111111111101111001111101011001000001000001110101011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111100111110101100111100111110101100101111111000000000001100001010100010001010101100100000100011000010110000100011111000000000111000101100101100100000101100000000111111111111101111101111111111111111100011101010101111111011110011111010110011111111111000111111111111111110111100111110101100111111111111111110000000000000111111110000001111001111101011001110001111100010001111111100000011110011111010110011100011111000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001011111110111011111011111011111110110010101011001011111110111100111110101100111111111100001111101111111011001111001111101011001011111110101010110011110011111010110011101111101110111110111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100111011111010101011001111001111101011001100101010111011111011110011111010110011111111100000111110111111101100111000101100101100000000000011111111111110001010101010101010101100100000100011000010110000100011111100000000111000101100101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111111101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011001010100000000000100000001000001000110010101010101011001110001011001011001111100000000011000010110000100011000010110000100011111111110000000000111000101010101010000000000010111111101100001010100010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000011101010100000100011000010110000100010111111100010001000111000111110001000111111000000001110001011001011001100001011000010001010101100001000100011000010110000100011101111101111111111111111111111111110111111111000001111101111101111101110001111100010001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100000000000001110111110110000101010001000001000100010000010001000001011000000001111000000000011000010110000100010000010110000000010101011001111111111111110111110111110101111111000111010101111001111101011001111111111000011111011111110110011110011111010110011111111111111100000000000000011111111000000111100111110101100111000111110001000111111000000001110001111100010001100001011000010001010101100100000100011000010110000100000100010000010001000100000101100000000111100000000001100001011000010001000001011000000001010101100111011111011110011111010110010000010000010001000100000101100000000111111000000001110001111100010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111111100000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111111111111111111110000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000101111111000100010001110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000001000100010101011001100001011000010000010001000001110101011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010001000001000100000101100000000101010110000100010001100001011000010001111000000000011000010110000100010000010110000000000100010001110111110111000111110001000000000000010101011001000000010000010001111100000000011000010110000100011000010110000100011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111100000000000000000000000000000000000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000101111111010101011001111001111101011001010101100100000100011000010110000100011111110000000111100111110101100110000101100001000100000100010000010001000001011000000000000000000001000100000000000100000000011000000000000100000101100000000000000001000000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000000100000100000000000000000000000000000000000000000000000000010111111101100001010100010001100000000000010000000100000100000000000100000000010101011000011101010111000101100101100101010110010000010001100001011000010001111110000000011100010110010110011000010110000100011111111100000000000000000000011111000000000110000101100001000110000101100001000111000000000001100001011000010000000000010000000001111111111111111111100000000000000000000000000000000000000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111110000000000000000000001111100000000011100010110010110010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111111111111111111111111110000000000000000000011111111111111111111110000000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111100000011111000111010110010110010001011000000001111000011001011000010001000101100000000111111111111111111111000000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000001010101100001000100011000010110000100011111111111010101100111110111110111110111111110000001111001111101011001110001111100010001111111111110010101011111011111011111011001010101010101100111000101100101100111111111000001111001111101011001111001111101011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111011111000000000001100001010100010000011101010111011111011110011111010110011111110000000111100111110101100110000101100001000111111111100100010001111001111101010101111111111100000100011110011111010101011111111100000111110111111101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111101111111011111111111111111010101011000010001000110000101100001000111111111000001111101111101111101110001111100010000011101010101111111011110011111010110011111111110010001000111100111110101010111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100110010101011111111111111101111101111101011111110101111111011111011111110110011111111111000111110111111101100111110111111101100100000100011101111101110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000111111111111111111000000000000111111111000001111001111101011001111001111101011001111111100000011110011111010110011100011111000100011111111111111111111111111111111111111000000000000000000000000111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111000001000111100111110101010110010101010000010001100001011000010001111111000000011110011111010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000100000100010000010110000000000100010001000001000100000101100000000111000000000001000001011000000001000001011000000001010101100100000100011000010110000100011101111101000001000111000111110001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011000010110000100011000010110000100011101111100011101010111100111110101100001000100010000010001000001011000000001111110000000011100011111000100011000010110000100000000000001010101100100000001000001000001000100010101011001100001011000010001111000000000011000010110000100010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001000001000100000100010000010110000000010101011001110111110111100111110101100111111000000001110001111100010001100001011000010000000000000101010110010000000100000100000100010001000001000100000101100000000111000000000001000001011000000001000001011000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111100000000000000000000111110000000001110001011001011001000001011000000001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111000000000000001111111111111111111111111000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111100111010110010110011001011000010001111000011001011000010001000101100000000101111111011111111111111111111111111100010001000101111111011100011111000100011111111110000111110111110111110111100111110101100101010110000111010101110001011001011001110111110101111111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111110000000000111111111100001111101111111011001111001111101011001111111110000011111011111110110011100010110010110010101011001010101100111000101100101100101010110010101011001110001011001011001111111000000011100010110010110011100010110010110010111111101111111111111111111111111110001110101000100010001100001011000010001111111110000011111011111011111011100011111000100011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111110101011001111101111101111101010101100111111111111111011111011111011111111111000111110111111101100111110111111101100101111111010111111101111101111111011001010101100111011111011110011111010110011111111110000111110111111101100111100111110101100111111111111111111111100000000111111111110001111101111111011001111101111111011001111111111000011111011111110110011110011111010110011101111101010101100111100111110101100110010101011111111111111101111101111101111111111000011111011111110110011110011111010110000100010001110111110111000111110001000101010110011001010101110001011001011001111111000000011100010110010110011100010110010110011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111100000000000000000000011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011111111101011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111111111010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001100101010000000000010000000100000100000100010001111111111111100111110101010111111000000001110001111100010001100001011000010001110111110000000000011000010101000100000000000001011111110110000101010001000111110000000001110001011001011001000001011000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000001000100000100010001000001011000000001011111110001110101011110011111010110011111100000000111000111110001000110000101100001000001000100000000000000000000010000000001110111110101010110011110011111010110011111000000000111000111110001000100000001000001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111110000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001000001000101010110011000010110000100000100010000000000000000000001000000000111000000000001100001011000010000000000010000000001010101100001000100011000010110000100000111010100011101010111000101100101100111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000101010110010000010001100001011000010000010001000000000000000000000100000000011100000000000110000101100001000000000001000000000101111111011111111111111111111111111101000001000101010110011000010110000100011111111100000111110111110111110111000111110001000111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111100000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111100000000000000111111111111111111111111100000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111100000111110001110101100101100100010110000000011111000111010110010110010001011000000001111111111111111111111110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111000001111100011101011001011001000101100000000111110001110101100101100100010110000000000100010001110111110111000111110001000111011111010000010001110001111100010001111111000000011100010110010110011100010110010110010101011000000000000100000001000001000101010110010101011001110001011001011001111100000000011000010110000100011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010000000000000110010101010000000100000100011101111100010001000111000111110001000111110000000001100001011000010001100001011000010000011101010001000100011000010110000100010101011000000000000100000001000001000111100000000001100001011000010001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000111111111111111111111111000000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010111111101000001000111000111110001000111011111000100010001110001111100010001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100101010110000100010001100001011000010001111111100000011110011111010110011100011111000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011000010001000100000100010000010110000000000100010000011101010110000101100001000111100000000001100001011000010001000001011000000001011111110001000100011100011111000100010101011001010101100111000101100101100111111100000001110001011001011001110001011001011001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111111110000000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111100000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000000000000011101111101100001010100010000000000000101111111011000010101000100011111000000000111000101100101100100000101100000000101111111010101011001111001111101011001011111110110010101011110011111010110011111111100000111110111111101100111000101100101100111111111111111000000000000000111111100000001111001111101011001100001011000010001111111000000011110011111010110011000010110000100011111111111000001000111100111110101010101111111011101111101111101111111011001111111111000011111011111110110011110011111010110011101111101110111110111110111111101100101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001111111111111111111111111111111111111000000000000000000000000011111111111111111100000000000011111111100000111100111110101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100001110101010101011001110001011001011000010001000101111111011100011111000100011111110000000111000101100101100111000101100101100101010110000100010001100001011000010001010101100001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011101111101011111110111110111111101100101010110000111010101110001011001011001111111110000011110011111010110011110011111010110010101011001111111111111110111110111110101010110011111111111111101111101111101111111111100011111011111110110011111011111110110011111111111111111111100000000011111111110000111110111111101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001110111110101010110011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001011111110001000100011100011111000100010111111101110111110111110111111101100111111111000001111001111101011001111001111101011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100001110101011001010101110001011001011001010101100100000100011000010110000100011111100000000111000101100101100110000101100001000100000100010111111101110001111100010001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111100000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111000000111100111110101100111000101100101100111111110000001111001111101011001110001011001011000010001000111011111011100011111000100010101011000010001000110000101100001000111111000000001110001011001011001100001011000010001010101100111111111111111011111011111010111111101010101100111100111110101100111111111100001111101111111011001111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000101010110011001010101110001011001011001011111110101010110011110011111010110011111111000000111100111110101100111000101100101100111011111010111111101111101111111011001110111110101010110011110011111010110011111111110000111110111111101100111100111110101100111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111110110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110000100010000000000000000000001000000000111011111010101011001111001111101011001111100000000011100011111000100010000000100000100011101111101010101100111100111110101100101010110000100010001100001011000010001111111000000011110011111010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001011111110111011111011111011111110110011101111101010101100111100111110101100111111111100001111101111111011001111001111101011001010101100000000000010000000100000100010101011001011111110111100111110101100111111000000001110001111100010001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111100000000000000000000000000000001111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100000111010101011111110111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110011101111101110111110111110111111101100000000000011101111101100001010100010001111111100000011110011111010110011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001100101010001000100011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001111111111111111111111111111111111111110101011000010001000110000101100001000111111111100001111101111101111101111001111101010101111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111110000000000000000000000001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101010110011111111111111101111101111101110111110111011111011111011111110110011111111111000111110111111101100111110111111101100101010110010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110000111010101010101100111000101100101100111111111100111010101111101111101111101111111110000011110011111010110011110011111010110000111010101111111111111110111110111110101111111011111111111111111111111111101111111111110011111111111111111011111011111110110011111111111111111111110000000011111111111000111111111111111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111111111111111111111111111111100000000000000000011111111111111111111110000000011111111111000111110111111101100111110111111101100111111111100001111101111111011001111001111101011001111111111111111111110000000001111111111100011111011111110110011111011111110110011111111100000111110111111101100111000101100101100100000100010111111101110001111100010001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111110000010001111001111101010101010101100000000000010000000100000100011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100010111111101100101010111100111110101100000000000010000010000000000010000000001111100000000011100011111000100010000000100000100010101011001110111110111100111110101100101111111010111111101111101111111011001111111111000011111011111110110011110011111010110011111111111111110000000000000011111111000000111100111110101100111000111110001000111111100000001111001111101011001100001011000010001111111111111111111111111111111000000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111010110011111111101011001111111111111111101011001111111110101100111111111111111111111111111111111010110011111111101011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111111111010110011111111111111111010110011101011001011001010101100101010110011100010110010110010111111101000001000111000111110001000111111100000001110001011001011001110001011001011000000000000001000100000000000100000000010000010000010001000100000101100000000110000000000001000001011000000000000000010000000001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000001000001000001000100010000010001000001011000000001000001000100000100010000010110000000011100000000000100000101100000000100000101100000000101010110011111111111111101111101111100000000000001000100000000000100000000011111100000000111000111110001000110000101010001000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111100000000000000000000000000000000000000000111111111110000000000000000000111110000000001110001011001011001000001011000000001111100000000011100010110010110010000010110000000011111111100000000000000000000011111000000000111000101100101100100000101100000000111000000000001000001011000000001000001011000000001010101100111111111111111011111011111000111010101110111110111100111110101100111111111100001111101111111011001111001111101011001000001000111111111111110011111010101010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000001110101011001010101110001011001011000000000000101111111011000010101000100011111100000000111000101100101100110000101100001000100000100010000010001000001011000000001110111110100000100011100011111000100011111000000000110000101100001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111100000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111100111110101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111000000000000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111111111111111111000000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010000010001010101100110000101100001000101010110010111111101111001111101011001111111000000011110011111010110011000010110000100011101111101000001000111000111110001000101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001110111110000000000011000010101000100000100010001011111110111000111110001000111111000000001110001011001011001100001011000010001000001000000000000000000000100000000011111111111111111111111111111111111111111111110000001111001111101010101110001010101010101111111111111110000000000000001111111100000011110011111010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011101111101110111110111110111111101100111111111110111111101111111111111111101111111111110011111111111111111011111011111110110000111010100000000000100000001000001000101111111010111111101111101111111011001111111000000011100011111000100011100011111000100011111111111111111111000000000011111111110000111110111110111110111100111110101100111111111000001111001111101011001111001111101011001111111111001110101011111011111011111010111111101011111110111110111111101100111111111110001111101111111011001111101111111011001010101100101010110011100010110010110000100010001110111110111000111110001000111111100000001110001011001011001110001011001011001111111111111111111000000000001111111110000011110011111010110011110011111010110011111111100000111100111110101100111100111110101100111111111111111111111111111111111111111100000000000000000000001111111111111111111100000000001111111111000011111011111110110011110011111010110011111111100000111110111111101100111000101100101100111111111111111111100000000000111111111000001111101111111011001110001011001011001111111110000011111011111110110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001111111110101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100101010110000100010001100001011000010000000000000101111111011000010101000100011111000000000111000101100101100100000101100000000111011111000000000001100001010100010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010001000001000100000101100000000000000000000100010000000000010000000001100000000000010000010110000000000000000100000000000100010001010101100110000101100001000111011111011111111111111111111111111101111111110000011111011111011111011100011111000100011111111111100000000000000000011111100000000111000111110001000110000101100001000111110000000001110001111100010001000000010000010001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000110010101010101011001110001011001011001011111110111011111011111011111110110011111111100000111100111110101100111100111110101100000000000011101111101100001010100010001010101100000000000010000000100000100011110000000000110000101100001000100000101100000000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100010111111101000001000111000111110001000101010110011101111101111001111101011001111111100000011110011111010110011100010110010110000100010000010001000100000101100000000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111000000000000000000000000000000000011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111111111111111111110000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001010101100100000100011000010110000100010000010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000101111111011100011111000100010000010001010101100110000101100001000111111000000001110001011001011001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010101011001110001011001011001000001000000000000000000000100000000011110000000000110000101100001000100000001000001000110010101011101111101111001111101011000011101010101010110011100010110010110011111111000000111100111110101100111000101100101100111111111111100000000000000000111111100000001111001111101011001100001011000010001111100000000011000010110000100011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111100000001110001011001011001110001011001011001111100000000011100010110010110010000010110000000011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001110111110000000000011000010101000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001011111110110010101011110011111010110000100010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111011111010101011001111001111101011001100101010111111111111111011111011111011111111110000111110111111101100111100111110101100000000000010101011001000000010000010001110111110000000000011000010101000100011110000000000110000101100001000100000101100000000111111111111111000000000000000111111110000001111001111101011001110001111100010001111110000000011100011111000100011000010110000100011111111111111111111111111100000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111111111110000000000111111111111111111111111111000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011101111101011111110111110111111101100100000100011101111101110001111100010001111111110000011110011111010110011110011111010110011111111111000001000111100111110101010101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011000010001000001000100010000010110000000010101011001010101100111000101100101100111110000000001100001011000010001100001011000010001010101100001000100011000010110000100011101111101110111110111110111111101100111111110000001111001111101011001110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111000000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100010101011000000000000100000001000001000100000100010101011001100001011000010001111000000000011000010110000100010000010110000000010101011001010101100111000101100101100101111111010101011001111001111101011001111111100000011110011111010110011100010110010110011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100000100010000000000000000000001000000000111000000000001100001011000010000000000010000000001010101100100000100011000010110000100000000000001010101100100000001000001000111100000000001100001011000010001000001011000000001111111100000000000000000000001111000000000011000010110000100010000010110000000011100000000000100000101100000000100000101100000000111111111111111111111100000000000000000000000000000000000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011111111101011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111111111010110011001011000010001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011001011000010001100101100001000001110101000000000001000000010000010000011101010100000100011000010110000100011110000000000110000101100001000100000101100000000100000100010111111101110001111100010000010001000101010110011000010110000100011111100000000111000101100101100110000101100001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000000000000000010001000000000001000000000100000100010000010001000001011000000001100000000000010000010110000000000000000100000000010101011001110111110111100111110101100001000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111110000000000000000000011111000000000110000101100001000110000101100001000111100000000001100001011000010001000000010000010001111111111111111111111000000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111000000000000000000001111100000000011100010110010110010000010110000000011110000000000110000101100001000100000101100000000001110101010101011001110001011001011001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000100000100000111010101100001011000010001100101010001000100011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000000100010001100101010110000101100001000101010110010101011001110001011001011001111110000000011100010110010110011000010110000100010000010001000001000100000101100000000101010110011001010101110001011001011001111100000000011000010110000100011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000001111111111111111111111111000000000000000000000000000000000000011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000111111111111111111111111111111111111111111111111000000000000000011111111111111111111111100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000111111111110000011111000111010110010110010001011000000001111100011101011001011001000101100000000111111111111111111111110000000001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001111111111000000111110001110101100101100100010110000000011110000110010110000100010001011000000000010001000001110101011000010110000100011101111101011111110111110111111101100111111110000001111001111101011001110001111100010001010101100111011111011110011111010110011001010101100101010111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111111111110101011001111101111101111100010001000101111111011100011111000100011111111100000111100111110101100111100111110101100101111111000100010001110001111100010001110111110100000100011100011111000100011111110000000111000101100101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001011111110100000100011100011111000100010101011001011111110111100111110101100111111110000001111001111101011001110001011001011001111111111110010101011111011111011111000111010100010001000110000101100001000111111110000001111001111101011001110001111100010001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100111011111000111010101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100101010110010101011001110001011001011001010101100101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111000000000000000000000000000111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111011111110111111111111111110100000100010111111101110001111100010001111111111000011111011111011111011110011111010110010101011001010101100111000101100101100110010101011101111101111001111101011001111111100000011110011111010110011100010110010110011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011000011101010001000100011000010110000100000000000000010001000000000001000000000111000000000001100001011000010000000000010000000000010001000101111111011100011111000100011001010101000001000110000101100001000111111000000001110001011001011001100001011000010001111111111000000000000000000001111100000000011000010110000100011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111111000000000000000000000000000000001111111111111110000000000000001111111000000011110011111010110011000010110000100011111110000000111100111110101100110000101100001000111111111111110000000000000000111111100000001111001111101011001100001011000010001111110000000011100011111000100011000010110000100010101011000000000000100000001000001000001000100000100010001000001011000000001110000000000010000010110000000010000010110000000011001010100010001000110000101100001000111011111010101011001111001111101011001111111000000011110011111010110011000010110000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001010101100100000100011000010110000100011001010101100101010111000101100101100111111000000001110001011001011001100001011000010000010001000111011111011100011111000100000100010001100101010110000101100001000111111000000001110001011001011001100001011000010001111111111111000000000000000001111111000000011100010110010110011100010110010110011111000000000111000101100101100100000101100000000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111111111111111111100000111111111111110011111110111010110010110011101011001011001111110011101011001011001100101100001000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000001110101011101111101111001111101011000000000000101010110010000000100000100011111100000000111000111110001000110000101100001000000000000000100010000000000010000000001110111110001000100011100011111000100011110000000000110000101100001000100000001000001000111111111110000000000000000000111111000000001110001011001011001100001011000010001111000000000011000010110000100010000010110000000010111111100000000000110000101010001000100000100000000000000000000010000000001110000000000011000010110000100000000000100000000011111111111100101010111110111110111110001000100000100010001000001011000000001111111000000011100011111000100011100011111000100011111111111000000000000000000011111000000000110000101100001000110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111100000000000000000000000000000000000000011111111111000000000000000000011111000000000111000101100101100100000101100000000111110000000001110001011001011001000001011000000001111111111100000000000000000001111100000000011100010110010110010000010110000000011111000000000111000101100101100100000101100000000101111111010101011001111001111101011001010101100101010110011100010110010110011111111000000111100111110101100111000101100101100101111111000000000001100001010100010001010101100111011111011110011111010110011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011001010101010101100111000101100101100101010110011101111101111001111101011001111111100000011110011111010110011100010110010110000000000001010101100100000001000001000101010110010000010001100001011000010001111000000000011000010110000100010000010110000000011111111111110000000000000000011111110000000111100111110101100110000101100001000111110000000001100001011000010001100001011000010001111111111111111111111111111110000000000000000000000000000000011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001111111111111100000000000000001111111000000011100010110010110011100010110010110011111100000000111000101100101100110000101100001000111111111111111111111111111111111111111111111111111111000000000011111111111111111111111111100000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111100011111100111010110010110011001011000010001111110011101011001011001100101100001000111111111111111111111111110000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111110000111111001110101100101100110010110000100011111000111010110010110010001011000000001000001000001000100010000010110000000000000000001110111110110000101010001000111100000000001100001011000010001000001011000000001011111110001000100011100011111000100000000000001110111110110000101010001000111111000000001110001011001011001100001011000010001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000001110101010000010001100001011000010001010101100101010110011100010110010110011111100000000111000101100101100110000101100001000101010110000111010101110001011001011001100101010101010110011100010110010110011111110000000111000101100101100111000101100101100111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111000000000000000000000000000000000000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111100000000000000000011111100000000111000101100101100110000101100001000111110000000001110001011001011001000001011000000000000000000101010110010000000100000100000100010001010101100110000101100001000111100000000001100001011000010001000001011000000001010101100101010110011100010110010110011111111110011101010111110111110111110111111111000001111001111101011001111001111101011001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000111110001000110000101100001000101111111010000010001110001111100010001011111110001000100011100011111000100011111110000000111000101100101100111000101100101100101010110010000010001100001011000010001000001000111011111011100011111000100011111100000000111000101100101100110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111000000000000000000000000000000000111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111110000000000000000011111110000000111000101100101100111000101100101100111110000000001110001011001011001000001011000000001111111111111111111111111111111111111111111111111111111100000000111111111111111111111111111100001111111111111100111111101110101100101100111010110010110011111100111010110010110011001011000010001111111111111000111111101110101100101100111010110010110011111000111010110010110010001011000000001111111111111111111111111110000011111111111111001111111011101011001011001110101100101100111111001110101100101100110010110000100011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000010111111101000001000111000111110001000000000000000100010000000000010000000001111000000000011000010110000100010000000100000100000000000001011111110110000101010001000101010110000111010101110001011001011001111110000000011100010110010110011000010110000100011111111111000000000000000000011111100000000111000101100101100110000101100001000111100000000001100001011000010001000001011000000000000000000001110101010000000100000100010000010001010101100110000101100001000111100000000001100001011000010001000001011000000001110111110111111111111111111111111111000000000000011101010100000001000001000111111110000001111001111101010101110001111100010001111111111111000000000000000001111111000000011110011111010110011000010110000100011111000000000110000101100001000110000101100001000111111111111111111111111100000000000000000000000000000000000001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000010111111101010101100111100111110101100101010110010101011001110001011001011001111111100000011110011111010110011100010110010110011001010101010101100111000101100101100110010101000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000010001000110010101011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010001000001000001000100010000010110000000010101011001000001000110000101100001000111100000000001100001011000010001000001011000000001111111111100000000000000000001111110000000011100010110010110011000010110000100011110000000000110000101100001000100000101100000000111111111111111111111111111000000000000000000000000000000000001111111111111000000000000000001111110000000011100010110010110011000010110000100011111100000000111000101100101100110000101100001000111111111111100000000000000000111111000000001110001011001011001100001011000010001111110000000011100010110010110011000010110000100011111111111111111111111111111111111111111111111111111000000000001111111111111111111111111100000011111111111110001111111011101011001011001110101100101100111110001110101100101100100010110000000011111111111100001111110011101011001011001100101100001000111110001110101100101100100010110000000011111111111111111111111111000000111111111111100011111110111010110010110011101011001011001111100011101011001011001000101100000000111111111111000011111100111010110010110011001011000010001111100011101011001011001000101100000000101010110010111111101111001111101011001110111110111011111011111011111110110011111111110000111110111111101100111100111110101100111011111011101111101111101111111011001000001000101010110011000010110000100011111111000000111100111110101100111000111110001000111111111111111111100000000000111111111100001111101111111011001111001111101011001111111100000011110011111010110011100010110010110011111111111011111110111111111111111110001000100010101011001100001011000010001111111110000011111011111011111011100011111000100000111010100000000000100000001000001000111111111111101111101111111111111111101111111100000011110011111010101011100011111000100011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111100000000000000000000000011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111110000010001111001111101010101010101100001110101011100010110010110011111111000000111100111110101100111000101100101100101111111010101011001111001111101011000011101010001000100011000010110000100011111110000000111100111110101100110000101100001000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011101111100011101010111100111110101100111011111010101011001111001111101011001111111110000011111011111110110011100010110010110010101011001100101010111000101100101100101010110000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001111001111101011001100001011000010001111111111111111111111111111111110000000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001011111110111111111111111111111111111010111111100010001000111000111110001000111111111100001111101111101111101111001111101011001110111110101010110011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000001110101000111010101110001011001011000000000000000000000000000000000000000011100000000000100000001000001000100000001000001000101010110010101011001110001011001011001110111110111011111011111011111110110011111111100000111100111110101100111100111110101100111111111111100000000000000000111111000000001110001111100010001100001011000010001111110000000011100011111000100011000010110000100011111111111111111111111111111110000000000000000000000000000000111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010001110111110000000000011000010101000100000100010001010101100110000101100001000111110000000001110001011001011001000001011000000001000001000100000100010000010110000000011101111101010101100111100111110101100111111000000001110001111100010001100001011000010001111111111110000000000000000001111110000000011100010110010110011000010110000100011111000000000111000101100101100100000101100000000101010110010000010001100001011000010001100101010110010101011100010110010110011111100000000111000101100101100110000101100001000001000100010000010001000001011000000000010001000100000100010000010110000000011100000000000100000101100000000100000101100000000111111111100000000000000000000111110000000001100001011000010001100001011000010001111000000000011000010110000100010000010110000000011111111111111111111111000000000000000000000000000000000000000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111110000000000000000000011111000000000111000101100101100100000101100000000111100000000001100001011000010001000001011000000001111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111000001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111000111111001110101100101100110010110000100011111100111010110010110011001011000010001111111111111111111111111110000011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100011111111111110001111110011101011001011001100101100001000111111001110101100101100110010110000100010111111101010101100111100111110101100001110101011111111111111101111101111101111111111000011111011111110110011110011111010110010000010000010001000100000101100000000101010110010111111101111001111101011001111110000000011100011111000100011000010110000100011111111111111111000000000000011111111100000111100111110101100111100111110101100111111100000001111001111101011001100001011000010001011111110001000100011100011111000100010000010000010001000100000101100000000111110000000001100001011000010001100001011000010001011111110111011111011111011111110110000111010101000001000110000101100001000111111110000001111001111101011001110001111100010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111110000001111001111101011001110001011001011001111110000000011100010110010110011000010110000100011111111111010101100111110111110111110101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111010101100111110111110111110101010110011101111101111001111101011001111111111000011111011111110110011110011111010110011111111111111111111100000000011111111111000111110111111101100111110111111101100111111111000001111101111111011001110001011001011001100101010101010110011100010110010110010101011001110111110111100111110101100111111110000001111001111101011001110001011001011000000000000110010101010000000100000100010101011001100101010111000101100101100111110000000001100001011000010001100001011000010001111111111111100000000000000001111111000000011110011111010110011000010110000100011111100000000111000101100101100110000101100001000111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111001111101011001111001111101011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100110010101010101011001110001011001011000011101010101111111011110011111010110011111111000000111100111110101100111000101100101100111111111100100010001111001111101010101000001000101111111011100011111000100011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000111010101010101100111000101100101100101010110010111111101111001111101011001111111100000011110011111010110011100010110010110011101111100010001000111000111110001000111011111011001010101111001111101011001111111100000011110011111010110011100010110010110011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111111100000000000000000000000000011111111111111111000000000000011111111100000111110111111101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111100000000000001111111110000011111011111110110011100010110010110011111110000000111000101100101100111000101100101100100000100010101011001100001011000010000010001000001000100010000010110000000011110000000000110000101100001000100000101100000000111011111011111111111111111111111111101111111111001110101011111011111011111011111111111100111111111111111110111110111111101100111111111111111110000000000000111111111000001111101111101111101110001111100010001111111000000011100011111000100011100011111000100010111111101000001000111000111110001000101111111000100010001110001111100010001111111000000011100010110010110011100010110010110010101011001110111110111100111110101100100000100010101011001100001011000010001111111000000011110011111010110011000010110000100011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111111111111111111110000000000000000000000000000011111111111111110000000000000011111111000000111100111110101100111000101100101100111111100000001110001011001011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001011111110001000100011100011111000100011101111101000001000111000111110001000111111100000001110001011001011001110001011001011000010001000000000000000000000100000000000100010001010101100110000101100001000111000000000001100001011000010000000000010000000001111111111100000000000000000001111100000000011000010110000100011000010110000100011111000000000110000101100001000110000101100001000001000100011001010101100001011000010001000001000100000100010000010110000000011110000000000110000101100001000100000101100000000000000000000100010000000000010000000001010101100000000000010000000100000100011000000000000100000101100000000000000001000000000111111100000000000000000000000111100000000001100001011000010001000001011000000001100000000000010000010110000000000000000100000000011111111111111111110000000000000000000000000000000000000000000111111111000000000000000000000111100000000001100001011000010001000001011000000001111000000000011000010110000100010000010110000000011111111100000000000000000000011110000000000110000101100001000100000101100000000111100000000001100001011000010001000001011000000001011111110100000100011100011111000100011101111100010001000111000111110001000111111100000001110001011001011001110001011001011001110111110101010110011110011111010110011001010100010001000110000101100001000111111100000001111001111101011001100001011000010001111111111111110000000000000001111111000000011100010110010110011100010110010110011111110000000111000101100101100111000101100101100001000100010000010001000001011000000001010101100001110101011100010110010110011111000000000110000101100001000110000101100001000100000100000100010001000001011000000001011111110101010110011110011111010110011111100000000111000111110001000110000101100001000111111111111000000000000000000111111000000001110001011001011001100001011000010001111100000000011100010110010110010000010110000000011111111111111111111111111110000000000000000000000000000000000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111110000000000000000011111100000000111000101100101100110000101100001000111111000000001110001011001011001100001011000010001111111111111111111111111111111111111111111111110000000000000000111111111111111111111111000000001111111111110000111111001110101100101100110010110000100011111000110010110000100011001011000010001111111111100000111111001110101100101100110010110000100011110000110010110000100010001011000000001111111111111111111111100000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000011111111111000001111110011101011001011001100101100001000111100001100101100001000100010110000000010101011000010001000110000101100001000000000000010111111101100001010100010001111100000000011100010110010110010000010110000000011111111111010101100111110111110111110111111111111001010101111101111101111101111111111100011111011111110110011111011111110110011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001110111110100000100011100011111000100000100010001011111110111000111110001000111111100000001110001011001011001110001011001011001110111110111011111011111011111110110010101011001110111110111100111110101100111111111100001111101111111011001111001111101011001111111111111111110000000000001111111110000011110011111010110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111000000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111110000000000000111111111000001111101111111011001110001011001011001111111000000011100010110010110011100010110010110000111010101010101100111000101100101100001000100010111111101110001111100010001111111000000011100010110010110011100010110010110010101011001010101100111000101100101100001110101000100010001100001011000010001111110000000011100010110010110011000010110000100011111111111111000000000000000011111110000000111000101100101100111000101100101100111111000000001110001011001011001100001011000010001110111110101111111011111011111110110000100010000011101010110000101100001000111111110000001111001111101011001110001111100010001010101100111111111111111011111011111010000010001111111111111100111110101010111111111100001111101111111011001111001111101011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111100000000000000000000000000001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111111011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111011101011001011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100101111111010101011001111001111101011001010101100101111111011110011111010110011111111100000111110111111101100111000101100101100111111111100100010001111001111101010101111111111111011111011111111111111111011111111111000111111111111111110111100111110101100111111111111111111111000000000111111111100001111101111111011001111001111101011001111111111000011111011111110110011110011111010110000100010001100101010110000101100001000000000000011101111101100001010100010001111100000000011100010110010110010000010110000000010111111101011111110111110111111101100101111111011101111101111101111111011001111111111100011111011111110110011111011111110110011111111111111111000000000000011111111000000111100111110101100111000111110001000111111110000001111001111101011001110001111100010001111111111111111111111111111111111111110000000000000000000000011111111111111111110000000000011111111110000111110111111101100111100111110101100111111110000001111001111101011001110001011001011001111111111111111111000000000001111111111000011111011111110110011110011111010110011111111000000111100111110101100111000101100101100001000100011101111101110001111100010001010101100001000100011000010110000100011111100000000111000101100101100110000101100001000101010110010111111101111001111101011001110111110101010110011110011111010110011111111100000111110111111101100111000101100101100111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011110011111010110011000010110000100010101011001100101010111000101100101100001110101010101011001110001011001011001111111000000011100010110010110011100010110010110011101111101011111110111110111111101100111111111110101011001111101111101111101111111111100011111011111110110011111011111110110011111111111111111110000000000011111111100000111100111110101100111100111110101100111111111000001111001111101011001111001111101011001111111111111111111111111111111111110000000000000000000000000011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110110011101011001011001111111111111111111011001110101100101100111111111111111111111111111111111110110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001011111110110010101011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001010101100101010110011100010110010110011101111100010001000111000111110001000111111100000001110001011001011001110001011001011001111111111111111100000000000001111111100000011110011111010110011100010110010110011111111000000111100111110101100111000101100101100101010110011101111101111001111101011001000001000110010101011000010110000100011111110000000111100111110101100110000101100001000101010110000000000001000000010000010001010101100101111111011110011111010110011111100000000111000111110001000110000101100001000111111111111110000000000000000111111100000001110001011001011001110001011001011001111110000000011100010110010110011000010110000100011111111111111111111111111111111000000000000000000000000000000111111111111111100000000000000111111110000001111001111101011001110001011001011001111111000000011100010110010110011100010110010110011111111111111100000000000000011111111000000111100111110101100111000101100101100111111000000001110001011001011001100001011000010000011101010101111111011110011111010110011101111101010101100111100111110101100111111111000001111101111111011001110001011001011001110111110101010110011110011111010110010101011001110111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111111000000000001111111110000011111011111110110011100010110010110011111111100000111110111111101100111000101100101100110010101000100010001100001011000010001010101100101111111011110011111010110011111110000000111100111110101100110000101100001000110010101011111111111111101111101111101011111110001000100011100011111000100011111111100000111100111110101100111100111110101100111111111111111110000000000000111111110000001111001111101011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111111111111111111111110000000000000000000000000111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110011111111111111111100000000000011111111100000111110111111101100111000101100101100111111110000001111001111101011001110001011001011001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101100111010110010110011111111111111111010110011101011001011001111111111111111111111111111111110101100111010110010110011111110111010110010110011101011001011001111111111111111111111111111111111111111111111111111111111111111101011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011001010100011101010111000101100101100111011111011101111101111101111111011001111111110000011110011111010110011110011111010110011101111101010101100111100111110101100001110101011101111101111001111101011001111111110000011111011111110110011100010110010110011111111111111111110000000000011111111100000111110111111101100111000101100101100111111111000001111101111111011001110001011001011000010001000101010110011000010110000100010101011001010101100111000101100101100111111000000001110001011001011001100001011000010000000000000111111111111100010101010101010111111101111111111111111111111111110111111111100001111101111101111101111001111101011001111111111111111100000000000001111111110000011110011111010110011110011111010110011111110000000111100111110101100110000101100001000111111111111111111111111111111111111100000000000000000000000001111111111111111110000000000001111111110000011111011111110110011100010110010110011111111000000111100111110101100111000101100101100111111111111111111000000000000111111111000001111101111111011001110001011001011001111111100000011110011111010110011100010110010110010000010001011111110111000111110001000101010110010101011001110001011001011001111111000000011100010110010110011100010110010110011111111110000000000111000101010101010111111111100000000001110001010101010101111111000000011100010110010110011100010110010110011111111111111100000000000000011111110000000111000101100101100111000101100101100111111100000001110001011001011001110001011001011001011111110110010101011110011111010110010000010001000001000100000101100000000111111000000001110001111100010001100001011000010001010101100111011111011110011111010110010101011001011111110111100111110101100111111111000001111101111111011001110001011001011001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111100111110101100110000101100001000111111111111111111111111111111110000000000000000000000000000001111111111111111000000000000001111111100000011110011111010110011100010110010110011111110000000111000101100101100111000101100101100111111111111111000000000000000111111100000001110001011001011001110001011001011001111111000000011100010110010110011100010110010110011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011001110101100101100111111111111111110101100111010110010110011111111111111111111111111111111101011001110101100101100111111101110101100101100111010110010110011111111111111111111111111111111111111111111111111111111111111111010110011101011001011001111111111111111101011001110101100101100111111111111111111111111111111111010110011101011001011001111111011101011001011001110101100101100
61.80/61.32	# WCTIME: wall clock time in seconds
61.80/61.32	WCTIME=58.1105
61.80/61.32	# CPUTIME: CPU time in seconds
61.80/61.32	CPUTIME=58.083
61.80/61.32	# USERTIME: CPU time spent in user mode in seconds
61.80/61.32	USERTIME=56.2766
61.80/61.32	# SYSTEMTIME: CPU time spent in system mode in seconds
61.80/61.32	SYSTEMTIME=1.8064
61.80/61.32	# CPUUSAGE: CPUTIME/WCTIME in percent
61.80/61.32	CPUUSAGE=99.9527
61.80/61.32	# MAXVM: maximum virtual memory used in KiB
61.80/61.32	MAXVM=2612336
61.80/61.36	c [MSE2022] -- end -- [MSE2022]
61.80/61.36	EOF
