<?php
/* * *************************************************************
* Copyright notice
*
* (c) 2014 Chi Hoang (info@chihoang.de)
* All rights reserved
*
* **************************************************************/
$tabiging = array(8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 9, 9, 9, 6);
$tabhexindex = array(2731, 1, 515, 2057, 555, 2697, 9, 513, 2603, 2699, 43, 2689, 2723, 2219, 33, 129, 643, 2089, 11, 2561, 2179, 2083, 2049, 3, 2691, 2091, 2051, 681, 521, 2211, 673, 169, 2721, 171, 2177, 35, 2595, 2187, 545, 137, 2059, 2563, 683, 2729, 641, 41, 649, 553, 675, 2217, 131, 2081, 2593, 139, 163, 2209, 2601, 651, 2569, 523, 2571, 161, 547, 2185);
$hexnum = array(1, 12, 2, 4, 12, 36, 16, 22, 2, 16, 3, 6, 4, 22, 6, 10, 12, 36, 16, 22, 36, 59, 40, 47, 16, 40, 20, 26, 22, 47, 26, 33, 2, 16, 3, 6, 16, 40, 20, 26, 3, 20, 5, 8, 6, 26, 8, 14, 4, 22, 6, 10, 22, 47, 26, 33, 6, 26, 8, 14, 10, 33, 14, 19, 12, 36, 16, 22, 36, 59, 40, 47, 16, 40, 20, 26, 22, 47, 26, 33, 36, 59, 40, 47, 59, 73, 61, 66, 40, 61, 44, 50, 47, 66, 50, 56, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 2, 16, 3, 6, 16, 40, 20, 26, 3, 20, 5, 8, 6, 26, 8, 14, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 3, 20, 5, 8, 20, 44, 24, 30, 5, 24, 7, 11, 8, 30, 11, 17, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 4, 22, 6, 10, 22, 47, 26, 33, 6, 26, 8, 14, 10, 33, 14, 19, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 10, 33, 14, 19, 33, 56, 37, 43, 14, 37, 17, 23, 19, 43, 23, 29, 12, 36, 16, 22, 36, 59, 40, 47, 16, 40, 20, 26, 22, 47, 26, 33, 36, 59, 40, 47, 59, 73, 61, 66, 40, 61, 44, 50, 47, 66, 50, 56, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 36, 59, 40, 47, 59, 73, 61, 66, 40, 61, 44, 50, 47, 66, 50, 56, 59, 73, 61, 66, 73, 81, 75, 78, 61, 75, 65, 69, 66, 78, 69, 72, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 2, 16, 3, 6, 16, 40, 20, 26, 3, 20, 5, 8, 6, 26, 8, 14, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 3, 20, 5, 8, 20, 44, 24, 30, 5, 24, 7, 11, 8, 30, 11, 17, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 3, 20, 5, 8, 20, 44, 24, 30, 5, 24, 7, 11, 8, 30, 11, 17, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 5, 24, 7, 11, 24, 49, 28, 35, 7, 28, 9, 15, 11, 35, 15, 21, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 4, 22, 6, 10, 22, 47, 26, 33, 6, 26, 8, 14, 10, 33, 14, 19, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 10, 33, 14, 19, 33, 56, 37, 43, 14, 37, 17, 23, 19, 43, 23, 29, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 10, 33, 14, 19, 33, 56, 37, 43, 14, 37, 17, 23, 19, 43, 23, 29, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 19, 43, 23, 29, 43, 64, 48, 54, 23, 48, 27, 34, 29, 54, 34, 41, 12, 36, 16, 22, 36, 59, 40, 47, 16, 40, 20, 26, 22, 47, 26, 33, 36, 59, 40, 47, 59, 73, 61, 66, 40, 61, 44, 50, 47, 66, 50, 56, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 36, 59, 40, 47, 59, 73, 61, 66, 40, 61, 44, 50, 47, 66, 50, 56, 59, 73, 61, 66, 73, 81, 75, 78, 61, 75, 65, 69, 66, 78, 69, 72, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 36, 59, 40, 47, 59, 73, 61, 66, 40, 61, 44, 50, 47, 66, 50, 56, 59, 73, 61, 66, 73, 81, 75, 78, 61, 75, 65, 69, 66, 78, 69, 72, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 59, 73, 61, 66, 73, 81, 75, 78, 61, 75, 65, 69, 66, 78, 69, 72, 73, 81, 75, 78, 81, 84, 82, 83, 75, 82, 77, 79, 78, 83, 79, 80, 61, 75, 65, 69, 75, 82, 77, 79, 65, 77, 68, 71, 69, 79, 71, 74, 66, 78, 69, 72, 78, 83, 79, 80, 69, 79, 71, 74, 72, 80, 74, 76, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 61, 75, 65, 69, 75, 82, 77, 79, 65, 77, 68, 71, 69, 79, 71, 74, 44, 65, 49, 55, 65, 77, 68, 71, 49, 68, 53, 58, 55, 71, 58, 63, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 66, 78, 69, 72, 78, 83, 79, 80, 69, 79, 71, 74, 72, 80, 74, 76, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 56, 72, 60, 64, 72, 80, 74, 76, 60, 74, 63, 67, 64, 76, 67, 70, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 61, 75, 65, 69, 75, 82, 77, 79, 65, 77, 68, 71, 69, 79, 71, 74, 44, 65, 49, 55, 65, 77, 68, 71, 49, 68, 53, 58, 55, 71, 58, 63, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 44, 65, 49, 55, 65, 77, 68, 71, 49, 68, 53, 58, 55, 71, 58, 63, 24, 49, 28, 35, 49, 68, 53, 58, 28, 53, 32, 39, 35, 58, 39, 46, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 66, 78, 69, 72, 78, 83, 79, 80, 69, 79, 71, 74, 72, 80, 74, 76, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 56, 72, 60, 64, 72, 80, 74, 76, 60, 74, 63, 67, 64, 76, 67, 70, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 56, 72, 60, 64, 72, 80, 74, 76, 60, 74, 63, 67, 64, 76, 67, 70, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 43, 64, 48, 54, 64, 76, 67, 70, 48, 67, 52, 57, 54, 70, 57, 62, 2, 16, 3, 6, 16, 40, 20, 26, 3, 20, 5, 8, 6, 26, 8, 14, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 3, 20, 5, 8, 20, 44, 24, 30, 5, 24, 7, 11, 8, 30, 11, 17, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 3, 20, 5, 8, 20, 44, 24, 30, 5, 24, 7, 11, 8, 30, 11, 17, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 5, 24, 7, 11, 24, 49, 28, 35, 7, 28, 9, 15, 11, 35, 15, 21, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 16, 40, 20, 26, 40, 61, 44, 50, 20, 44, 24, 30, 26, 50, 30, 37, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 40, 61, 44, 50, 61, 75, 65, 69, 44, 65, 49, 55, 50, 69, 55, 60, 61, 75, 65, 69, 75, 82, 77, 79, 65, 77, 68, 71, 69, 79, 71, 74, 44, 65, 49, 55, 65, 77, 68, 71, 49, 68, 53, 58, 55, 71, 58, 63, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 44, 65, 49, 55, 65, 77, 68, 71, 49, 68, 53, 58, 55, 71, 58, 63, 24, 49, 28, 35, 49, 68, 53, 58, 28, 53, 32, 39, 35, 58, 39, 46, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 3, 20, 5, 8, 20, 44, 24, 30, 5, 24, 7, 11, 8, 30, 11, 17, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 5, 24, 7, 11, 24, 49, 28, 35, 7, 28, 9, 15, 11, 35, 15, 21, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 20, 44, 24, 30, 44, 65, 49, 55, 24, 49, 28, 35, 30, 55, 35, 42, 44, 65, 49, 55, 65, 77, 68, 71, 49, 68, 53, 58, 55, 71, 58, 63, 24, 49, 28, 35, 49, 68, 53, 58, 28, 53, 32, 39, 35, 58, 39, 46, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 5, 24, 7, 11, 24, 49, 28, 35, 7, 28, 9, 15, 11, 35, 15, 21, 24, 49, 28, 35, 49, 68, 53, 58, 28, 53, 32, 39, 35, 58, 39, 46, 7, 28, 9, 15, 28, 53, 32, 39, 9, 32, 13, 18, 15, 39, 18, 25, 11, 35, 15, 21, 35, 58, 39, 46, 15, 39, 18, 25, 21, 46, 25, 31, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 11, 35, 15, 21, 35, 58, 39, 46, 15, 39, 18, 25, 21, 46, 25, 31, 17, 42, 21, 27, 42, 63, 46, 52, 21, 46, 25, 31, 27, 52, 31, 38, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 11, 35, 15, 21, 35, 58, 39, 46, 15, 39, 18, 25, 21, 46, 25, 31, 17, 42, 21, 27, 42, 63, 46, 52, 21, 46, 25, 31, 27, 52, 31, 38, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 17, 42, 21, 27, 42, 63, 46, 52, 21, 46, 25, 31, 27, 52, 31, 38, 23, 48, 27, 34, 48, 67, 52, 57, 27, 52, 31, 38, 34, 57, 38, 45, 4, 22, 6, 10, 22, 47, 26, 33, 6, 26, 8, 14, 10, 33, 14, 19, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 10, 33, 14, 19, 33, 56, 37, 43, 14, 37, 17, 23, 19, 43, 23, 29, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 10, 33, 14, 19, 33, 56, 37, 43, 14, 37, 17, 23, 19, 43, 23, 29, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 19, 43, 23, 29, 43, 64, 48, 54, 23, 48, 27, 34, 29, 54, 34, 41, 22, 47, 26, 33, 47, 66, 50, 56, 26, 50, 30, 37, 33, 56, 37, 43, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 47, 66, 50, 56, 66, 78, 69, 72, 50, 69, 55, 60, 56, 72, 60, 64, 66, 78, 69, 72, 78, 83, 79, 80, 69, 79, 71, 74, 72, 80, 74, 76, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 56, 72, 60, 64, 72, 80, 74, 76, 60, 74, 63, 67, 64, 76, 67, 70, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 56, 72, 60, 64, 72, 80, 74, 76, 60, 74, 63, 67, 64, 76, 67, 70, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 43, 64, 48, 54, 64, 76, 67, 70, 48, 67, 52, 57, 54, 70, 57, 62, 6, 26, 8, 14, 26, 50, 30, 37, 8, 30, 11, 17, 14, 37, 17, 23, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 26, 50, 30, 37, 50, 69, 55, 60, 30, 55, 35, 42, 37, 60, 42, 48, 50, 69, 55, 60, 69, 79, 71, 74, 55, 71, 58, 63, 60, 74, 63, 67, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 8, 30, 11, 17, 30, 55, 35, 42, 11, 35, 15, 21, 17, 42, 21, 27, 30, 55, 35, 42, 55, 71, 58, 63, 35, 58, 39, 46, 42, 63, 46, 52, 11, 35, 15, 21, 35, 58, 39, 46, 15, 39, 18, 25, 21, 46, 25, 31, 17, 42, 21, 27, 42, 63, 46, 52, 21, 46, 25, 31, 27, 52, 31, 38, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 17, 42, 21, 27, 42, 63, 46, 52, 21, 46, 25, 31, 27, 52, 31, 38, 23, 48, 27, 34, 48, 67, 52, 57, 27, 52, 31, 38, 34, 57, 38, 45, 10, 33, 14, 19, 33, 56, 37, 43, 14, 37, 17, 23, 19, 43, 23, 29, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 19, 43, 23, 29, 43, 64, 48, 54, 23, 48, 27, 34, 29, 54, 34, 41, 33, 56, 37, 43, 56, 72, 60, 64, 37, 60, 42, 48, 43, 64, 48, 54, 56, 72, 60, 64, 72, 80, 74, 76, 60, 74, 63, 67, 64, 76, 67, 70, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 43, 64, 48, 54, 64, 76, 67, 70, 48, 67, 52, 57, 54, 70, 57, 62, 14, 37, 17, 23, 37, 60, 42, 48, 17, 42, 21, 27, 23, 48, 27, 34, 37, 60, 42, 48, 60, 74, 63, 67, 42, 63, 46, 52, 48, 67, 52, 57, 17, 42, 21, 27, 42, 63, 46, 52, 21, 46, 25, 31, 27, 52, 31, 38, 23, 48, 27, 34, 48, 67, 52, 57, 27, 52, 31, 38, 34, 57, 38, 45, 19, 43, 23, 29, 43, 64, 48, 54, 23, 48, 27, 34, 29, 54, 34, 41, 43, 64, 48, 54, 64, 76, 67, 70, 48, 67, 52, 57, 54, 70, 57, 62, 23, 48, 27, 34, 48, 67, 52, 57, 27, 52, 31, 38, 34, 57, 38, 45, 29, 54, 34, 41, 54, 70, 57, 62, 34, 57, 38, 45, 41, 62, 45, 51);
$tabcurr=Array(888888, 888886, 888887, 888889, 888868, 888866, 888867, 888869, 888878, 888876, 888877, 888879, 888898, 888896, 888897, 888899, 888688, 888686, 888687, 888689, 888668, 888666, 888667, 888669, 888678, 888676, 888677, 888679, 888698, 888696, 888697, 888699, 888788, 888786, 888787, 888789, 888768, 888766, 888767, 888769, 888778, 888776, 888777, 888779, 888798, 888796, 888797, 888799, 888988, 888986, 888987, 888989, 888968, 888966, 888967, 888969, 888978, 888976, 888977, 888979, 888998, 888996, 888997, 888999, 886888, 886886, 886887, 886889, 886868, 886866, 886867, 886869, 886878, 886876, 886877, 886879, 886898, 886896, 886897, 886899, 886688, 886686, 886687, 886689, 886668, 886666, 886667, 886669, 886678, 886676, 886677, 886679, 886698, 886696, 886697, 886699, 886788, 886786, 886787, 886789, 886768, 886766, 886767, 886769, 886778, 886776, 886777, 886779, 886798, 886796, 886797, 886799, 886988, 886986, 886987, 886989, 886968, 886966, 886967, 886969, 886978, 886976, 886977, 886979, 886998, 886996, 886997, 886999, 887888, 887886, 887887, 887889, 887868, 887866, 887867, 887869, 887878, 887876, 887877, 887879, 887898, 887896, 887897, 887899, 887688, 887686, 887687, 887689, 887668, 887666, 887667, 887669, 887678, 887676, 887677, 887679, 887698, 887696, 887697, 887699, 887788, 887786, 887787, 887789, 887768, 887766, 887767, 887769, 887778, 887776, 887777, 887779, 887798, 887796, 887797, 887799, 887988, 887986, 887987, 887989, 887968, 887966, 887967, 887969, 887978, 887976, 887977, 887979, 887998, 887996, 887997, 887999, 889888, 889886, 889887, 889889, 889868, 889866, 889867, 889869, 889878, 889876, 889877, 889879, 889898, 889896, 889897, 889899, 889688, 889686, 889687, 889689, 889668, 889666, 889667, 889669, 889678, 889676, 889677, 889679, 889698, 889696, 889697, 889699, 889788, 889786, 889787, 889789, 889768, 889766, 889767, 889769, 889778, 889776, 889777, 889779, 889798, 889796, 889797, 889799, 889988, 889986, 889987, 889989, 889968, 889966, 889967, 889969, 889978, 889976, 889977, 889979, 889998, 889996, 889997, 889999, 868888, 868886, 868887, 868889, 868868, 868866, 868867, 868869, 868878, 868876, 868877, 868879, 868898, 868896, 868897, 868899, 868688, 868686, 868687, 868689, 868668, 868666, 868667, 868669, 868678, 868676, 868677, 868679, 868698, 868696, 868697, 868699, 868788, 868786, 868787, 868789, 868768, 868766, 868767, 868769, 868778, 868776, 868777, 868779, 868798, 868796, 868797, 868799, 868988, 868986, 868987, 868989, 868968, 868966, 868967, 868969, 868978, 868976, 868977, 868979, 868998, 868996, 868997, 868999, 866888, 866886, 866887, 866889, 866868, 866866, 866867, 866869, 866878, 866876, 866877, 866879, 866898, 866896, 866897, 866899, 866688, 866686, 866687, 866689, 866668, 866666, 866667, 866669, 866678, 866676, 866677, 866679, 866698, 866696, 866697, 866699, 866788, 866786, 866787, 866789, 866768, 866766, 866767, 866769, 866778, 866776, 866777, 866779, 866798, 866796, 866797, 866799, 866988, 866986, 866987, 866989, 866968, 866966, 866967, 866969, 866978, 866976, 866977, 866979, 866998, 866996, 866997, 866999, 867888, 867886, 867887, 867889, 867868, 867866, 867867, 867869, 867878, 867876, 867877, 867879, 867898, 867896, 867897, 867899, 867688, 867686, 867687, 867689, 867668, 867666, 867667, 867669, 867678, 867676, 867677, 867679, 867698, 867696, 867697, 867699, 867788, 867786, 867787, 867789, 867768, 867766, 867767, 867769, 867778, 867776, 867777, 867779, 867798, 867796, 867797, 867799, 867988, 867986, 867987, 867989, 867968, 867966, 867967, 867969, 867978, 867976, 867977, 867979, 867998, 867996, 867997, 867999, 869888, 869886, 869887, 869889, 869868, 869866, 869867, 869869, 869878, 869876, 869877, 869879, 869898, 869896, 869897, 869899, 869688, 869686, 869687, 869689, 869668, 869666, 869667, 869669, 869678, 869676, 869677, 869679, 869698, 869696, 869697, 869699, 869788, 869786, 869787, 869789, 869768, 869766, 869767, 869769, 869778, 869776, 869777, 869779, 869798, 869796, 869797, 869799, 869988, 869986, 869987, 869989, 869968, 869966, 869967, 869969, 869978, 869976, 869977, 869979, 869998, 869996, 869997, 869999, 878888, 878886, 878887, 878889, 878868, 878866, 878867, 878869, 878878, 878876, 878877, 878879, 878898, 878896, 878897, 878899, 878688, 878686, 878687, 878689, 878668, 878666, 878667, 878669, 878678, 878676, 878677, 878679, 878698, 878696, 878697, 878699, 878788, 878786, 878787, 878789, 878768, 878766, 878767, 878769, 878778, 878776, 878777, 878779, 878798, 878796, 878797, 878799, 878988, 878986, 878987, 878989, 878968, 878966, 878967, 878969, 878978, 878976, 878977, 878979, 878998, 878996, 878997, 878999, 876888, 876886, 876887, 876889, 876868, 876866, 876867, 876869, 876878, 876876, 876877, 876879, 876898, 876896, 876897, 876899, 876688, 876686, 876687, 876689, 876668, 876666, 876667, 876669, 876678, 876676, 876677, 876679, 876698, 876696, 876697, 876699, 876788, 876786, 876787, 876789, 876768, 876766, 876767, 876769, 876778, 876776, 876777, 876779, 876798, 876796, 876797, 876799, 876988, 876986, 876987, 876989, 876968, 876966, 876967, 876969, 876978, 876976, 876977, 876979, 876998, 876996, 876997, 876999, 877888, 877886, 877887, 877889, 877868, 877866, 877867, 877869, 877878, 877876, 877877, 877879, 877898, 877896, 877897, 877899, 877688, 877686, 877687, 877689, 877668, 877666, 877667, 877669, 877678, 877676, 877677, 877679, 877698, 877696, 877697, 877699, 877788, 877786, 877787, 877789, 877768, 877766, 877767, 877769, 877778, 877776, 877777, 877779, 877798, 877796, 877797, 877799, 877988, 877986, 877987, 877989, 877968, 877966, 877967, 877969, 877978, 877976, 877977, 877979, 877998, 877996, 877997, 877999, 879888, 879886, 879887, 879889, 879868, 879866, 879867, 879869, 879878, 879876, 879877, 879879, 879898, 879896, 879897, 879899, 879688, 879686, 879687, 879689, 879668, 879666, 879667, 879669, 879678, 879676, 879677, 879679, 879698, 879696, 879697, 879699, 879788, 879786, 879787, 879789, 879768, 879766, 879767, 879769, 879778, 879776, 879777, 879779, 879798, 879796, 879797, 879799, 879988, 879986, 879987, 879989, 879968, 879966, 879967, 879969, 879978, 879976, 879977, 879979, 879998, 879996, 879997, 879999, 898888, 898886, 898887, 898889, 898868, 898866, 898867, 898869, 898878, 898876, 898877, 898879, 898898, 898896, 898897, 898899, 898688, 898686, 898687, 898689, 898668, 898666, 898667, 898669, 898678, 898676, 898677, 898679, 898698, 898696, 898697, 898699, 898788, 898786, 898787, 898789, 898768, 898766, 898767, 898769, 898778, 898776, 898777, 898779, 898798, 898796, 898797, 898799, 898988, 898986, 898987, 898989, 898968, 898966, 898967, 898969, 898978, 898976, 898977, 898979, 898998, 898996, 898997, 898999, 896888, 896886, 896887, 896889, 896868, 896866, 896867, 896869, 896878, 896876, 896877, 896879, 896898, 896896, 896897, 896899, 896688, 896686, 896687, 896689, 896668, 896666, 896667, 896669, 896678, 896676, 896677, 896679, 896698, 896696, 896697, 896699, 896788, 896786, 896787, 896789, 896768, 896766, 896767, 896769, 896778, 896776, 896777, 896779, 896798, 896796, 896797, 896799, 896988, 896986, 896987, 896989, 896968, 896966, 896967, 896969, 896978, 896976, 896977, 896979, 896998, 896996, 896997, 896999, 897888, 897886, 897887, 897889, 897868, 897866, 897867, 897869, 897878, 897876, 897877, 897879, 897898, 897896, 897897, 897899, 897688, 897686, 897687, 897689, 897668, 897666, 897667, 897669, 897678, 897676, 897677, 897679, 897698, 897696, 897697, 897699, 897788, 897786, 897787, 897789, 897768, 897766, 897767, 897769, 897778, 897776, 897777, 897779, 897798, 897796, 897797, 897799, 897988, 897986, 897987, 897989, 897968, 897966, 897967, 897969, 897978, 897976, 897977, 897979, 897998, 897996, 897997, 897999, 899888, 899886, 899887, 899889, 899868, 899866, 899867, 899869, 899878, 899876, 899877, 899879, 899898, 899896, 899897, 899899, 899688, 899686, 899687, 899689, 899668, 899666, 899667, 899669, 899678, 899676, 899677, 899679, 899698, 899696, 899697, 899699, 899788, 899786, 899787, 899789, 899768, 899766, 899767, 899769, 899778, 899776, 899777, 899779, 899798, 899796, 899797, 899799, 899988, 899986, 899987, 899989, 899968, 899966, 899967, 899969, 899978, 899976, 899977, 899979, 899998, 899996, 899997, 899999, 688888, 688886, 688887, 688889, 688868, 688866, 688867, 688869, 688878, 688876, 688877, 688879, 688898, 688896, 688897, 688899, 688688, 688686, 688687, 688689, 688668, 688666, 688667, 688669, 688678, 688676, 688677, 688679, 688698, 688696, 688697, 688699, 688788, 688786, 688787, 688789, 688768, 688766, 688767, 688769, 688778, 688776, 688777, 688779, 688798, 688796, 688797, 688799, 688988, 688986, 688987, 688989, 688968, 688966, 688967, 688969, 688978, 688976, 688977, 688979, 688998, 688996, 688997, 688999, 686888, 686886, 686887, 686889, 686868, 686866, 686867, 686869, 686878, 686876, 686877, 686879, 686898, 686896, 686897, 686899, 686688, 686686, 686687, 686689, 686668, 686666, 686667, 686669, 686678, 686676, 686677, 686679, 686698, 686696, 686697, 686699, 686788, 686786, 686787, 686789, 686768, 686766, 686767, 686769, 686778, 686776, 686777, 686779, 686798, 686796, 686797, 686799, 686988, 686986, 686987, 686989, 686968, 686966, 686967, 686969, 686978, 686976, 686977, 686979, 686998, 686996, 686997, 686999, 687888, 687886, 687887, 687889, 687868, 687866, 687867, 687869, 687878, 687876, 687877, 687879, 687898, 687896, 687897, 687899, 687688, 687686, 687687, 687689, 687668, 687666, 687667, 687669, 687678, 687676, 687677, 687679, 687698, 687696, 687697, 687699, 687788, 687786, 687787, 687789, 687768, 687766, 687767, 687769, 687778, 687776, 687777, 687779, 687798, 687796, 687797, 687799, 687988, 687986, 687987, 687989, 687968, 687966, 687967, 687969, 687978, 687976, 687977, 687979, 687998, 687996, 687997, 687999, 689888, 689886, 689887, 689889, 689868, 689866, 689867, 689869, 689878, 689876, 689877, 689879, 689898, 689896, 689897, 689899, 689688, 689686, 689687, 689689, 689668, 689666, 689667, 689669, 689678, 689676, 689677, 689679, 689698, 689696, 689697, 689699, 689788, 689786, 689787, 689789, 689768, 689766, 689767, 689769, 689778, 689776, 689777, 689779, 689798, 689796, 689797, 689799, 689988, 689986, 689987, 689989, 689968, 689966, 689967, 689969, 689978, 689976, 689977, 689979, 689998, 689996, 689997, 689999, 668888, 668886, 668887, 668889, 668868, 668866, 668867, 668869, 668878, 668876, 668877, 668879, 668898, 668896, 668897, 668899, 668688, 668686, 668687, 668689, 668668, 668666, 668667, 668669, 668678, 668676, 668677, 668679, 668698, 668696, 668697, 668699, 668788, 668786, 668787, 668789, 668768, 668766, 668767, 668769, 668778, 668776, 668777, 668779, 668798, 668796, 668797, 668799, 668988, 668986, 668987, 668989, 668968, 668966, 668967, 668969, 668978, 668976, 668977, 668979, 668998, 668996, 668997, 668999, 666888, 666886, 666887, 666889, 666868, 666866, 666867, 666869, 666878, 666876, 666877, 666879, 666898, 666896, 666897, 666899, 666688, 666686, 666687, 666689, 666668, 666666, 666667, 666669, 666678, 666676, 666677, 666679, 666698, 666696, 666697, 666699, 666788, 666786, 666787, 666789, 666768, 666766, 666767, 666769, 666778, 666776, 666777, 666779, 666798, 666796, 666797, 666799, 666988, 666986, 666987, 666989, 666968, 666966, 666967, 666969, 666978, 666976, 666977, 666979, 666998, 666996, 666997, 666999, 667888, 667886, 667887, 667889, 667868, 667866, 667867, 667869, 667878, 667876, 667877, 667879, 667898, 667896, 667897, 667899, 667688, 667686, 667687, 667689, 667668, 667666, 667667, 667669, 667678, 667676, 667677, 667679, 667698, 667696, 667697, 667699, 667788, 667786, 667787, 667789, 667768, 667766, 667767, 667769, 667778, 667776, 667777, 667779, 667798, 667796, 667797, 667799, 667988, 667986, 667987, 667989, 667968, 667966, 667967, 667969, 667978, 667976, 667977, 667979, 667998, 667996, 667997, 667999, 669888, 669886, 669887, 669889, 669868, 669866, 669867, 669869, 669878, 669876, 669877, 669879, 669898, 669896, 669897, 669899, 669688, 669686, 669687, 669689, 669668, 669666, 669667, 669669, 669678, 669676, 669677, 669679, 669698, 669696, 669697, 669699, 669788, 669786, 669787, 669789, 669768, 669766, 669767, 669769, 669778, 669776, 669777, 669779, 669798, 669796, 669797, 669799, 669988, 669986, 669987, 669989, 669968, 669966, 669967, 669969, 669978, 669976, 669977, 669979, 669998, 669996, 669997, 669999, 678888, 678886, 678887, 678889, 678868, 678866, 678867, 678869, 678878, 678876, 678877, 678879, 678898, 678896, 678897, 678899, 678688, 678686, 678687, 678689, 678668, 678666, 678667, 678669, 678678, 678676, 678677, 678679, 678698, 678696, 678697, 678699, 678788, 678786, 678787, 678789, 678768, 678766, 678767, 678769, 678778, 678776, 678777, 678779, 678798, 678796, 678797, 678799, 678988, 678986, 678987, 678989, 678968, 678966, 678967, 678969, 678978, 678976, 678977, 678979, 678998, 678996, 678997, 678999, 676888, 676886, 676887, 676889, 676868, 676866, 676867, 676869, 676878, 676876, 676877, 676879, 676898, 676896, 676897, 676899, 676688, 676686, 676687, 676689, 676668, 676666, 676667, 676669, 676678, 676676, 676677, 676679, 676698, 676696, 676697, 676699, 676788, 676786, 676787, 676789, 676768, 676766, 676767, 676769, 676778, 676776, 676777, 676779, 676798, 676796, 676797, 676799, 676988, 676986, 676987, 676989, 676968, 676966, 676967, 676969, 676978, 676976, 676977, 676979, 676998, 676996, 676997, 676999, 677888, 677886, 677887, 677889, 677868, 677866, 677867, 677869, 677878, 677876, 677877, 677879, 677898, 677896, 677897, 677899, 677688, 677686, 677687, 677689, 677668, 677666, 677667, 677669, 677678, 677676, 677677, 677679, 677698, 677696, 677697, 677699, 677788, 677786, 677787, 677789, 677768, 677766, 677767, 677769, 677778, 677776, 677777, 677779, 677798, 677796, 677797, 677799, 677988, 677986, 677987, 677989, 677968, 677966, 677967, 677969, 677978, 677976, 677977, 677979, 677998, 677996, 677997, 677999, 679888, 679886, 679887, 679889, 679868, 679866, 679867, 679869, 679878, 679876, 679877, 679879, 679898, 679896, 679897, 679899, 679688, 679686, 679687, 679689, 679668, 679666, 679667, 679669, 679678, 679676, 679677, 679679, 679698, 679696, 679697, 679699, 679788, 679786, 679787, 679789, 679768, 679766, 679767, 679769, 679778, 679776, 679777, 679779, 679798, 679796, 679797, 679799, 679988, 679986, 679987, 679989, 679968, 679966, 679967, 679969, 679978, 679976, 679977, 679979, 679998, 679996, 679997, 679999, 698888, 698886, 698887, 698889, 698868, 698866, 698867, 698869, 698878, 698876, 698877, 698879, 698898, 698896, 698897, 698899, 698688, 698686, 698687, 698689, 698668, 698666, 698667, 698669, 698678, 698676, 698677, 698679, 698698, 698696, 698697, 698699, 698788, 698786, 698787, 698789, 698768, 698766, 698767, 698769, 698778, 698776, 698777, 698779, 698798, 698796, 698797, 698799, 698988, 698986, 698987, 698989, 698968, 698966, 698967, 698969, 698978, 698976, 698977, 698979, 698998, 698996, 698997, 698999, 696888, 696886, 696887, 696889, 696868, 696866, 696867, 696869, 696878, 696876, 696877, 696879, 696898, 696896, 696897, 696899, 696688, 696686, 696687, 696689, 696668, 696666, 696667, 696669, 696678, 696676, 696677, 696679, 696698, 696696, 696697, 696699, 696788, 696786, 696787, 696789, 696768, 696766, 696767, 696769, 696778, 696776, 696777, 696779, 696798, 696796, 696797, 696799, 696988, 696986, 696987, 696989, 696968, 696966, 696967, 696969, 696978, 696976, 696977, 696979, 696998, 696996, 696997, 696999, 697888, 697886, 697887, 697889, 697868, 697866, 697867, 697869, 697878, 697876, 697877, 697879, 697898, 697896, 697897, 697899, 697688, 697686, 697687, 697689, 697668, 697666, 697667, 697669, 697678, 697676, 697677, 697679, 697698, 697696, 697697, 697699, 697788, 697786, 697787, 697789, 697768, 697766, 697767, 697769, 697778, 697776, 697777, 697779, 697798, 697796, 697797, 697799, 697988, 697986, 697987, 697989, 697968, 697966, 697967, 697969, 697978, 697976, 697977, 697979, 697998, 697996, 697997, 697999, 699888, 699886, 699887, 699889, 699868, 699866, 699867, 699869, 699878, 699876, 699877, 699879, 699898, 699896, 699897, 699899, 699688, 699686, 699687, 699689, 699668, 699666, 699667, 699669, 699678, 699676, 699677, 699679, 699698, 699696, 699697, 699699, 699788, 699786, 699787, 699789, 699768, 699766, 699767, 699769, 699778, 699776, 699777, 699779, 699798, 699796, 699797, 699799, 699988, 699986, 699987, 699989, 699968, 699966, 699967, 699969, 699978, 699976, 699977, 699979, 699998, 699996, 699997, 699999, 788888, 788886, 788887, 788889, 788868, 788866, 788867, 788869, 788878, 788876, 788877, 788879, 788898, 788896, 788897, 788899, 788688, 788686, 788687, 788689, 788668, 788666, 788667, 788669, 788678, 788676, 788677, 788679, 788698, 788696, 788697, 788699, 788788, 788786, 788787, 788789, 788768, 788766, 788767, 788769, 788778, 788776, 788777, 788779, 788798, 788796, 788797, 788799, 788988, 788986, 788987, 788989, 788968, 788966, 788967, 788969, 788978, 788976, 788977, 788979, 788998, 788996, 788997, 788999, 786888, 786886, 786887, 786889, 786868, 786866, 786867, 786869, 786878, 786876, 786877, 786879, 786898, 786896, 786897, 786899, 786688, 786686, 786687, 786689, 786668, 786666, 786667, 786669, 786678, 786676, 786677, 786679, 786698, 786696, 786697, 786699, 786788, 786786, 786787, 786789, 786768, 786766, 786767, 786769, 786778, 786776, 786777, 786779, 786798, 786796, 786797, 786799, 786988, 786986, 786987, 786989, 786968, 786966, 786967, 786969, 786978, 786976, 786977, 786979, 786998, 786996, 786997, 786999, 787888, 787886, 787887, 787889, 787868, 787866, 787867, 787869, 787878, 787876, 787877, 787879, 787898, 787896, 787897, 787899, 787688, 787686, 787687, 787689, 787668, 787666, 787667, 787669, 787678, 787676, 787677, 787679, 787698, 787696, 787697, 787699, 787788, 787786, 787787, 787789, 787768, 787766, 787767, 787769, 787778, 787776, 787777, 787779, 787798, 787796, 787797, 787799, 787988, 787986, 787987, 787989, 787968, 787966, 787967, 787969, 787978, 787976, 787977, 787979, 787998, 787996, 787997, 787999, 789888, 789886, 789887, 789889, 789868, 789866, 789867, 789869, 789878, 789876, 789877, 789879, 789898, 789896, 789897, 789899, 789688, 789686, 789687, 789689, 789668, 789666, 789667, 789669, 789678, 789676, 789677, 789679, 789698, 789696, 789697, 789699, 789788, 789786, 789787, 789789, 789768, 789766, 789767, 789769, 789778, 789776, 789777, 789779, 789798, 789796, 789797, 789799, 789988, 789986, 789987, 789989, 789968, 789966, 789967, 789969, 789978, 789976, 789977, 789979, 789998, 789996, 789997, 789999, 768888, 768886, 768887, 768889, 768868, 768866, 768867, 768869, 768878, 768876, 768877, 768879, 768898, 768896, 768897, 768899, 768688, 768686, 768687, 768689, 768668, 768666, 768667, 768669, 768678, 768676, 768677, 768679, 768698, 768696, 768697, 768699, 768788, 768786, 768787, 768789, 768768, 768766, 768767, 768769, 768778, 768776, 768777, 768779, 768798, 768796, 768797, 768799, 768988, 768986, 768987, 768989, 768968, 768966, 768967, 768969, 768978, 768976, 768977, 768979, 768998, 768996, 768997, 768999, 766888, 766886, 766887, 766889, 766868, 766866, 766867, 766869, 766878, 766876, 766877, 766879, 766898, 766896, 766897, 766899, 766688, 766686, 766687, 766689, 766668, 766666, 766667, 766669, 766678, 766676, 766677, 766679, 766698, 766696, 766697, 766699, 766788, 766786, 766787, 766789, 766768, 766766, 766767, 766769, 766778, 766776, 766777, 766779, 766798, 766796, 766797, 766799, 766988, 766986, 766987, 766989, 766968, 766966, 766967, 766969, 766978, 766976, 766977, 766979, 766998, 766996, 766997, 766999, 767888, 767886, 767887, 767889, 767868, 767866, 767867, 767869, 767878, 767876, 767877, 767879, 767898, 767896, 767897, 767899, 767688, 767686, 767687, 767689, 767668, 767666, 767667, 767669, 767678, 767676, 767677, 767679, 767698, 767696, 767697, 767699, 767788, 767786, 767787, 767789, 767768, 767766, 767767, 767769, 767778, 767776, 767777, 767779, 767798, 767796, 767797, 767799, 767988, 767986, 767987, 767989, 767968, 767966, 767967, 767969, 767978, 767976, 767977, 767979, 767998, 767996, 767997, 767999, 769888, 769886, 769887, 769889, 769868, 769866, 769867, 769869, 769878, 769876, 769877, 769879, 769898, 769896, 769897, 769899, 769688, 769686, 769687, 769689, 769668, 769666, 769667, 769669, 769678, 769676, 769677, 769679, 769698, 769696, 769697, 769699, 769788, 769786, 769787, 769789, 769768, 769766, 769767, 769769, 769778, 769776, 769777, 769779, 769798, 769796, 769797, 769799, 769988, 769986, 769987, 769989, 769968, 769966, 769967, 769969, 769978, 769976, 769977, 769979, 769998, 769996, 769997, 769999, 778888, 778886, 778887, 778889, 778868, 778866, 778867, 778869, 778878, 778876, 778877, 778879, 778898, 778896, 778897, 778899, 778688, 778686, 778687, 778689, 778668, 778666, 778667, 778669, 778678, 778676, 778677, 778679, 778698, 778696, 778697, 778699, 778788, 778786, 778787, 778789, 778768, 778766, 778767, 778769, 778778, 778776, 778777, 778779, 778798, 778796, 778797, 778799, 778988, 778986, 778987, 778989, 778968, 778966, 778967, 778969, 778978, 778976, 778977, 778979, 778998, 778996, 778997, 778999, 776888, 776886, 776887, 776889, 776868, 776866, 776867, 776869, 776878, 776876, 776877, 776879, 776898, 776896, 776897, 776899, 776688, 776686, 776687, 776689, 776668, 776666, 776667, 776669, 776678, 776676, 776677, 776679, 776698, 776696, 776697, 776699, 776788, 776786, 776787, 776789, 776768, 776766, 776767, 776769, 776778, 776776, 776777, 776779, 776798, 776796, 776797, 776799, 776988, 776986, 776987, 776989, 776968, 776966, 776967, 776969, 776978, 776976, 776977, 776979, 776998, 776996, 776997, 776999, 777888, 777886, 777887, 777889, 777868, 777866, 777867, 777869, 777878, 777876, 777877, 777879, 777898, 777896, 777897, 777899, 777688, 777686, 777687, 777689, 777668, 777666, 777667, 777669, 777678, 777676, 777677, 777679, 777698, 777696, 777697, 777699, 777788, 777786, 777787, 777789, 777768, 777766, 777767, 777769, 777778, 777776, 777777, 777779, 777798, 777796, 777797, 777799, 777988, 777986, 777987, 777989, 777968, 777966, 777967, 777969, 777978, 777976, 777977, 777979, 777998, 777996, 777997, 777999, 779888, 779886, 779887, 779889, 779868, 779866, 779867, 779869, 779878, 779876, 779877, 779879, 779898, 779896, 779897, 779899, 779688, 779686, 779687, 779689, 779668, 779666, 779667, 779669, 779678, 779676, 779677, 779679, 779698, 779696, 779697, 779699, 779788, 779786, 779787, 779789, 779768, 779766, 779767, 779769, 779778, 779776, 779777, 779779, 779798, 779796, 779797, 779799, 779988, 779986, 779987, 779989, 779968, 779966, 779967, 779969, 779978, 779976, 779977, 779979, 779998, 779996, 779997, 779999, 798888, 798886, 798887, 798889, 798868, 798866, 798867, 798869, 798878, 798876, 798877, 798879, 798898, 798896, 798897, 798899, 798688, 798686, 798687, 798689, 798668, 798666, 798667, 798669, 798678, 798676, 798677, 798679, 798698, 798696, 798697, 798699, 798788, 798786, 798787, 798789, 798768, 798766, 798767, 798769, 798778, 798776, 798777, 798779, 798798, 798796, 798797, 798799, 798988, 798986, 798987, 798989, 798968, 798966, 798967, 798969, 798978, 798976, 798977, 798979, 798998, 798996, 798997, 798999, 796888, 796886, 796887, 796889, 796868, 796866, 796867, 796869, 796878, 796876, 796877, 796879, 796898, 796896, 796897, 796899, 796688, 796686, 796687, 796689, 796668, 796666, 796667, 796669, 796678, 796676, 796677, 796679, 796698, 796696, 796697, 796699, 796788, 796786, 796787, 796789, 796768, 796766, 796767, 796769, 796778, 796776, 796777, 796779, 796798, 796796, 796797, 796799, 796988, 796986, 796987, 796989, 796968, 796966, 796967, 796969, 796978, 796976, 796977, 796979, 796998, 796996, 796997, 796999, 797888, 797886, 797887, 797889, 797868, 797866, 797867, 797869, 797878, 797876, 797877, 797879, 797898, 797896, 797897, 797899, 797688, 797686, 797687, 797689, 797668, 797666, 797667, 797669, 797678, 797676, 797677, 797679, 797698, 797696, 797697, 797699, 797788, 797786, 797787, 797789, 797768, 797766, 797767, 797769, 797778, 797776, 797777, 797779, 797798, 797796, 797797, 797799, 797988, 797986, 797987, 797989, 797968, 797966, 797967, 797969, 797978, 797976, 797977, 797979, 797998, 797996, 797997, 797999, 799888, 799886, 799887, 799889, 799868, 799866, 799867, 799869, 799878, 799876, 799877, 799879, 799898, 799896, 799897, 799899, 799688, 799686, 799687, 799689, 799668, 799666, 799667, 799669, 799678, 799676, 799677, 799679, 799698, 799696, 799697, 799699, 799788, 799786, 799787, 799789, 799768, 799766, 799767, 799769, 799778, 799776, 799777, 799779, 799798, 799796, 799797, 799799, 799988, 799986, 799987, 799989, 799968, 799966, 799967, 799969, 799978, 799976, 799977, 799979, 799998, 799996, 799997, 799999, 988888, 988886, 988887, 988889, 988868, 988866, 988867, 988869, 988878, 988876, 988877, 988879, 988898, 988896, 988897, 988899, 988688, 988686, 988687, 988689, 988668, 988666, 988667, 988669, 988678, 988676, 988677, 988679, 988698, 988696, 988697, 988699, 988788, 988786, 988787, 988789, 988768, 988766, 988767, 988769, 988778, 988776, 988777, 988779, 988798, 988796, 988797, 988799, 988988, 988986, 988987, 988989, 988968, 988966, 988967, 988969, 988978, 988976, 988977, 988979, 988998, 988996, 988997, 988999, 986888, 986886, 986887, 986889, 986868, 986866, 986867, 986869, 986878, 986876, 986877, 986879, 986898, 986896, 986897, 986899, 986688, 986686, 986687, 986689, 986668, 986666, 986667, 986669, 986678, 986676, 986677, 986679, 986698, 986696, 986697, 986699, 986788, 986786, 986787, 986789, 986768, 986766, 986767, 986769, 986778, 986776, 986777, 986779, 986798, 986796, 986797, 986799, 986988, 986986, 986987, 986989, 986968, 986966, 986967, 986969, 986978, 986976, 986977, 986979, 986998, 986996, 986997, 986999, 987888, 987886, 987887, 987889, 987868, 987866, 987867, 987869, 987878, 987876, 987877, 987879, 987898, 987896, 987897, 987899, 987688, 987686, 987687, 987689, 987668, 987666, 987667, 987669, 987678, 987676, 987677, 987679, 987698, 987696, 987697, 987699, 987788, 987786, 987787, 987789, 987768, 987766, 987767, 987769, 987778, 987776, 987777, 987779, 987798, 987796, 987797, 987799, 987988, 987986, 987987, 987989, 987968, 987966, 987967, 987969, 987978, 987976, 987977, 987979, 987998, 987996, 987997, 987999, 989888, 989886, 989887, 989889, 989868, 989866, 989867, 989869, 989878, 989876, 989877, 989879, 989898, 989896, 989897, 989899, 989688, 989686, 989687, 989689, 989668, 989666, 989667, 989669, 989678, 989676, 989677, 989679, 989698, 989696, 989697, 989699, 989788, 989786, 989787, 989789, 989768, 989766, 989767, 989769, 989778, 989776, 989777, 989779, 989798, 989796, 989797, 989799, 989988, 989986, 989987, 989989, 989968, 989966, 989967, 989969, 989978, 989976, 989977, 989979, 989998, 989996, 989997, 989999, 968888, 968886, 968887, 968889, 968868, 968866, 968867, 968869, 968878, 968876, 968877, 968879, 968898, 968896, 968897, 968899, 968688, 968686, 968687, 968689, 968668, 968666, 968667, 968669, 968678, 968676, 968677, 968679, 968698, 968696, 968697, 968699, 968788, 968786, 968787, 968789, 968768, 968766, 968767, 968769, 968778, 968776, 968777, 968779, 968798, 968796, 968797, 968799, 968988, 968986, 968987, 968989, 968968, 968966, 968967, 968969, 968978, 968976, 968977, 968979, 968998, 968996, 968997, 968999, 966888, 966886, 966887, 966889, 966868, 966866, 966867, 966869, 966878, 966876, 966877, 966879, 966898, 966896, 966897, 966899, 966688, 966686, 966687, 966689, 966668, 966666, 966667, 966669, 966678, 966676, 966677, 966679, 966698, 966696, 966697, 966699, 966788, 966786, 966787, 966789, 966768, 966766, 966767, 966769, 966778, 966776, 966777, 966779, 966798, 966796, 966797, 966799, 966988, 966986, 966987, 966989, 966968, 966966, 966967, 966969, 966978, 966976, 966977, 966979, 966998, 966996, 966997, 966999, 967888, 967886, 967887, 967889, 967868, 967866, 967867, 967869, 967878, 967876, 967877, 967879, 967898, 967896, 967897, 967899, 967688, 967686, 967687, 967689, 967668, 967666, 967667, 967669, 967678, 967676, 967677, 967679, 967698, 967696, 967697, 967699, 967788, 967786, 967787, 967789, 967768, 967766, 967767, 967769, 967778, 967776, 967777, 967779, 967798, 967796, 967797, 967799, 967988, 967986, 967987, 967989, 967968, 967966, 967967, 967969, 967978, 967976, 967977, 967979, 967998, 967996, 967997, 967999, 969888, 969886, 969887, 969889, 969868, 969866, 969867, 969869, 969878, 969876, 969877, 969879, 969898, 969896, 969897, 969899, 969688, 969686, 969687, 969689, 969668, 969666, 969667, 969669, 969678, 969676, 969677, 969679, 969698, 969696, 969697, 969699, 969788, 969786, 969787, 969789, 969768, 969766, 969767, 969769, 969778, 969776, 969777, 969779, 969798, 969796, 969797, 969799, 969988, 969986, 969987, 969989, 969968, 969966, 969967, 969969, 969978, 969976, 969977, 969979, 969998, 969996, 969997, 969999, 978888, 978886, 978887, 978889, 978868, 978866, 978867, 978869, 978878, 978876, 978877, 978879, 978898, 978896, 978897, 978899, 978688, 978686, 978687, 978689, 978668, 978666, 978667, 978669, 978678, 978676, 978677, 978679, 978698, 978696, 978697, 978699, 978788, 978786, 978787, 978789, 978768, 978766, 978767, 978769, 978778, 978776, 978777, 978779, 978798, 978796, 978797, 978799, 978988, 978986, 978987, 978989, 978968, 978966, 978967, 978969, 978978, 978976, 978977, 978979, 978998, 978996, 978997, 978999, 976888, 976886, 976887, 976889, 976868, 976866, 976867, 976869, 976878, 976876, 976877, 976879, 976898, 976896, 976897, 976899, 976688, 976686, 976687, 976689, 976668, 976666, 976667, 976669, 976678, 976676, 976677, 976679, 976698, 976696, 976697, 976699, 976788, 976786, 976787, 976789, 976768, 976766, 976767, 976769, 976778, 976776, 976777, 976779, 976798, 976796, 976797, 976799, 976988, 976986, 976987, 976989, 976968, 976966, 976967, 976969, 976978, 976976, 976977, 976979, 976998, 976996, 976997, 976999, 977888, 977886, 977887, 977889, 977868, 977866, 977867, 977869, 977878, 977876, 977877, 977879, 977898, 977896, 977897, 977899, 977688, 977686, 977687, 977689, 977668, 977666, 977667, 977669, 977678, 977676, 977677, 977679, 977698, 977696, 977697, 977699, 977788, 977786, 977787, 977789, 977768, 977766, 977767, 977769, 977778, 977776, 977777, 977779, 977798, 977796, 977797, 977799, 977988, 977986, 977987, 977989, 977968, 977966, 977967, 977969, 977978, 977976, 977977, 977979, 977998, 977996, 977997, 977999, 979888, 979886, 979887, 979889, 979868, 979866, 979867, 979869, 979878, 979876, 979877, 979879, 979898, 979896, 979897, 979899, 979688, 979686, 979687, 979689, 979668, 979666, 979667, 979669, 979678, 979676, 979677, 979679, 979698, 979696, 979697, 979699, 979788, 979786, 979787, 979789, 979768, 979766, 979767, 979769, 979778, 979776, 979777, 979779, 979798, 979796, 979797, 979799, 979988, 979986, 979987, 979989, 979968, 979966, 979967, 979969, 979978, 979976, 979977, 979979, 979998, 979996, 979997, 979999, 998888, 998886, 998887, 998889, 998868, 998866, 998867, 998869, 998878, 998876, 998877, 998879, 998898, 998896, 998897, 998899, 998688, 998686, 998687, 998689, 998668, 998666, 998667, 998669, 998678, 998676, 998677, 998679, 998698, 998696, 998697, 998699, 998788, 998786, 998787, 998789, 998768, 998766, 998767, 998769, 998778, 998776, 998777, 998779, 998798, 998796, 998797, 998799, 998988, 998986, 998987, 998989, 998968, 998966, 998967, 998969, 998978, 998976, 998977, 998979, 998998, 998996, 998997, 998999, 996888, 996886, 996887, 996889, 996868, 996866, 996867, 996869, 996878, 996876, 996877, 996879, 996898, 996896, 996897, 996899, 996688, 996686, 996687, 996689, 996668, 996666, 996667, 996669, 996678, 996676, 996677, 996679, 996698, 996696, 996697, 996699, 996788, 996786, 996787, 996789, 996768, 996766, 996767, 996769, 996778, 996776, 996777, 996779, 996798, 996796, 996797, 996799, 996988, 996986, 996987, 996989, 996968, 996966, 996967, 996969, 996978, 996976, 996977, 996979, 996998, 996996, 996997, 996999, 997888, 997886, 997887, 997889, 997868, 997866, 997867, 997869, 997878, 997876, 997877, 997879, 997898, 997896, 997897, 997899, 997688, 997686, 997687, 997689, 997668, 997666, 997667, 997669, 997678, 997676, 997677, 997679, 997698, 997696, 997697, 997699, 997788, 997786, 997787, 997789, 997768, 997766, 997767, 997769, 997778, 997776, 997777, 997779, 997798, 997796, 997797, 997799, 997988, 997986, 997987, 997989, 997968, 997966, 997967, 997969, 997978, 997976, 997977, 997979, 997998, 997996, 997997, 997999, 999888, 999886, 999887, 999889, 999868, 999866, 999867, 999869, 999878, 999876, 999877, 999879, 999898, 999896, 999897, 999899, 999688, 999686, 999687, 999689, 999668, 999666, 999667, 999669, 999678, 999676, 999677, 999679, 999698, 999696, 999697, 999699, 999788, 999786, 999787, 999789, 999768, 999766, 999767, 999769, 999778, 999776, 999777, 999779, 999798, 999796, 999797, 999799, 999988, 999986, 999987, 999989, 999968, 999966, 999967, 999969, 999978, 999976, 999977, 999979, 999998, 999996, 999997, 999999);
$tabhex = array(2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 2, 2, 24, 24, 2, 2, 24, 24, 7, 7, 19, 19, 7, 7, 19, 19, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 15, 15, 36, 36, 15, 15, 36, 36, 46, 46, 11, 11, 46, 46, 11, 11, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 16, 16, 51, 51, 16, 16, 51, 51, 40, 40, 54, 54, 40, 40, 54, 54, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 62, 62, 55, 55, 62, 62, 55, 55, 32, 32, 34, 34, 32, 32, 34, 34, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 8, 8, 3, 3, 8, 8, 3, 3, 29, 29, 60, 60, 29, 29, 60, 60, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 39, 39, 63, 63, 39, 39, 63, 63, 48, 48, 5, 5, 48, 48, 5, 5, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 45, 45, 17, 17, 45, 45, 17, 17, 47, 47, 58, 58, 47, 47, 58, 58, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 31, 31, 49, 49, 31, 31, 49, 49, 28, 28, 43, 43, 28, 28, 43, 43, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 23, 23, 27, 27, 23, 23, 27, 27, 4, 4, 41, 41, 4, 4, 41, 41, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 52, 52, 22, 22, 52, 52, 22, 22, 18, 18, 26, 26, 18, 18, 26, 26, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 35, 35, 21, 21, 35, 35, 21, 21, 64, 64, 38, 38, 64, 64, 38, 38, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 56, 56, 30, 30, 56, 56, 30, 30, 50, 50, 14, 14, 50, 50, 14, 14, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 20, 20, 42, 42, 20, 20, 42, 42, 59, 59, 61, 61, 59, 59, 61, 61, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 53, 53, 37, 37, 53, 53, 37, 37, 57, 57, 9, 9, 57, 57, 9, 9, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 12, 12, 25, 25, 12, 12, 25, 25, 6, 6, 10, 10, 6, 6, 10, 10, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1, 33, 33, 13, 13, 33, 33, 13, 13, 44, 44, 1, 1, 44, 44, 1, 1);
$wtabhex = Array(2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 33, 13, 13, 33, 44, 1, 1, 44, 44, 1, 1, 44, 33, 13, 13, 33, 12, 25, 25, 12, 6, 10, 10, 6, 6, 10, 10, 6, 12, 25, 25, 12, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 53, 37, 37, 53, 57, 9, 9, 57, 57, 9, 9, 57, 53, 37, 37, 53, 20, 42, 42, 20, 59, 61, 61, 59, 59, 61, 61, 59, 20, 42, 42, 20, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 56, 30, 30, 56, 50, 14, 14, 50, 50, 14, 14, 50, 56, 30, 30, 56, 35, 21, 21, 35, 64, 38, 38, 64, 64, 38, 38, 64, 35, 21, 21, 35, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 52, 22, 22, 52, 18, 26, 26, 18, 18, 26, 26, 18, 52, 22, 22, 52, 23, 27, 27, 23, 4, 41, 41, 4, 4, 41, 41, 4, 23, 27, 27, 23, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 31, 49, 49, 31, 28, 43, 43, 28, 28, 43, 43, 28, 31, 49, 49, 31, 45, 17, 17, 45, 47, 58, 58, 47, 47, 58, 58, 47, 45, 17, 17, 45, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 39, 63, 63, 39, 48, 5, 5, 48, 48, 5, 5, 48, 39, 63, 63, 39, 8, 3, 3, 8, 29, 60, 60, 29, 29, 60, 60, 29, 8, 3, 3, 8, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 62, 55, 55, 62, 32, 34, 34, 32, 32, 34, 34, 32, 62, 55, 55, 62, 16, 51, 51, 16, 40, 54, 54, 40, 40, 54, 54, 40, 16, 51, 51, 16, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 15, 36, 36, 15, 46, 11, 11, 46, 46, 11, 11, 46, 15, 36, 36, 15, 2, 24, 24, 2, 7, 19, 19, 7, 7, 19, 19, 7, 2, 24, 24, 2);
$hexnametab = array( "Ch'ien(The Creative)", "K'un(The Receptive)", "Chun(Difficulty at the Beginning)", "Mêng(Youthful Folly)",
"Hsü(Waiting,Nourishment)", "Sung(Conflict)", "Shih(The Army)", "Pi (Holding Together,union)", "Hsiao Ch'u(The Taming Power of the Small)",
"Lü(Treading,conduct)", "T'ai(Peace)", "P'i(Standstill,Stagnation)", "T'ung Jên(Fellowship with Men)", "Ta Yu(Possession in Great Measure)",
"Ch'ien(Modesty)", "Yü(Enthusiasm)", "Sui(Following)", "Ku(Work on what has been spoiled,Decay )", "Lin(Approach)", "Kuan(Contemplation,View)",
"Shih Ho(Biting Through)", "Pi(Grace)", "Po(Splitting Apart)", "Fu(Return,The Turning Point)", "Wu Wang(Innocence,The Unexpected)",
"Ta Ch'u(The Taming Power of the Great)", "I(Corners of the Mouth,Providing Nourishment)", "Ta Kuo(Preponderance of the Great)",
"K'an(The Abysmal,Water)", "Li(The Clinging, Fire)", "Hsien(Influence,Wooing)", "Hêng(Duration)", "TUN(Retreat)",
"Ta Chuang(The Power of the Great)", "Chin(Progress)", "Ming I(Darkening of the light)",
"Chia Jên(The Family,The Clan)", "K'uei(Opposition)", "Chien(Obstruction)", "Hsieh(Deliverance)",
"Sun(Decrease)", "I(Increase)", "Kuai(Break-through,Resoluteness)", "Kou(Coming to Meet)", "Ts'ui(Gathering Together,Massing)",
"Shêng(Pushing Upward)", "K'un(Oppression,Exhaustion)", "Ching(The Well)", "Ko(Revolution,Molting)", "Ting(The Caldron)",
"Chên(The Arousing,Shock, Thunder)", "Kên(Keeping Still, Mountain)", "Chien(Development,Gradual Progress)",
"Kuei Mei(The Marrying Maiden)", "Fêng(Abundance,Fullness)", "Lü(The Wanderer)", "Sun(The Gentle,The Penetrating, Wind)",
"Tui(The Joyous, Lake)", "Huan(Dispersion,Dissolution)", "Chieh(Limitation)", "Chung Fu(Inner Truth)", "Hsiao Kuo(Preponderance of the Small)",
"Chi Chi(After Completion)", "Wei Chi(Before Completion)");
?>
|