Data for all classical Laver tables with compatible ordering up to $A_{10}$

Here is the data files for the collection of all classical Laver tables with the canonical compatible ordering.

[[2],[1,2]]

[[3,4],[4],[2,4],[1,2,3,4]]

[[5,6,7,8],[6,8],[7,8],[8],[3,4,7,8],[4,8],[2,4,6,8],[1,2,3,4,5,6,7,8]]

[[9,12,14,16],[10,12,14,16],[11,12,15,16],[12,16],[13,14,15,16],[14,16],[15,16],[16],[5,8,14,16],
[6,8,14,16],[7,8,15,16],[8,16],[3,4,7,8,11,12,15,16],[4,8,12,16],[2,4,6,8,10,12,14,16],[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
]

[[17,18,23,24,27,28,31,32],[18,24,28,32],[19,24,28,32],[20,24,28,32],[21,24,30,32],[22,24,30,32],
[23,24,31,32],[24,32],[25,26,27,28,29,30,31,32],[26,28,30,32],[27,28,31,32],[28,32],[29,30,31,32],[30,32],[31,32],[32],
[9,10,15,16,27,28,31,32],[10,16,28,32],[11,16,28,32],[12,16,28,32],[13,16,30,32],[14,16,30,32],
[15,16,31,32],[16,32],[5,6,7,8,13,14,15,16,21,22,23,24,29,30,31,32],[6,8,14,16,22,24,30,32],[7,8,15,16,23,24,31,32],[8,16,24,32],
[3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32],[4,8,12,16,20,24,28,32],[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32],
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]]

[[33,36,45,48,53,56,62,64],
[34,36,46,48,54,56,62,64],[35,36,47,48,55,56,63,64],[36,48,56,64],[37,48,56,64],[38,48,56,64],[39,48,56,64],[40,48,56,64],
[41,48,60,64],[42,48,60,64],[43,48,60,64],[44,48,60,64],[45,48,62,64],[46,48,62,64],[47,48,63,64],[48,64],
[49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64],[50,52,54,56,58,60,62,64],[51,52,55,56,59,60,63,64],[52,56,60,64],[53,56,62,64],
[54,56,62,64],[55,56,63,64],[56,64],[57,60,62,64],[58,60,62,64],[59,60,63,64],[60,64],[61,62,63,64],
[62,64],[63,64],[64],[17,20,29,32,53,56,62,64],[18,20,30,32,54,56,62,64],[19,20,31,32,55,56,63,64],[20,32,56,64],[21,32,56,64],
[22,32,56,64],[23,32,56,64],[24,32,56,64],[25,32,60,64],[26,32,60,64],[27,32,60,64],[28,32,60,64],
[29,32,62,64],[30,32,62,64],[31,32,63,64],[32,64],[9,12,14,16,25,28,30,32,41,44,46,48,57,60,62,64],
[10,12,14,16,26,28,30,32,42,44,46,48,58,60,62,64],[11,12,15,16,27,28,31,32,43,44,47,48,59,60,63,64],
[12,16,28,32,44,48,60,64],[13,14,15,16,29,30,31,32,45,46,47,48,61,62,63,64],[14,16,30,32,46,48,62,64],[15,16,31,32,47,48,63,64],
[16,32,48,64],[5,8,14,16,21,24,30,32,37,40,46,48,53,56,62,64],[6,8,14,16,22,24,30,32,38,40,46,48,54,56,62,64],
[7,8,15,16,23,24,31,32,39,40,47,48,55,56,63,64],[8,16,24,32,40,48,56,64],
[3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32,35,36,39,40,43,44,47,48,51,52,55,56,59,60,63,64],
[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64],[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,
62,64],[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,
32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64]]

[[65,72,89,96,105,112,124,128],
[66,72,90,96,106,112,124,128],[67,72,91,96,107,112,124,128],[68,72,92,96,108,112,124,128],[69,72,93,96,109,112,126,128],
[70,72,94,96,110,112,126,128],[71,72,95,96,111,112,127,128],[72,96,112,128],[73,96,112,128],[74,96,112,128],[75,96,112,128],
[76,96,112,128],[77,96,112,128],[78,96,112,128],[79,96,112,128],[80,96,112,128],[81,96,120,128],
[82,96,120,128],[83,96,120,128],[84,96,120,128],[85,96,120,128],[86,96,120,128],[87,96,120,128],[88,96,120,128],[89,96,124,128],
[90,96,124,128],[91,96,124,128],[92,96,124,128],[93,96,126,128],[94,96,126,128],[95,96,127,128],[96,128],
[97,100,102,104,105,108,110,112,113,116,118,120,122,124,126,128],[98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128],
[99,100,103,104,107,108,111,112,115,116,119,120,123,124,127,128],[100,104,108,112,116,120,124,128],
[101,102,103,104,109,110,111,112,117,118,119,120,125,126,127,128],[102,104,110,112,118,120,126,128],[103,104,111,112,119,120,127,128],
[104,112,120,128],[105,112,124,128],[106,112,124,128],[107,112,124,128],[108,112,124,128],[109,112,126,128],[110,112,126,128],
[111,112,127,128],[112,128],[113,120,124,128],[114,120,124,128],[115,120,124,128],[116,120,124,128],[117,120,126,128],
[118,120,126,128],[119,120,127,128],[120,128],[121,122,123,124,125,126,127,128],[122,124,126,128],[123,124,127,128],[124,128],
[125,126,127,128],[126,128],[127,128],[128],[33,34,39,40,57,58,63,64,105,106,111,112,123,124,127,128],[34,40,58,64,106,112,124,128],
[35,40,59,64,107,112,124,128],[36,40,60,64,108,112,124,128],[37,40,61,64,109,112,126,128],[38,40,62,64,110,112,126,128],
[39,40,63,64,111,112,127,128],[40,64,112,128],[41,64,112,128],[42,64,112,128],[43,64,112,128],[44,64,112,128],[45,64,112,128],
[46,64,112,128],[47,64,112,128],[48,64,112,128],[49,64,120,128],[50,64,120,128],[51,64,120,128],
[52,64,120,128],[53,64,120,128],[54,64,120,128],[55,64,120,128],[56,64,120,128],[57,64,124,128],[58,64,124,128],[59,64,124,128],
[60,64,124,128],[61,64,126,128],[62,64,126,128],[63,64,127,128],[64,128],[17,24,28,32,49,56,60,64,81,88,92,96,113,120,124,128],
[18,24,28,32,50,56,60,64,82,88,92,96,114,120,124,128],[19,24,28,32,51,56,60,64,83,88,92,96,115,120,124,128],
[20,24,28,32,52,56,60,64,84,88,92,96,116,120,124,128],[21,24,30,32,53,56,62,64,85,88,94,96,117,120,126,128],
[22,24,30,32,54,56,62,64,86,88,94,96,118,120,126,128],[23,24,31,32,55,56,63,64,87,88,95,96,119,120,127,128],[24,32,56,64,88,96,120,128],
[25,28,30,32,57,60,62,64,89,92,94,96,122,124,126,128],[26,28,30,32,58,60,62,64,90,92,94,96,122,124,126,128],
[27,28,31,32,59,60,63,64,91,92,95,96,123,124,127,128],[28,32,60,64,92,96,124,128],[29,30,31,32,61,62,63,64,93,94,95,96,125,126,127,128],
[30,32,62,64,94,96,126,128],[31,32,63,64,95,96,127,128],[32,64,96,128],[9,16,28,32,41,48,60,64,73,80,92,96,105,112,124,128],
[10,16,28,32,42,48,60,64,74,80,92,96,106,112,124,128],[11,16,28,32,43,48,60,64,75,80,92,96,107,112,124,128],
[12,16,28,32,44,48,60,64,76,80,92,96,108,112,124,128],[13,16,30,32,45,48,62,64,77,80,94,96,109,112,126,128],
[14,16,30,32,46,48,62,64,78,80,94,96,110,112,126,128],[15,16,31,32,47,48,63,64,79,80,95,96,111,112,127,128],[16,32,48,64,80,96,112,128],
[5,6,7,8,13,14,15,16,21,22,23,24,29,30,31,32,37,38,39,40,45,46,47,48,53,54,55,56,61,62,63,64,69,
70,71,72,77,78,79,80,85,86,87,88,93,94,95,96,101,102,103,104,109,110,111,112,117,118,119,120,125,126,127,128],
[6,8,14,16,22,24,30,32,38,40,46,48,54,56,62,64,70,72,78,80,86,88,94,96,102,104,110,112,118,120,126,128],
[7,8,15,16,23,24,31,32,39,40,47,48,55,56,63,64,71,72,79,80,87,88,95,96,103,104,111,112,119,120,127,128],
[8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128],[3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32,35,36,39,40,43,44,47,48,51,52,55,56,59,
60,63,64,67,68,71,72,75,76,79,80,83,84,87,88,91,92,95,96,99,100,103,104,107,108,111,112,115,116,119,120,123,124,127,128],
[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128],
[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,
56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128],
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,
34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,
79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,
113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128]]

[[129,144,177,192,209,224,248,256],[130,144,178,192,210,224,248,256],
[131,144,179,192,211,224,248,256],[132,144,180,192,212,224,248,256],[133,144,181,192,213,224,248,256],[134,144,182,192,214,224,248,256],
[135,144,183,192,215,224,248,256],[136,144,184,192,216,224,248,256],[137,144,185,192,217,224,252,256],[138,144,186,192,218,224,252,256],
[139,144,187,192,219,224,252,256],[140,144,188,192,220,224,252,256],[141,144,189,192,221,224,254,256],[142,144,190,192,222,224,254,256],
[143,144,191,192,223,224,255,256],[144,192,224,256],[145,192,224,256],[146,192,224,256],[147,192,224,256],[148,192,224,256],[149,192,224,256],
[150,192,224,256],[151,192,224,256],[152,192,224,256],[153,192,224,256],[154,192,224,256],[155,192,224,256],[156,192,224,256],
[157,192,224,256],[158,192,224,256],[159,192,224,256],[160,192,224,256],[161,192,240,256],[162,192,240,256],[163,192,240,256],
[164,192,240,256],[165,192,240,256],[166,192,240,256],[167,192,240,256],[168,192,240,256],[169,192,240,256],[170,192,240,256],
[171,192,240,256],[172,192,240,256],[173,192,240,256],[174,192,240,256],[175,192,240,256],[176,192,240,256],[177,192,248,256],
[178,192,248,256],[179,192,248,256],[180,192,248,256],[181,192,248,256],[182,192,248,256],[183,192,248,256],[184,192,248,256],
[185,192,252,256],[186,192,252,256],[187,192,252,256],[188,192,252,256],[189,192,254,256],[190,192,254,256],[191,192,255,256],[192,256],
[193,200,204,208,209,216,220,224,225,232,236,240,244,248,252,256],[194,200,204,208,210,216,220,224,226,232,236,240,244,248,252,256],
[195,200,204,208,211,216,220,224,227,232,236,240,244,248,252,256],[196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256],
[197,200,206,208,213,216,222,224,229,232,238,240,245,248,254,256],[198,200,206,208,214,216,222,224,230,232,238,240,246,248,254,256],
[199,200,207,208,215,216,223,224,231,232,239,240,247,248,255,256],[200,208,216,224,232,240,248,256],
[201,204,206,208,217,220,222,224,233,236,238,240,249,252,254,256],[202,204,206,208,218,220,222,224,234,236,238,240,250,252,254,256],
[203,204,207,208,219,220,223,224,235,236,239,240,251,252,255,256],[204,208,220,224,236,240,252,256],
[205,206,207,208,221,222,223,224,237,238,239,240,253,254,255,256],[206,208,222,224,238,240,254,256],[207,208,223,224,239,240,255,256],
[208,224,240,256],[209,224,248,256],[210,224,248,256],[211,224,248,256],[212,224,248,256],[213,224,248,256],[214,224,248,256],
[215,224,248,256],[216,224,248,256],[217,224,252,256],[218,224,252,256],[219,224,252,256],[220,224,252,256],[221,224,254,256],
[222,224,254,256],[223,224,255,256],[224,256],[225,240,248,256],[226,240,248,256],[227,240,248,256],[228,240,248,256],[229,240,248,256],
[230,240,248,256],[231,240,248,256],[232,240,248,256],[233,240,252,256],[234,240,252,256],[235,240,252,256],[236,240,252,256],
[237,240,254,256],[238,240,254,256],[239,240,255,256],[240,256],[241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256],
[242,244,246,248,250,252,254,256],[243,244,247,248,251,252,255,256],[244,248,252,256],[245,248,254,256],[246,248,254,256],
[247,248,255,256],[248,256],[249,252,254,256],[250,252,254,256],[251,252,255,256],[252,256],[253,254,255,256],[254,256],[255,256],[256],
[65,68,77,80,113,116,125,128,209,212,221,224,245,248,254,256],[66,68,78,80,114,116,126,128,210,212,222,224,246,248,254,256],
[67,68,79,80,115,116,127,128,211,212,223,224,247,248,255,256],[68,80,116,128,212,224,248,256],[69,80,117,128,213,224,248,256],
[70,80,118,128,214,224,248,256],[71,80,119,128,215,224,248,256],[72,80,120,128,216,224,248,256],[73,80,121,128,217,224,252,256],
[74,80,122,128,218,224,252,256],[75,80,123,128,219,224,252,256],[76,80,124,128,220,224,252,256],[77,80,125,128,221,224,254,256],
[78,80,126,128,222,224,254,256],[79,80,127,128,223,224,255,256],[80,128,224,256],[81,128,224,256],[82,128,224,256],[83,128,224,256],
[84,128,224,256],[85,128,224,256],[86,128,224,256],[87,128,224,256],[88,128,224,256],[89,128,224,256],[90,128,224,256],[91,128,224,256],
[92,128,224,256],[93,128,224,256],[94,128,224,256],[95,128,224,256],[96,128,224,256],[97,128,240,256],[98,128,240,256],
[99,128,240,256],[100,128,240,256],[101,128,240,256],[102,128,240,256],[103,128,240,256],[104,128,240,256],[105,128,240,256],
[106,128,240,256],[107,128,240,256],[108,128,240,256],[109,128,240,256],[110,128,240,256],[111,128,240,256],[112,128,240,256],
[113,128,248,256],[114,128,248,256],[115,128,248,256],[116,128,248,256],[117,128,248,256],[118,128,248,256],[119,128,248,256],
[120,128,248,256],[121,128,252,256],[122,128,252,256],[123,128,252,256],[124,128,252,256],[125,128,254,256],[126,128,254,256],
[127,128,255,256],[128,256],[33,48,56,64,97,112,120,128,161,176,184,192,225,240,248,256],
[34,48,56,64,98,112,120,128,162,176,184,192,226,240,248,256],[35,48,56,64,99,112,120,128,163,176,184,192,227,240,248,256],
[36,48,56,64,100,112,120,128,164,176,184,192,228,240,248,256],[37,48,56,64,101,112,120,128,165,176,184,192,229,240,248,256],
[38,48,56,64,102,112,120,128,166,176,184,192,230,240,248,256],[39,48,56,64,103,112,120,128,167,176,184,192,231,240,248,256],
[40,48,56,64,104,112,120,128,168,176,184,192,232,240,248,256],[41,48,60,64,105,112,124,128,169,176,188,192,233,240,252,256],
[42,48,60,64,106,112,124,128,170,176,188,192,234,240,252,256],[43,48,60,64,107,112,124,128,171,176,188,192,235,240,252,256],
[44,48,60,64,108,112,124,128,172,176,188,192,236,240,252,256],[45,48,62,64,109,112,126,128,173,176,190,192,237,240,254,256],
[46,48,62,64,110,112,126,128,174,176,190,192,238,240,254,256],[47,48,63,64,111,112,127,128,175,176,191,192,239,240,255,256],
[48,64,112,128,176,192,240,256],[49,56,60,64,113,120,124,128,177,184,188,192,244,248,252,256],
[50,56,60,64,114,120,124,128,178,184,188,192,244,248,252,256],[51,56,60,64,115,120,124,128,179,184,188,192,244,248,252,256],
[52,56,60,64,116,120,124,128,180,184,188,192,244,248,252,256],[53,56,62,64,117,120,126,128,181,184,190,192,245,248,254,256],
[54,56,62,64,118,120,126,128,182,184,190,192,246,248,254,256],[55,56,63,64,119,120,127,128,183,184,191,192,247,248,255,256],
[56,64,120,128,184,192,248,256],[57,60,62,64,121,124,126,128,185,188,190,192,249,252,254,256],
[58,60,62,64,122,124,126,128,186,188,190,192,250,252,254,256],[59,60,63,64,123,124,127,128,187,188,191,192,251,252,255,256],
[60,64,124,128,188,192,252,256],[61,62,63,64,125,126,127,128,189,190,191,192,253,254,255,256],[62,64,126,128,190,192,254,256],
[63,64,127,128,191,192,255,256],[64,128,192,256],[17,32,56,64,81,96,120,128,145,160,184,192,209,224,248,256],
[18,32,56,64,82,96,120,128,146,160,184,192,210,224,248,256],[19,32,56,64,83,96,120,128,147,160,184,192,211,224,248,256],
[20,32,56,64,84,96,120,128,148,160,184,192,212,224,248,256],[21,32,56,64,85,96,120,128,149,160,184,192,213,224,248,256],
[22,32,56,64,86,96,120,128,150,160,184,192,214,224,248,256],[23,32,56,64,87,96,120,128,151,160,184,192,215,224,248,256],
[24,32,56,64,88,96,120,128,152,160,184,192,216,224,248,256],[25,32,60,64,89,96,124,128,153,160,188,192,217,224,252,256],
[26,32,60,64,90,96,124,128,154,160,188,192,218,224,252,256],[27,32,60,64,91,96,124,128,155,160,188,192,219,224,252,256],
[28,32,60,64,92,96,124,128,156,160,188,192,220,224,252,256],[29,32,62,64,93,96,126,128,157,160,190,192,221,224,254,256],
[30,32,62,64,94,96,126,128,158,160,190,192,222,224,254,256],[31,32,63,64,95,96,127,128,159,160,191,192,223,224,255,256],
[32,64,96,128,160,192,224,256],[9,12,14,16,25,28,30,32,41,44,46,48,57,60,62,64,73,76,78,80,89,92,94,96,105,108,110,112,121,124,126,
128,137,140,142,144,153,156,158,160,169,172,174,176,185,188,190,192,201,204,206,208,217,220,222,224,233,236,238,240,249,252,254,256],
[10,12,14,16,26,28,30,32,42,44,46,48,58,60,62,64,74,76,78,80,90,92,94,96,106,108,110,112,122,124,126,
128,138,140,142,144,154,156,158,160,170,172,174,176,186,188,190,192,202,204,206,208,218,220,222,224,234,236,238,240,250,252,254,256],
[11,12,15,16,27,28,31,32,43,44,47,48,59,60,63,64,75,76,79,80,91,92,95,96,107,108,111,112,123,124,127,128,139,
140,143,144,155,156,159,160,171,172,175,176,187,188,191,192,203,204,207,208,219,220,223,224,235,236,239,240,251,252,255,256],
[12,16,28,32,44,48,60,64,76,80,92,96,108,112,124,128,140,144,156,160,172,176,188,192,204,208,220,224,236,240,252,256],
[13,14,15,16,29,30,31,32,45,46,47,48,61,62,63,64,77,78,79,80,93,94,95,96,109,
110,111,112,125,126,127,128,141,142,143,144,157,158,159,160,173,174,175,176,189,190,191,192,205,206,207,208,221,222,223,224,237,238,239,240,253,
254,255,256],[14,16,30,32,46,48,62,64,78,80,94,96,110,112,126,128,142,144,158,160,174,176,190,192,206,208,222,224,238,240,254,256],
[15,16,31,32,47,48,63,64,79,80,95,96,111,112,127,128,143,144,159,160,175,176,191,192,207,208,223,224,239,240,255,256],
[16,32,48,64,80,96,112,128,144,160,176,192,208,224,240,256],[5,8,14,16,21,24,30,32,37,40,46,48,
53,56,62,64,69,72,78,80,85,88,94,96,101,104,110,112,117,120,126,128,133,136,142,144,149,152,158,160,165,168,174,176,181,184,190,192,197,200,206,
208,213,216,222,224,229,232,238,240,245,248,254,256],[6,8,14,16,22,24,30,32,38,40,46,48,54,56,62,64,70,72,78,80,
86,88,94,96,102,104,110,112,118,120,126,128,134,136,142,144,150,152,158,160,166,168,174,176,182,184,190,192,198,200,206,208,214,216,222,224,230,
232,238,240,246,248,254,256],[7,8,15,16,23,24,31,32,39,40,47,48,55,56,63,64,71,72,79,80,87,88,95,96,103,104,
111,112,119,120,127,128,135,136,143,144,151,152,159,160,167,168,175,176,183,184,191,192,199,200,207,208,215,216,223,224,231,232,239,240,247,248,
255,256],[8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256],
[3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32,35,36,39,40,43,44,47,48,51,52,55,56,59,60,63,64,67,68,71,72,75,76,79,
80,83,84,87,88,91,92,95,96,99,100,103,104,107,108,111,112,115,116,119,120,123,124,127,128,131,132,135,136,139,140,143,144,147,148,151,152,155,
156,159,160,163,164,167,168,171,172,175,176,179,180,183,184,187,188,191,192,195,196,199,200,203,204,207,208,211,212,215,216,219,220,223,
224,227,228,231,232,235,236,239,240,243,244,247,248,251,252,255,256],[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,
76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,
224,228,232,236,240,244,248,252,256],[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,
50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,
132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,
200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,256],
[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,
29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,
74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,
108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,
178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,
214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,
248,249,250,251,252,253,254,255,256]]

[[257,258,287,288,353,354,383,384,417,418,447,448,495,496,511,512],[258,288,354,384,418,448,496,512],
[259,288,355,384,419,448,496,512],[260,288,356,384,420,448,496,512],[261,288,357,384,421,448,496,512],[262,288,358,384,422,448,496,512],
[263,288,359,384,423,448,496,512],[264,288,360,384,424,448,496,512],[265,288,361,384,425,448,496,512],[266,288,362,384,426,448,496,512],
[267,288,363,384,427,448,496,512],[268,288,364,384,428,448,496,512],[269,288,365,384,429,448,496,512],[270,288,366,384,430,448,496,512],
[271,288,367,384,431,448,496,512],[272,288,368,384,432,448,496,512],[273,288,369,384,433,448,504,512],[274,288,370,384,434,448,504,512],
[275,288,371,384,435,448,504,512],[276,288,372,384,436,448,504,512],[277,288,373,384,437,448,504,512],[278,288,374,384,438,448,504,512],
[279,288,375,384,439,448,504,512],[280,288,376,384,440,448,504,512],[281,288,377,384,441,448,508,512],[282,288,378,384,442,448,508,512],
[283,288,379,384,443,448,508,512],[284,288,380,384,444,448,508,512],[285,288,381,384,445,448,510,512],[286,288,382,384,446,448,510,512],
[287,288,383,384,447,448,511,512],[288,384,448,512],[289,384,448,512],[290,384,448,512],[291,384,448,512],[292,384,448,512],[293,384,448,512],
[294,384,448,512],[295,384,448,512],[296,384,448,512],[297,384,448,512],[298,384,448,512],[299,384,448,512],[300,384,448,512],
[301,384,448,512],[302,384,448,512],[303,384,448,512],[304,384,448,512],[305,384,448,512],[306,384,448,512],[307,384,448,512],
[308,384,448,512],[309,384,448,512],[310,384,448,512],[311,384,448,512],[312,384,448,512],[313,384,448,512],[314,384,448,512],
[315,384,448,512],[316,384,448,512],[317,384,448,512],[318,384,448,512],[319,384,448,512],[320,384,448,512],[321,384,480,512],
[322,384,480,512],[323,384,480,512],[324,384,480,512],[325,384,480,512],[326,384,480,512],[327,384,480,512],[328,384,480,512],
[329,384,480,512],[330,384,480,512],[331,384,480,512],[332,384,480,512],[333,384,480,512],[334,384,480,512],[335,384,480,512],
[336,384,480,512],[337,384,480,512],[338,384,480,512],[339,384,480,512],[340,384,480,512],[341,384,480,512],[342,384,480,512],
[343,384,480,512],[344,384,480,512],[345,384,480,512],[346,384,480,512],[347,384,480,512],[348,384,480,512],[349,384,480,512],
[350,384,480,512],[351,384,480,512],[352,384,480,512],[353,384,496,512],[354,384,496,512],[355,384,496,512],[356,384,496,512],
[357,384,496,512],[358,384,496,512],[359,384,496,512],[360,384,496,512],[361,384,496,512],[362,384,496,512],[363,384,496,512],
[364,384,496,512],[365,384,496,512],[366,384,496,512],[367,384,496,512],[368,384,496,512],[369,384,504,512],[370,384,504,512],
[371,384,504,512],[372,384,504,512],[373,384,504,512],[374,384,504,512],[375,384,504,512],[376,384,504,512],[377,384,508,512],
[378,384,508,512],[379,384,508,512],[380,384,508,512],[381,384,510,512],[382,384,510,512],[383,384,511,512],[384,512],
[385,400,408,416,417,432,440,448,449,464,472,480,488,496,504,512],[386,400,408,416,418,432,440,448,450,464,472,480,488,496,504,512],
[387,400,408,416,419,432,440,448,451,464,472,480,488,496,504,512],[388,400,408,416,420,432,440,448,452,464,472,480,488,496,504,512],
[389,400,408,416,421,432,440,448,453,464,472,480,488,496,504,512],[390,400,408,416,422,432,440,448,454,464,472,480,488,496,504,512],
[391,400,408,416,423,432,440,448,455,464,472,480,488,496,504,512],[392,400,408,416,424,432,440,448,456,464,472,480,488,496,504,512],
[393,400,412,416,425,432,444,448,457,464,476,480,490,496,508,512],[394,400,412,416,426,432,444,448,458,464,476,480,490,496,508,512],
[395,400,412,416,427,432,444,448,459,464,476,480,491,496,508,512],[396,400,412,416,428,432,444,448,460,464,476,480,492,496,508,512],
[397,400,414,416,429,432,446,448,461,464,478,480,493,496,510,512],[398,400,414,416,430,432,446,448,462,464,478,480,494,496,510,512],
[399,400,415,416,431,432,447,448,463,464,479,480,495,496,511,512],[400,416,432,448,464,480,496,512],
[401,408,412,416,433,440,444,448,465,472,476,480,498,504,508,512],[402,408,412,416,434,440,444,448,466,472,476,480,498,504,508,512],
[403,408,412,416,435,440,444,448,467,472,476,480,499,504,508,512],[404,408,412,416,436,440,444,448,468,472,476,480,500,504,508,512],
[405,408,414,416,437,440,446,448,469,472,478,480,501,504,510,512],[406,408,414,416,438,440,446,448,470,472,478,480,502,504,510,512],
[407,408,415,416,439,440,447,448,471,472,479,480,503,504,511,512],[408,416,440,448,472,480,504,512],
[409,412,414,416,441,444,446,448,473,476,478,480,506,508,510,512],[410,412,414,416,442,444,446,448,474,476,478,480,506,508,510,512],
[411,412,415,416,443,444,447,448,475,476,479,480,507,508,511,512],[412,416,444,448,476,480,508,512],
[413,414,415,416,445,446,447,448,477,478,479,480,509,510,511,512],[414,416,446,448,478,480,510,512],[415,416,447,448,479,480,511,512],
[416,448,480,512],[417,448,496,512],[418,448,496,512],[419,448,496,512],[420,448,496,512],[421,448,496,512],[422,448,496,512],
[423,448,496,512],[424,448,496,512],[425,448,496,512],[426,448,496,512],[427,448,496,512],[428,448,496,512],[429,448,496,512],
[430,448,496,512],[431,448,496,512],[432,448,496,512],[433,448,504,512],[434,448,504,512],[435,448,504,512],[436,448,504,512],
[437,448,504,512],[438,448,504,512],[439,448,504,512],[440,448,504,512],[441,448,508,512],[442,448,508,512],[443,448,508,512],
[444,448,508,512],[445,448,510,512],[446,448,510,512],[447,448,511,512],[448,512],[449,480,496,512],[450,480,496,512],[451,480,496,512],
[452,480,496,512],[453,480,496,512],[454,480,496,512],[455,480,496,512],[456,480,496,512],[457,480,496,512],[458,480,496,512],
[459,480,496,512],[460,480,496,512],[461,480,496,512],[462,480,496,512],[463,480,496,512],[464,480,496,512],[465,480,504,512],
[466,480,504,512],[467,480,504,512],[468,480,504,512],[469,480,504,512],[470,480,504,512],[471,480,504,512],[472,480,504,512],
[473,480,508,512],[474,480,508,512],[475,480,508,512],[476,480,508,512],[477,480,510,512],[478,480,510,512],[479,480,511,512],[480,512],
[481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512],
[482,484,486,488,490,492,494,496,498,500,502,504,506,508,510,512],[483,484,487,488,491,492,495,496,499,500,503,504,507,508,511,512],
[484,488,492,496,500,504,508,512],[485,486,487,488,493,494,495,496,501,502,503,504,509,510,511,512],[486,488,494,496,502,504,510,512],
[487,488,495,496,503,504,511,512],[488,496,504,512],[489,490,495,496,507,508,511,512],[490,496,508,512],[491,496,508,512],
[492,496,508,512],[493,496,510,512],[494,496,510,512],[495,496,511,512],[496,512],[497,498,503,504,507,508,511,512],[498,504,508,512],
[499,504,508,512],[500,504,508,512],[501,504,510,512],[502,504,510,512],[503,504,511,512],[504,512],[505,506,507,508,509,510,511,512],
[506,508,510,512],[507,508,511,512],[508,512],[509,510,511,512],[510,512],[511,512],[512],
[129,136,154,160,226,232,250,256,417,424,442,448,490,496,508,512],[130,136,154,160,226,232,250,256,418,424,442,448,490,496,508,512],
[131,136,155,160,227,232,251,256,419,424,443,448,491,496,508,512],[132,136,156,160,228,232,252,256,420,424,444,448,492,496,508,512],
[133,136,157,160,229,232,253,256,421,424,445,448,493,496,510,512],[134,136,158,160,230,232,254,256,422,424,446,448,494,496,510,512],
[135,136,159,160,231,232,255,256,423,424,447,448,495,496,511,512],[136,160,232,256,424,448,496,512],
[137,138,159,160,233,234,255,256,425,426,447,448,495,496,511,512],[138,160,234,256,426,448,496,512],[139,160,235,256,427,448,496,512],
[140,160,236,256,428,448,496,512],[141,160,237,256,429,448,496,512],[142,160,238,256,430,448,496,512],[143,160,239,256,431,448,496,512],
[144,160,240,256,432,448,496,512],[145,146,159,160,241,242,255,256,433,434,447,448,503,504,511,512],[146,160,242,256,434,448,504,512],
[147,160,243,256,435,448,504,512],[148,160,244,256,436,448,504,512],[149,160,245,256,437,448,504,512],[150,160,246,256,438,448,504,512],
[151,160,247,256,439,448,504,512],[152,160,248,256,440,448,504,512],[153,154,159,160,249,250,255,256,441,442,447,448,507,508,511,512],
[154,160,250,256,442,448,508,512],[155,160,251,256,443,448,508,512],[156,160,252,256,444,448,508,512],[157,160,253,256,445,448,510,512],
[158,160,254,256,446,448,510,512],[159,160,255,256,447,448,511,512],[160,256,448,512],[161,256,448,512],[162,256,448,512],[163,256,448,512],
[164,256,448,512],[165,256,448,512],[166,256,448,512],[167,256,448,512],[168,256,448,512],[169,256,448,512],[170,256,448,512],
[171,256,448,512],[172,256,448,512],[173,256,448,512],[174,256,448,512],[175,256,448,512],[176,256,448,512],[177,256,448,512],
[178,256,448,512],[179,256,448,512],[180,256,448,512],[181,256,448,512],[182,256,448,512],[183,256,448,512],[184,256,448,512],
[185,256,448,512],[186,256,448,512],[187,256,448,512],[188,256,448,512],[189,256,448,512],[190,256,448,512],[191,256,448,512],
[192,256,448,512],[193,256,480,512],[194,256,480,512],[195,256,480,512],[196,256,480,512],[197,256,480,512],[198,256,480,512],
[199,256,480,512],[200,256,480,512],[201,256,480,512],[202,256,480,512],[203,256,480,512],[204,256,480,512],[205,256,480,512],
[206,256,480,512],[207,256,480,512],[208,256,480,512],[209,256,480,512],[210,256,480,512],[211,256,480,512],[212,256,480,512],
[213,256,480,512],[214,256,480,512],[215,256,480,512],[216,256,480,512],[217,256,480,512],[218,256,480,512],[219,256,480,512],
[220,256,480,512],[221,256,480,512],[222,256,480,512],[223,256,480,512],[224,256,480,512],[225,226,255,256,495,496,511,512],
[226,256,496,512],[227,256,496,512],[228,256,496,512],[229,256,496,512],[230,256,496,512],[231,256,496,512],[232,256,496,512],
[233,256,496,512],[234,256,496,512],[235,256,496,512],[236,256,496,512],[237,256,496,512],[238,256,496,512],[239,256,496,512],
[240,256,496,512],[241,256,504,512],[242,256,504,512],[243,256,504,512],[244,256,504,512],[245,256,504,512],[246,256,504,512],
[247,256,504,512],[248,256,504,512],[249,256,508,512],[250,256,508,512],[251,256,508,512],[252,256,508,512],[253,256,510,512],
[254,256,510,512],[255,256,511,512],[256,512],[65,96,112,128,193,224,240,256,321,352,368,384,449,480,496,512],
[66,96,112,128,194,224,240,256,322,352,368,384,450,480,496,512],[67,96,112,128,195,224,240,256,323,352,368,384,451,480,496,512],
[68,96,112,128,196,224,240,256,324,352,368,384,452,480,496,512],[69,96,112,128,197,224,240,256,325,352,368,384,453,480,496,512],
[70,96,112,128,198,224,240,256,326,352,368,384,454,480,496,512],[71,96,112,128,199,224,240,256,327,352,368,384,455,480,496,512],
[72,96,112,128,200,224,240,256,328,352,368,384,456,480,496,512],[73,96,112,128,201,224,240,256,329,352,368,384,457,480,496,512],
[74,96,112,128,202,224,240,256,330,352,368,384,458,480,496,512],[75,96,112,128,203,224,240,256,331,352,368,384,459,480,496,512],
[76,96,112,128,204,224,240,256,332,352,368,384,460,480,496,512],[77,96,112,128,205,224,240,256,333,352,368,384,461,480,496,512],
[78,96,112,128,206,224,240,256,334,352,368,384,462,480,496,512],[79,96,112,128,207,224,240,256,335,352,368,384,463,480,496,512],
[80,96,112,128,208,224,240,256,336,352,368,384,464,480,496,512],[81,96,120,128,209,224,248,256,337,352,376,384,465,480,504,512],
[82,96,120,128,210,224,248,256,338,352,376,384,466,480,504,512],[83,96,120,128,211,224,248,256,339,352,376,384,467,480,504,512],
[84,96,120,128,212,224,248,256,340,352,376,384,468,480,504,512],[85,96,120,128,213,224,248,256,341,352,376,384,469,480,504,512],
[86,96,120,128,214,224,248,256,342,352,376,384,470,480,504,512],[87,96,120,128,215,224,248,256,343,352,376,384,471,480,504,512],
[88,96,120,128,216,224,248,256,344,352,376,384,472,480,504,512],[89,96,124,128,217,224,252,256,345,352,380,384,473,480,508,512],
[90,96,124,128,218,224,252,256,346,352,380,384,474,480,508,512],[91,96,124,128,219,224,252,256,347,352,380,384,475,480,508,512],
[92,96,124,128,220,224,252,256,348,352,380,384,476,480,508,512],[93,96,126,128,221,224,254,256,349,352,382,384,477,480,510,512],
[94,96,126,128,222,224,254,256,350,352,382,384,478,480,510,512],[95,96,127,128,223,224,255,256,351,352,383,384,479,480,511,512],
[96,128,224,256,352,384,480,512],[97,112,120,128,226,240,248,256,353,368,376,384,488,496,504,512],
[98,112,120,128,226,240,248,256,354,368,376,384,488,496,504,512],[99,112,120,128,227,240,248,256,355,368,376,384,488,496,504,512],
[100,112,120,128,228,240,248,256,356,368,376,384,488,496,504,512],[101,112,120,128,229,240,248,256,357,368,376,384,488,496,504,512],
[102,112,120,128,230,240,248,256,358,368,376,384,488,496,504,512],[103,112,120,128,231,240,248,256,359,368,376,384,488,496,504,512],
[104,112,120,128,232,240,248,256,360,368,376,384,488,496,504,512],[105,112,124,128,233,240,252,256,361,368,380,384,490,496,508,512],
[106,112,124,128,234,240,252,256,362,368,380,384,490,496,508,512],[107,112,124,128,235,240,252,256,363,368,380,384,491,496,508,512],
[108,112,124,128,236,240,252,256,364,368,380,384,492,496,508,512],[109,112,126,128,237,240,254,256,365,368,382,384,493,496,510,512],
[110,112,126,128,238,240,254,256,366,368,382,384,494,496,510,512],[111,112,127,128,239,240,255,256,367,368,383,384,495,496,511,512],
[112,128,240,256,368,384,496,512],[113,120,124,128,241,248,252,256,369,376,380,384,498,504,508,512],
[114,120,124,128,242,248,252,256,370,376,380,384,498,504,508,512],[115,120,124,128,243,248,252,256,371,376,380,384,499,504,508,512],
[116,120,124,128,244,248,252,256,372,376,380,384,500,504,508,512],[117,120,126,128,245,248,254,256,373,376,382,384,501,504,510,512],
[118,120,126,128,246,248,254,256,374,376,382,384,502,504,510,512],[119,120,127,128,247,248,255,256,375,376,383,384,503,504,511,512],
[120,128,248,256,376,384,504,512],[121,124,126,128,249,252,254,256,377,380,382,384,506,508,510,512],
[122,124,126,128,250,252,254,256,378,380,382,384,506,508,510,512],[123,124,127,128,251,252,255,256,379,380,383,384,507,508,511,512],
[124,128,252,256,380,384,508,512],[125,126,127,128,253,254,255,256,381,382,383,384,509,510,511,512],[126,128,254,256,382,384,510,512],
[127,128,255,256,383,384,511,512],[128,256,384,512],[33,64,112,128,161,192,240,256,289,320,368,384,417,448,496,512],
[34,64,112,128,162,192,240,256,290,320,368,384,418,448,496,512],[35,64,112,128,163,192,240,256,291,320,368,384,419,448,496,512],
[36,64,112,128,164,192,240,256,292,320,368,384,420,448,496,512],[37,64,112,128,165,192,240,256,293,320,368,384,421,448,496,512],
[38,64,112,128,166,192,240,256,294,320,368,384,422,448,496,512],[39,64,112,128,167,192,240,256,295,320,368,384,423,448,496,512],
[40,64,112,128,168,192,240,256,296,320,368,384,424,448,496,512],[41,64,112,128,169,192,240,256,297,320,368,384,425,448,496,512],
[42,64,112,128,170,192,240,256,298,320,368,384,426,448,496,512],[43,64,112,128,171,192,240,256,299,320,368,384,427,448,496,512],
[44,64,112,128,172,192,240,256,300,320,368,384,428,448,496,512],[45,64,112,128,173,192,240,256,301,320,368,384,429,448,496,512],
[46,64,112,128,174,192,240,256,302,320,368,384,430,448,496,512],[47,64,112,128,175,192,240,256,303,320,368,384,431,448,496,512],
[48,64,112,128,176,192,240,256,304,320,368,384,432,448,496,512],[49,64,120,128,177,192,248,256,305,320,376,384,433,448,504,512],
[50,64,120,128,178,192,248,256,306,320,376,384,434,448,504,512],[51,64,120,128,179,192,248,256,307,320,376,384,435,448,504,512],
[52,64,120,128,180,192,248,256,308,320,376,384,436,448,504,512],[53,64,120,128,181,192,248,256,309,320,376,384,437,448,504,512],
[54,64,120,128,182,192,248,256,310,320,376,384,438,448,504,512],[55,64,120,128,183,192,248,256,311,320,376,384,439,448,504,512],
[56,64,120,128,184,192,248,256,312,320,376,384,440,448,504,512],[57,64,124,128,185,192,252,256,313,320,380,384,441,448,508,512],
[58,64,124,128,186,192,252,256,314,320,380,384,442,448,508,512],[59,64,124,128,187,192,252,256,315,320,380,384,443,448,508,512],
[60,64,124,128,188,192,252,256,316,320,380,384,444,448,508,512],[61,64,126,128,189,192,254,256,317,320,382,384,445,448,510,512],
[62,64,126,128,190,192,254,256,318,320,382,384,446,448,510,512],[63,64,127,128,191,192,255,256,319,320,383,384,447,448,511,512],
[64,128,192,256,320,384,448,512],[17,18,23,24,27,28,31,32,49,50,55,56,59,60,63,64,81,82,87,88,91,92,95,96,113,114,119,120,123,
124,127,128,145,146,151,152,155,156,159,160,177,178,183,184,187,188,191,192,209,210,215,216,219,220,223,224,241,242,247,248,251,252,255,256,273,
274,279,280,283,284,287,288,305,306,311,312,315,316,319,320,337,338,343,344,347,348,351,352,369,370,375,376,379,380,383,384,401,402,407,
408,411,412,415,416,433,434,439,440,443,444,447,448,465,466,471,472,475,476,479,480,497,498,503,504,507,508,511,512],
[18,24,28,32,50,56,60,64,82,88,92,96,114,120,124,128,146,152,156,160,178,184,188,192,210,216,220,224,242,248,
252,256,274,280,284,288,306,312,316,320,338,344,348,352,370,376,380,384,402,408,412,416,434,440,444,448,466,472,476,480,498,504,508,512],
[19,24,28,32,51,56,60,64,83,88,92,96,115,120,124,128,147,152,156,160,179,184,188,192,211,216,220,224,243,248,252,256,275,
280,284,288,307,312,316,320,339,344,348,352,371,376,380,384,403,408,412,416,435,440,444,448,467,472,476,480,499,504,508,512],
[20,24,28,32,52,56,60,64,84,88,92,96,116,120,124,128,148,152,156,160,180,184,188,192,212,216,220,224,244,248,252,256,276,
280,284,288,308,312,316,320,340,344,348,352,372,376,380,384,404,408,412,416,436,440,444,448,468,472,476,480,500,504,508,512],
[21,24,30,32,53,56,62,64,85,88,94,96,117,120,126,128,149,152,158,160,181,184,190,192,213,216,222,224,245,248,254,256,277,
280,286,288,309,312,318,320,341,344,350,352,373,376,382,384,405,408,414,416,437,440,446,448,469,472,478,480,501,504,510,512],
[22,24,30,32,54,56,62,64,86,88,94,96,118,120,126,128,150,152,158,160,182,184,190,192,214,216,222,224,246,248,254,256,278,
280,286,288,310,312,318,320,342,344,350,352,374,376,382,384,406,408,414,416,438,440,446,448,470,472,478,480,502,504,510,512],
[23,24,31,32,55,56,63,64,87,88,95,96,119,120,127,128,151,152,159,160,183,184,191,192,215,216,223,224,247,248,255,256,279,
280,287,288,311,312,319,320,343,344,351,352,375,376,383,384,407,408,415,416,439,440,447,448,471,472,479,480,503,504,511,512],
[24,32,56,64,88,96,120,128,152,160,184,192,216,224,248,256,280,288,312,320,344,352,376,384,408,416,440,448,472,480,504,512],
[25,26,27,28,29,30,31,32,57,58,59,60,61,62,63,64,89,90,91,92,93,94,95,96,121,122,
123,124,125,126,127,128,153,154,155,156,157,158,159,160,185,186,187,188,189,190,191,192,217,218,219,220,221,222,223,224,249,250,251,252,253,254,
255,256,281,282,283,284,285,286,287,288,313,314,315,316,317,318,319,320,345,346,347,348,349,350,351,352,377,378,379,380,381,382,383,384,
409,410,411,412,413,414,415,416,441,442,443,444,445,446,447,448,473,474,475,476,477,478,479,480,505,506,507,508,509,510,511,512],
[26,28,30,32,58,60,62,64,90,92,94,96,122,124,126,128,154,156,158,160,186,188,190,192,218,220,222,224,250,252,254,
256,282,284,286,288,314,316,318,320,346,348,350,352,378,380,382,384,410,412,414,416,442,444,446,448,474,476,478,480,506,508,510,512],
[27,28,31,32,59,60,63,64,91,92,95,96,123,124,127,128,155,156,159,160,187,188,191,192,219,220,223,224,251,252,255,256,283,
284,287,288,315,316,319,320,347,348,351,352,379,380,383,384,411,412,415,416,443,444,447,448,475,476,479,480,507,508,511,512],
[28,32,60,64,92,96,124,128,156,160,188,192,220,224,252,256,284,288,316,320,348,352,380,384,412,416,444,448,476,480,508,512],
[29,30,31,32,61,62,63,64,93,94,95,96,125,126,127,128,157,158,159,160,189,190,191,192,221,222,
223,224,253,254,255,256,285,286,287,288,317,318,319,320,349,350,351,352,381,382,383,384,413,414,415,416,445,446,447,448,477,478,479,480,509,510,
511,512],[30,32,62,64,94,96,126,128,158,160,190,192,222,224,254,256,286,288,318,320,350,352,382,384,414,416,446,448,478,480,510,512],
[31,32,63,64,95,96,127,128,159,160,191,192,223,224,255,256,287,288,319,320,351,352,383,384,415,416,447,448,479,480,511,512],
[32,64,96,128,160,192,224,256,288,320,352,384,416,448,480,512],[9,10,15,16,27,28,31,32,41,42,47,48,59,
60,63,64,73,74,79,80,91,92,95,96,105,106,111,112,123,124,127,128,137,138,143,144,155,156,159,160,169,170,175,176,187,188,191,192,201,202,207,
208,219,220,223,224,233,234,239,240,251,252,255,256,265,266,271,272,283,284,287,288,297,298,303,304,315,316,319,320,329,330,335,336,347,
348,351,352,361,362,367,368,379,380,383,384,393,394,399,400,411,412,415,416,425,426,431,432,443,444,447,448,457,458,463,464,475,476,479,480,489,
490,495,496,507,508,511,512],[10,16,28,32,42,48,60,64,74,80,92,96,106,112,124,128,138,144,156,160,170,176,188,192,202,208,
220,224,234,240,252,256,266,272,284,288,298,304,316,320,330,336,348,352,362,368,380,384,394,400,412,416,426,432,444,448,458,464,476,480,490,496,
508,512],[11,16,28,32,43,48,60,64,75,80,92,96,107,112,124,128,139,144,156,160,171,176,188,192,203,208,220,224,235,240,252,
256,267,272,284,288,299,304,316,320,331,336,348,352,363,368,380,384,395,400,412,416,427,432,444,448,459,464,476,480,491,496,508,512],
[12,16,28,32,44,48,60,64,76,80,92,96,108,112,124,128,140,144,156,160,172,176,188,192,204,208,220,224,236,240,252,256,268,
272,284,288,300,304,316,320,332,336,348,352,364,368,380,384,396,400,412,416,428,432,444,448,460,464,476,480,492,496,508,512],
[13,16,30,32,45,48,62,64,77,80,94,96,109,112,126,128,141,144,158,160,173,176,190,192,205,208,222,224,237,240,254,256,269,
272,286,288,301,304,318,320,333,336,350,352,365,368,382,384,397,400,414,416,429,432,446,448,461,464,478,480,493,496,510,512],
[14,16,30,32,46,48,62,64,78,80,94,96,110,112,126,128,142,144,158,160,174,176,190,192,206,208,222,224,238,240,254,256,270,
272,286,288,302,304,318,320,334,336,350,352,366,368,382,384,398,400,414,416,430,432,446,448,462,464,478,480,494,496,510,512],
[15,16,31,32,47,48,63,64,79,80,95,96,111,112,127,128,143,144,159,160,175,176,191,192,207,208,223,224,239,240,255,256,271,
272,287,288,303,304,319,320,335,336,351,352,367,368,383,384,399,400,415,416,431,432,447,448,463,464,479,480,495,496,511,512],
[16,32,48,64,80,96,112,128,144,160,176,192,208,224,240,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512],
[5,6,7,8,13,14,15,16,21,22,23,24,29,30,31,32,37,38,39,40,45,46,47,48,53,
54,55,56,61,62,63,64,69,70,71,72,77,78,79,80,85,86,87,88,93,94,95,96,101,102,103,104,109,110,111,112,117,118,119,120,125,126,127,128,133,134,
135,136,141,142,143,144,149,150,151,152,157,158,159,160,165,166,167,168,173,174,175,176,181,182,183,184,189,190,191,192,197,198,199,200,
205,206,207,208,213,214,215,216,221,222,223,224,229,230,231,232,237,238,239,240,245,246,247,248,253,254,255,256,261,262,263,264,269,270,271,272,
277,278,279,280,285,286,287,288,293,294,295,296,301,302,303,304,309,310,311,312,317,318,319,320,325,326,327,328,333,334,335,336,341,342,
343,344,349,350,351,352,357,358,359,360,365,366,367,368,373,374,375,376,381,382,383,384,389,390,391,392,397,398,399,400,405,406,407,408,413,414,
415,416,421,422,423,424,429,430,431,432,437,438,439,440,445,446,447,448,453,454,455,456,461,462,463,464,469,470,471,472,477,478,479,480,
485,486,487,488,493,494,495,496,501,502,503,504,509,510,511,512],[6,8,14,16,22,24,30,32,38,40,46,48,54,56,62,64,70,72,78,
80,86,88,94,96,102,104,110,112,118,120,126,128,134,136,142,144,150,152,158,160,166,168,174,176,182,184,190,192,198,200,206,208,214,216,222,224,
230,232,238,240,246,248,254,256,262,264,270,272,278,280,286,288,294,296,302,304,310,312,318,320,326,328,334,336,342,344,350,352,358,360,
366,368,374,376,382,384,390,392,398,400,406,408,414,416,422,424,430,432,438,440,446,448,454,456,462,464,470,472,478,480,486,488,494,496,502,504,
510,512],[7,8,15,16,23,24,31,32,39,40,47,48,55,56,63,64,71,72,79,80,87,88,95,96,103,104,111,112,119,120,127,
128,135,136,143,144,151,152,159,160,167,168,175,176,183,184,191,192,199,200,207,208,215,216,223,224,231,232,239,240,247,248,255,256,263,264,271,
272,279,280,287,288,295,296,303,304,311,312,319,320,327,328,335,336,343,344,351,352,359,360,367,368,375,376,383,384,391,392,399,400,407,
408,415,416,423,424,431,432,439,440,447,448,455,456,463,464,471,472,479,480,487,488,495,496,503,504,511,512],
[8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,
248,256,264,272,280,288,296,304,312,320,328,336,344,352,360,368,376,384,392,400,408,416,424,432,440,448,456,464,472,480,488,496,504,512],
[3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32,35,36,39,40,43,44,47,48,51,52,55,56,59,60,63,64,67,
68,71,72,75,76,79,80,83,84,87,88,91,92,95,96,99,100,103,104,107,108,111,112,115,116,119,120,123,124,127,128,131,132,135,136,139,140,143,144,
147,148,151,152,155,156,159,160,163,164,167,168,171,172,175,176,179,180,183,184,187,188,191,192,195,196,199,200,203,204,207,208,211,212,
215,216,219,220,223,224,227,228,231,232,235,236,239,240,243,244,247,248,251,252,255,256,259,260,263,264,267,268,271,272,275,276,279,280,283,284,
287,288,291,292,295,296,299,300,303,304,307,308,311,312,315,316,319,320,323,324,327,328,331,332,335,336,339,340,343,344,347,348,351,352,
355,356,359,360,363,364,367,368,371,372,375,376,379,380,383,384,387,388,391,392,395,396,399,400,403,404,407,408,411,412,415,416,419,420,423,424,
427,428,431,432,435,436,439,440,443,444,447,448,451,452,455,456,459,460,463,464,467,468,471,472,475,476,479,480,483,484,487,488,491,492,
495,496,499,500,503,504,507,508,511,512],[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,
104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,
248,252,256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,
384,388,392,396,400,404,408,412,416,420,424,428,432,436,440,444,448,452,456,460,464,468,472,476,480,484,488,492,496,500,504,508,512],
[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,
62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,
142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,
210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,256,258,260,262,264,266,268,270,272,274,276,278,280,
282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,320,322,324,326,328,330,332,334,336,338,340,342,344,346,348,
350,352,354,356,358,360,362,364,366,368,370,372,374,376,378,380,382,384,386,388,390,392,394,396,398,400,402,404,406,408,410,412,414,416,418,420,
422,424,426,428,430,432,434,436,438,440,442,444,446,448,450,452,454,456,458,460,462,464,466,468,470,472,474,476,478,480,482,484,486,488,
490,492,494,496,498,500,502,504,506,508,510,512],[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,
67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,
103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,
139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,
173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,
209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,
243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,
279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,
313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,
349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,
383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,
419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,
453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,
489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512]]

[[513,516,573,576,705,708,765,768,833,836,893,896,989,992,1022,1024],[514,516,574,576,706,708,766,768,834,836,894,896,990,992,1022,1024],
[515,516,575,576,707,708,767,768,835,836,895,896,991,992,1023,1024],[516,576,708,768,836,896,992,1024],[517,576,709,768,837,896,992,1024],
[518,576,710,768,838,896,992,1024],[519,576,711,768,839,896,992,1024],[520,576,712,768,840,896,992,1024],[521,576,713,768,841,896,992,1024],
[522,576,714,768,842,896,992,1024],[523,576,715,768,843,896,992,1024],[524,576,716,768,844,896,992,1024],[525,576,717,768,845,896,992,1024],
[526,576,718,768,846,896,992,1024],[527,576,719,768,847,896,992,1024],[528,576,720,768,848,896,992,1024],[529,576,721,768,849,896,992,1024],
[530,576,722,768,850,896,992,1024],[531,576,723,768,851,896,992,1024],[532,576,724,768,852,896,992,1024],[533,576,725,768,853,896,992,1024],
[534,576,726,768,854,896,992,1024],[535,576,727,768,855,896,992,1024],[536,576,728,768,856,896,992,1024],[537,576,729,768,857,896,992,1024],
[538,576,730,768,858,896,992,1024],[539,576,731,768,859,896,992,1024],[540,576,732,768,860,896,992,1024],[541,576,733,768,861,896,992,1024],
[542,576,734,768,862,896,992,1024],[543,576,735,768,863,896,992,1024],[544,576,736,768,864,896,992,1024],[545,576,737,768,865,896,1008,1024],
[546,576,738,768,866,896,1008,1024],[547,576,739,768,867,896,1008,1024],[548,576,740,768,868,896,1008,1024],[549,576,741,768,869,896,1008,1024],
[550,576,742,768,870,896,1008,1024],[551,576,743,768,871,896,1008,1024],[552,576,744,768,872,896,1008,1024],[553,576,745,768,873,896,1008,1024],
[554,576,746,768,874,896,1008,1024],[555,576,747,768,875,896,1008,1024],[556,576,748,768,876,896,1008,1024],[557,576,749,768,877,896,1008,1024],
[558,576,750,768,878,896,1008,1024],[559,576,751,768,879,896,1008,1024],[560,576,752,768,880,896,1008,1024],[561,576,753,768,881,896,1016,1024],
[562,576,754,768,882,896,1016,1024],[563,576,755,768,883,896,1016,1024],[564,576,756,768,884,896,1016,1024],[565,576,757,768,885,896,1016,1024],
[566,576,758,768,886,896,1016,1024],[567,576,759,768,887,896,1016,1024],[568,576,760,768,888,896,1016,1024],[569,576,761,768,889,896,1020,1024],
[570,576,762,768,890,896,1020,1024],[571,576,763,768,891,896,1020,1024],[572,576,764,768,892,896,1020,1024],[573,576,765,768,893,896,1022,1024],
[574,576,766,768,894,896,1022,1024],[575,576,767,768,895,896,1023,1024],[576,768,896,1024],[577,768,896,1024],[578,768,896,1024],
[579,768,896,1024],[580,768,896,1024],[581,768,896,1024],[582,768,896,1024],[583,768,896,1024],[584,768,896,1024],[585,768,896,1024],
[586,768,896,1024],[587,768,896,1024],[588,768,896,1024],[589,768,896,1024],[590,768,896,1024],[591,768,896,1024],[592,768,896,1024],
[593,768,896,1024],[594,768,896,1024],[595,768,896,1024],[596,768,896,1024],[597,768,896,1024],[598,768,896,1024],[599,768,896,1024],
[600,768,896,1024],[601,768,896,1024],[602,768,896,1024],[603,768,896,1024],[604,768,896,1024],[605,768,896,1024],[606,768,896,1024],
[607,768,896,1024],[608,768,896,1024],[609,768,896,1024],[610,768,896,1024],[611,768,896,1024],[612,768,896,1024],[613,768,896,1024],
[614,768,896,1024],[615,768,896,1024],[616,768,896,1024],[617,768,896,1024],[618,768,896,1024],[619,768,896,1024],[620,768,896,1024],
[621,768,896,1024],[622,768,896,1024],[623,768,896,1024],[624,768,896,1024],[625,768,896,1024],[626,768,896,1024],[627,768,896,1024],
[628,768,896,1024],[629,768,896,1024],[630,768,896,1024],[631,768,896,1024],[632,768,896,1024],[633,768,896,1024],[634,768,896,1024],
[635,768,896,1024],[636,768,896,1024],[637,768,896,1024],[638,768,896,1024],[639,768,896,1024],[640,768,896,1024],[641,768,960,1024],
[642,768,960,1024],[643,768,960,1024],[644,768,960,1024],[645,768,960,1024],[646,768,960,1024],[647,768,960,1024],[648,768,960,1024],
[649,768,960,1024],[650,768,960,1024],[651,768,960,1024],[652,768,960,1024],[653,768,960,1024],[654,768,960,1024],[655,768,960,1024],
[656,768,960,1024],[657,768,960,1024],[658,768,960,1024],[659,768,960,1024],[660,768,960,1024],[661,768,960,1024],[662,768,960,1024],
[663,768,960,1024],[664,768,960,1024],[665,768,960,1024],[666,768,960,1024],[667,768,960,1024],[668,768,960,1024],[669,768,960,1024],
[670,768,960,1024],[671,768,960,1024],[672,768,960,1024],[673,768,960,1024],[674,768,960,1024],[675,768,960,1024],[676,768,960,1024],
[677,768,960,1024],[678,768,960,1024],[679,768,960,1024],[680,768,960,1024],[681,768,960,1024],[682,768,960,1024],[683,768,960,1024],
[684,768,960,1024],[685,768,960,1024],[686,768,960,1024],[687,768,960,1024],[688,768,960,1024],[689,768,960,1024],[690,768,960,1024],
[691,768,960,1024],[692,768,960,1024],[693,768,960,1024],[694,768,960,1024],[695,768,960,1024],[696,768,960,1024],[697,768,960,1024],
[698,768,960,1024],[699,768,960,1024],[700,768,960,1024],[701,768,960,1024],[702,768,960,1024],[703,768,960,1024],[704,768,960,1024],
[705,768,992,1024],[706,768,992,1024],[707,768,992,1024],[708,768,992,1024],[709,768,992,1024],[710,768,992,1024],[711,768,992,1024],
[712,768,992,1024],[713,768,992,1024],[714,768,992,1024],[715,768,992,1024],[716,768,992,1024],[717,768,992,1024],[718,768,992,1024],
[719,768,992,1024],[720,768,992,1024],[721,768,992,1024],[722,768,992,1024],[723,768,992,1024],[724,768,992,1024],[725,768,992,1024],
[726,768,992,1024],[727,768,992,1024],[728,768,992,1024],[729,768,992,1024],[730,768,992,1024],[731,768,992,1024],[732,768,992,1024],
[733,768,992,1024],[734,768,992,1024],[735,768,992,1024],[736,768,992,1024],[737,768,1008,1024],[738,768,1008,1024],[739,768,1008,1024],
[740,768,1008,1024],[741,768,1008,1024],[742,768,1008,1024],[743,768,1008,1024],[744,768,1008,1024],[745,768,1008,1024],[746,768,1008,1024],
[747,768,1008,1024],[748,768,1008,1024],[749,768,1008,1024],[750,768,1008,1024],[751,768,1008,1024],[752,768,1008,1024],[753,768,1016,1024],
[754,768,1016,1024],[755,768,1016,1024],[756,768,1016,1024],[757,768,1016,1024],[758,768,1016,1024],[759,768,1016,1024],[760,768,1016,1024],
[761,768,1020,1024],[762,768,1020,1024],[763,768,1020,1024],[764,768,1020,1024],[765,768,1022,1024],[766,768,1022,1024],[767,768,1023,1024],
[768,1024],[769,800,816,832,833,864,880,896,897,928,944,960,976,992,1008,1024],[770,800,816,832,834,864,880,896,898,928,944,960,976,992,1008,1024],
[771,800,816,832,835,864,880,896,899,928,944,960,976,992,1008,1024],[772,800,816,832,836,864,880,896,900,928,944,960,976,992,1008,1024],
[773,800,816,832,837,864,880,896,901,928,944,960,976,992,1008,1024],[774,800,816,832,838,864,880,896,902,928,944,960,976,992,1008,1024],
[775,800,816,832,839,864,880,896,903,928,944,960,976,992,1008,1024],[776,800,816,832,840,864,880,896,904,928,944,960,976,992,1008,1024],
[777,800,816,832,841,864,880,896,905,928,944,960,976,992,1008,1024],[778,800,816,832,842,864,880,896,906,928,944,960,976,992,1008,1024],
[779,800,816,832,843,864,880,896,907,928,944,960,976,992,1008,1024],[780,800,816,832,844,864,880,896,908,928,944,960,976,992,1008,1024],
[781,800,816,832,845,864,880,896,909,928,944,960,976,992,1008,1024],[782,800,816,832,846,864,880,896,910,928,944,960,976,992,1008,1024],
[783,800,816,832,847,864,880,896,911,928,944,960,976,992,1008,1024],[784,800,816,832,848,864,880,896,912,928,944,960,976,992,1008,1024],
[785,800,824,832,849,864,888,896,913,928,952,960,980,992,1016,1024],[786,800,824,832,850,864,888,896,914,928,952,960,980,992,1016,1024],
[787,800,824,832,851,864,888,896,915,928,952,960,980,992,1016,1024],[788,800,824,832,852,864,888,896,916,928,952,960,980,992,1016,1024],
[789,800,824,832,853,864,888,896,917,928,952,960,981,992,1016,1024],[790,800,824,832,854,864,888,896,918,928,952,960,982,992,1016,1024],
[791,800,824,832,855,864,888,896,919,928,952,960,983,992,1016,1024],[792,800,824,832,856,864,888,896,920,928,952,960,984,992,1016,1024],
[793,800,828,832,857,864,892,896,921,928,956,960,985,992,1020,1024],[794,800,828,832,858,864,892,896,922,928,956,960,986,992,1020,1024],
[795,800,828,832,859,864,892,896,923,928,956,960,987,992,1020,1024],[796,800,828,832,860,864,892,896,924,928,956,960,988,992,1020,1024],
[797,800,830,832,861,864,894,896,925,928,958,960,989,992,1022,1024],[798,800,830,832,862,864,894,896,926,928,958,960,990,992,1022,1024],
[799,800,831,832,863,864,895,896,927,928,959,960,991,992,1023,1024],[800,832,864,896,928,960,992,1024],
[801,816,824,832,865,880,888,896,929,944,952,960,996,1008,1016,1024],[802,816,824,832,866,880,888,896,930,944,952,960,996,1008,1016,1024],
[803,816,824,832,867,880,888,896,931,944,952,960,996,1008,1016,1024],[804,816,824,832,868,880,888,896,932,944,952,960,996,1008,1016,1024],
[805,816,824,832,869,880,888,896,933,944,952,960,997,1008,1016,1024],[806,816,824,832,870,880,888,896,934,944,952,960,998,1008,1016,1024],
[807,816,824,832,871,880,888,896,935,944,952,960,999,1008,1016,1024],[808,816,824,832,872,880,888,896,936,944,952,960,1000,1008,1016,1024],
[809,816,828,832,873,880,892,896,937,944,956,960,1001,1008,1020,1024],[810,816,828,832,874,880,892,896,938,944,956,960,1002,1008,1020,1024],
[811,816,828,832,875,880,892,896,939,944,956,960,1003,1008,1020,1024],[812,816,828,832,876,880,892,896,940,944,956,960,1004,1008,1020,1024],
[813,816,830,832,877,880,894,896,941,944,958,960,1005,1008,1022,1024],[814,816,830,832,878,880,894,896,942,944,958,960,1006,1008,1022,1024],
[815,816,831,832,879,880,895,896,943,944,959,960,1007,1008,1023,1024],[816,832,880,896,944,960,1008,1024],
[817,824,828,832,881,888,892,896,945,952,956,960,1012,1016,1020,1024],[818,824,828,832,882,888,892,896,946,952,956,960,1012,1016,1020,1024],
[819,824,828,832,883,888,892,896,947,952,956,960,1012,1016,1020,1024],[820,824,828,832,884,888,892,896,948,952,956,960,1012,1016,1020,1024],
[821,824,830,832,885,888,894,896,949,952,958,960,1013,1016,1022,1024],[822,824,830,832,886,888,894,896,950,952,958,960,1014,1016,1022,1024],
[823,824,831,832,887,888,895,896,951,952,959,960,1015,1016,1023,1024],[824,832,888,896,952,960,1016,1024],
[825,828,830,832,889,892,894,896,953,956,958,960,1017,1020,1022,1024],[826,828,830,832,890,892,894,896,954,956,958,960,1018,1020,1022,1024],
[827,828,831,832,891,892,895,896,955,956,959,960,1019,1020,1023,1024],[828,832,892,896,956,960,1020,1024],
[829,830,831,832,893,894,895,896,957,958,959,960,1021,1022,1023,1024],[830,832,894,896,958,960,1022,1024],[831,832,895,896,959,960,1023,1024],
[832,896,960,1024],[833,896,992,1024],[834,896,992,1024],[835,896,992,1024],[836,896,992,1024],[837,896,992,1024],[838,896,992,1024],
[839,896,992,1024],[840,896,992,1024],[841,896,992,1024],[842,896,992,1024],[843,896,992,1024],[844,896,992,1024],[845,896,992,1024],
[846,896,992,1024],[847,896,992,1024],[848,896,992,1024],[849,896,992,1024],[850,896,992,1024],[851,896,992,1024],[852,896,992,1024],
[853,896,992,1024],[854,896,992,1024],[855,896,992,1024],[856,896,992,1024],[857,896,992,1024],[858,896,992,1024],[859,896,992,1024],
[860,896,992,1024],[861,896,992,1024],[862,896,992,1024],[863,896,992,1024],[864,896,992,1024],[865,896,1008,1024],[866,896,1008,1024],
[867,896,1008,1024],[868,896,1008,1024],[869,896,1008,1024],[870,896,1008,1024],[871,896,1008,1024],[872,896,1008,1024],[873,896,1008,1024],
[874,896,1008,1024],[875,896,1008,1024],[876,896,1008,1024],[877,896,1008,1024],[878,896,1008,1024],[879,896,1008,1024],[880,896,1008,1024],
[881,896,1016,1024],[882,896,1016,1024],[883,896,1016,1024],[884,896,1016,1024],[885,896,1016,1024],[886,896,1016,1024],[887,896,1016,1024],
[888,896,1016,1024],[889,896,1020,1024],[890,896,1020,1024],[891,896,1020,1024],[892,896,1020,1024],[893,896,1022,1024],[894,896,1022,1024],
[895,896,1023,1024],[896,1024],[897,960,992,1024],[898,960,992,1024],[899,960,992,1024],[900,960,992,1024],[901,960,992,1024],
[902,960,992,1024],[903,960,992,1024],[904,960,992,1024],[905,960,992,1024],[906,960,992,1024],[907,960,992,1024],[908,960,992,1024],
[909,960,992,1024],[910,960,992,1024],[911,960,992,1024],[912,960,992,1024],[913,960,992,1024],[914,960,992,1024],[915,960,992,1024],
[916,960,992,1024],[917,960,992,1024],[918,960,992,1024],[919,960,992,1024],[920,960,992,1024],[921,960,992,1024],[922,960,992,1024],
[923,960,992,1024],[924,960,992,1024],[925,960,992,1024],[926,960,992,1024],[927,960,992,1024],[928,960,992,1024],[929,960,1008,1024],
[930,960,1008,1024],[931,960,1008,1024],[932,960,1008,1024],[933,960,1008,1024],[934,960,1008,1024],[935,960,1008,1024],[936,960,1008,1024],
[937,960,1008,1024],[938,960,1008,1024],[939,960,1008,1024],[940,960,1008,1024],[941,960,1008,1024],[942,960,1008,1024],[943,960,1008,1024],
[944,960,1008,1024],[945,960,1016,1024],[946,960,1016,1024],[947,960,1016,1024],[948,960,1016,1024],[949,960,1016,1024],[950,960,1016,1024],
[951,960,1016,1024],[952,960,1016,1024],[953,960,1020,1024],[954,960,1020,1024],[955,960,1020,1024],[956,960,1020,1024],[957,960,1022,1024],
[958,960,1022,1024],[959,960,1023,1024],[960,1024],[961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,
982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,
1015,1016,1017,1018,1019,1020,1021,1022,1023,1024],[962,964,966,968,970,972,974,976,978,980,982,984,986,988,990,992,994,996,998,1000,1002,1004,1006,
1008,1010,1012,1014,1016,1018,1020,1022,1024],[963,964,967,968,971,972,975,976,979,980,983,984,987,988,991,992,995,996,999,1000,1003,1004,1007,1008,
1011,1012,1015,1016,1019,1020,1023,1024],[964,968,972,976,980,984,988,992,996,1000,1004,1008,1012,1016,1020,1024],
[965,968,974,976,981,984,990,992,997,1000,1006,1008,1013,1016,1022,1024],[966,968,974,976,982,984,990,992,998,1000,1006,1008,1014,1016,1022,1024],
[967,968,975,976,983,984,991,992,999,1000,1007,1008,1015,1016,1023,1024],[968,976,984,992,1000,1008,1016,1024],
[969,972,974,976,985,988,990,992,1001,1004,1006,1008,1017,1020,1022,1024],[970,972,974,976,986,988,990,992,1002,1004,1006,1008,1018,1020,1022,1024],
[971,972,975,976,987,988,991,992,1003,1004,1007,1008,1019,1020,1023,1024],[972,976,988,992,1004,1008,1020,1024],
[973,974,975,976,989,990,991,992,1005,1006,1007,1008,1021,1022,1023,1024],[974,976,990,992,1006,1008,1022,1024],[975,976,991,992,1007,1008,1023,1024],
[976,992,1008,1024],[977,980,989,992,1013,1016,1022,1024],[978,980,990,992,1014,1016,1022,1024],[979,980,991,992,1015,1016,1023,1024],
[980,992,1016,1024],[981,992,1016,1024],[982,992,1016,1024],[983,992,1016,1024],[984,992,1016,1024],[985,992,1020,1024],[986,992,1020,1024],
[987,992,1020,1024],[988,992,1020,1024],[989,992,1022,1024],[990,992,1022,1024],[991,992,1023,1024],[992,1024],
[993,996,1005,1008,1013,1016,1022,1024],[994,996,1006,1008,1014,1016,1022,1024],[995,996,1007,1008,1015,1016,1023,1024],[996,1008,1016,1024],
[997,1008,1016,1024],[998,1008,1016,1024],[999,1008,1016,1024],[1000,1008,1016,1024],[1001,1008,1020,1024],[1002,1008,1020,1024],
[1003,1008,1020,1024],[1004,1008,1020,1024],[1005,1008,1022,1024],[1006,1008,1022,1024],[1007,1008,1023,1024],[1008,1024],
[1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024],[1010,1012,1014,1016,1018,1020,1022,1024],
[1011,1012,1015,1016,1019,1020,1023,1024],[1012,1016,1020,1024],[1013,1016,1022,1024],[1014,1016,1022,1024],[1015,1016,1023,1024],[1016,1024],
[1017,1020,1022,1024],[1018,1020,1022,1024],[1019,1020,1023,1024],[1020,1024],[1021,1022,1023,1024],[1022,1024],[1023,1024],[1024],
[257,272,308,320,452,464,500,512,833,848,884,896,980,992,1016,1024],[258,272,308,320,452,464,500,512,834,848,884,896,980,992,1016,1024],
[259,272,308,320,452,464,500,512,835,848,884,896,980,992,1016,1024],[260,272,308,320,452,464,500,512,836,848,884,896,980,992,1016,1024],
[261,272,309,320,453,464,501,512,837,848,885,896,981,992,1016,1024],[262,272,310,320,454,464,502,512,838,848,886,896,982,992,1016,1024],
[263,272,311,320,455,464,503,512,839,848,887,896,983,992,1016,1024],[264,272,312,320,456,464,504,512,840,848,888,896,984,992,1016,1024],
[265,272,313,320,457,464,505,512,841,848,889,896,985,992,1020,1024],[266,272,314,320,458,464,506,512,842,848,890,896,986,992,1020,1024],
[267,272,315,320,459,464,507,512,843,848,891,896,987,992,1020,1024],[268,272,316,320,460,464,508,512,844,848,892,896,988,992,1020,1024],
[269,272,317,320,461,464,509,512,845,848,893,896,989,992,1022,1024],[270,272,318,320,462,464,510,512,846,848,894,896,990,992,1022,1024],
[271,272,319,320,463,464,511,512,847,848,895,896,991,992,1023,1024],[272,320,464,512,848,896,992,1024],
[273,276,318,320,465,468,510,512,849,852,894,896,989,992,1022,1024],[274,276,318,320,466,468,510,512,850,852,894,896,990,992,1022,1024],
[275,276,319,320,467,468,511,512,851,852,895,896,991,992,1023,1024],[276,320,468,512,852,896,992,1024],[277,320,469,512,853,896,992,1024],
[278,320,470,512,854,896,992,1024],[279,320,471,512,855,896,992,1024],[280,320,472,512,856,896,992,1024],[281,320,473,512,857,896,992,1024],
[282,320,474,512,858,896,992,1024],[283,320,475,512,859,896,992,1024],[284,320,476,512,860,896,992,1024],[285,320,477,512,861,896,992,1024],
[286,320,478,512,862,896,992,1024],[287,320,479,512,863,896,992,1024],[288,320,480,512,864,896,992,1024],
[289,292,318,320,481,484,510,512,865,868,894,896,1005,1008,1022,1024],[290,292,318,320,482,484,510,512,866,868,894,896,1006,1008,1022,1024],
[291,292,319,320,483,484,511,512,867,868,895,896,1007,1008,1023,1024],[292,320,484,512,868,896,1008,1024],[293,320,485,512,869,896,1008,1024],
[294,320,486,512,870,896,1008,1024],[295,320,487,512,871,896,1008,1024],[296,320,488,512,872,896,1008,1024],[297,320,489,512,873,896,1008,1024],
[298,320,490,512,874,896,1008,1024],[299,320,491,512,875,896,1008,1024],[300,320,492,512,876,896,1008,1024],[301,320,493,512,877,896,1008,1024],
[302,320,494,512,878,896,1008,1024],[303,320,495,512,879,896,1008,1024],[304,320,496,512,880,896,1008,1024],
[305,308,317,320,497,500,509,512,881,884,893,896,1013,1016,1022,1024],[306,308,318,320,498,500,510,512,882,884,894,896,1014,1016,1022,1024],
[307,308,319,320,499,500,511,512,883,884,895,896,1015,1016,1023,1024],[308,320,500,512,884,896,1016,1024],[309,320,501,512,885,896,1016,1024],
[310,320,502,512,886,896,1016,1024],[311,320,503,512,887,896,1016,1024],[312,320,504,512,888,896,1016,1024],[313,320,505,512,889,896,1020,1024],
[314,320,506,512,890,896,1020,1024],[315,320,507,512,891,896,1020,1024],[316,320,508,512,892,896,1020,1024],[317,320,509,512,893,896,1022,1024],
[318,320,510,512,894,896,1022,1024],[319,320,511,512,895,896,1023,1024],[320,512,896,1024],[321,512,896,1024],[322,512,896,1024],
[323,512,896,1024],[324,512,896,1024],[325,512,896,1024],[326,512,896,1024],[327,512,896,1024],[328,512,896,1024],[329,512,896,1024],
[330,512,896,1024],[331,512,896,1024],[332,512,896,1024],[333,512,896,1024],[334,512,896,1024],[335,512,896,1024],[336,512,896,1024],
[337,512,896,1024],[338,512,896,1024],[339,512,896,1024],[340,512,896,1024],[341,512,896,1024],[342,512,896,1024],[343,512,896,1024],
[344,512,896,1024],[345,512,896,1024],[346,512,896,1024],[347,512,896,1024],[348,512,896,1024],[349,512,896,1024],[350,512,896,1024],
[351,512,896,1024],[352,512,896,1024],[353,512,896,1024],[354,512,896,1024],[355,512,896,1024],[356,512,896,1024],[357,512,896,1024],
[358,512,896,1024],[359,512,896,1024],[360,512,896,1024],[361,512,896,1024],[362,512,896,1024],[363,512,896,1024],[364,512,896,1024],
[365,512,896,1024],[366,512,896,1024],[367,512,896,1024],[368,512,896,1024],[369,512,896,1024],[370,512,896,1024],[371,512,896,1024],
[372,512,896,1024],[373,512,896,1024],[374,512,896,1024],[375,512,896,1024],[376,512,896,1024],[377,512,896,1024],[378,512,896,1024],
[379,512,896,1024],[380,512,896,1024],[381,512,896,1024],[382,512,896,1024],[383,512,896,1024],[384,512,896,1024],[385,512,960,1024],
[386,512,960,1024],[387,512,960,1024],[388,512,960,1024],[389,512,960,1024],[390,512,960,1024],[391,512,960,1024],[392,512,960,1024],
[393,512,960,1024],[394,512,960,1024],[395,512,960,1024],[396,512,960,1024],[397,512,960,1024],[398,512,960,1024],[399,512,960,1024],
[400,512,960,1024],[401,512,960,1024],[402,512,960,1024],[403,512,960,1024],[404,512,960,1024],[405,512,960,1024],[406,512,960,1024],
[407,512,960,1024],[408,512,960,1024],[409,512,960,1024],[410,512,960,1024],[411,512,960,1024],[412,512,960,1024],[413,512,960,1024],
[414,512,960,1024],[415,512,960,1024],[416,512,960,1024],[417,512,960,1024],[418,512,960,1024],[419,512,960,1024],[420,512,960,1024],
[421,512,960,1024],[422,512,960,1024],[423,512,960,1024],[424,512,960,1024],[425,512,960,1024],[426,512,960,1024],[427,512,960,1024],
[428,512,960,1024],[429,512,960,1024],[430,512,960,1024],[431,512,960,1024],[432,512,960,1024],[433,512,960,1024],[434,512,960,1024],
[435,512,960,1024],[436,512,960,1024],[437,512,960,1024],[438,512,960,1024],[439,512,960,1024],[440,512,960,1024],[441,512,960,1024],
[442,512,960,1024],[443,512,960,1024],[444,512,960,1024],[445,512,960,1024],[446,512,960,1024],[447,512,960,1024],[448,512,960,1024],
[449,452,509,512,989,992,1022,1024],[450,452,510,512,990,992,1022,1024],[451,452,511,512,991,992,1023,1024],[452,512,992,1024],
[453,512,992,1024],[454,512,992,1024],[455,512,992,1024],[456,512,992,1024],[457,512,992,1024],[458,512,992,1024],[459,512,992,1024],
[460,512,992,1024],[461,512,992,1024],[462,512,992,1024],[463,512,992,1024],[464,512,992,1024],[465,512,992,1024],[466,512,992,1024],
[467,512,992,1024],[468,512,992,1024],[469,512,992,1024],[470,512,992,1024],[471,512,992,1024],[472,512,992,1024],[473,512,992,1024],
[474,512,992,1024],[475,512,992,1024],[476,512,992,1024],[477,512,992,1024],[478,512,992,1024],[479,512,992,1024],[480,512,992,1024],
[481,512,1008,1024],[482,512,1008,1024],[483,512,1008,1024],[484,512,1008,1024],[485,512,1008,1024],[486,512,1008,1024],[487,512,1008,1024],
[488,512,1008,1024],[489,512,1008,1024],[490,512,1008,1024],[491,512,1008,1024],[492,512,1008,1024],[493,512,1008,1024],[494,512,1008,1024],
[495,512,1008,1024],[496,512,1008,1024],[497,512,1016,1024],[498,512,1016,1024],[499,512,1016,1024],[500,512,1016,1024],[501,512,1016,1024],
[502,512,1016,1024],[503,512,1016,1024],[504,512,1016,1024],[505,512,1020,1024],[506,512,1020,1024],[507,512,1020,1024],[508,512,1020,1024],
[509,512,1022,1024],[510,512,1022,1024],[511,512,1023,1024],[512,1024],[129,192,224,256,385,448,480,512,641,704,736,768,897,960,992,1024],
[130,192,224,256,386,448,480,512,642,704,736,768,898,960,992,1024],[131,192,224,256,387,448,480,512,643,704,736,768,899,960,992,1024],
[132,192,224,256,388,448,480,512,644,704,736,768,900,960,992,1024],[133,192,224,256,389,448,480,512,645,704,736,768,901,960,992,1024],
[134,192,224,256,390,448,480,512,646,704,736,768,902,960,992,1024],[135,192,224,256,391,448,480,512,647,704,736,768,903,960,992,1024],
[136,192,224,256,392,448,480,512,648,704,736,768,904,960,992,1024],[137,192,224,256,393,448,480,512,649,704,736,768,905,960,992,1024],
[138,192,224,256,394,448,480,512,650,704,736,768,906,960,992,1024],[139,192,224,256,395,448,480,512,651,704,736,768,907,960,992,1024],
[140,192,224,256,396,448,480,512,652,704,736,768,908,960,992,1024],[141,192,224,256,397,448,480,512,653,704,736,768,909,960,992,1024],
[142,192,224,256,398,448,480,512,654,704,736,768,910,960,992,1024],[143,192,224,256,399,448,480,512,655,704,736,768,911,960,992,1024],
[144,192,224,256,400,448,480,512,656,704,736,768,912,960,992,1024],[145,192,224,256,401,448,480,512,657,704,736,768,913,960,992,1024],
[146,192,224,256,402,448,480,512,658,704,736,768,914,960,992,1024],[147,192,224,256,403,448,480,512,659,704,736,768,915,960,992,1024],
[148,192,224,256,404,448,480,512,660,704,736,768,916,960,992,1024],[149,192,224,256,405,448,480,512,661,704,736,768,917,960,992,1024],
[150,192,224,256,406,448,480,512,662,704,736,768,918,960,992,1024],[151,192,224,256,407,448,480,512,663,704,736,768,919,960,992,1024],
[152,192,224,256,408,448,480,512,664,704,736,768,920,960,992,1024],[153,192,224,256,409,448,480,512,665,704,736,768,921,960,992,1024],
[154,192,224,256,410,448,480,512,666,704,736,768,922,960,992,1024],[155,192,224,256,411,448,480,512,667,704,736,768,923,960,992,1024],
[156,192,224,256,412,448,480,512,668,704,736,768,924,960,992,1024],[157,192,224,256,413,448,480,512,669,704,736,768,925,960,992,1024],
[158,192,224,256,414,448,480,512,670,704,736,768,926,960,992,1024],[159,192,224,256,415,448,480,512,671,704,736,768,927,960,992,1024],
[160,192,224,256,416,448,480,512,672,704,736,768,928,960,992,1024],[161,192,240,256,417,448,496,512,673,704,752,768,929,960,1008,1024],
[162,192,240,256,418,448,496,512,674,704,752,768,930,960,1008,1024],[163,192,240,256,419,448,496,512,675,704,752,768,931,960,1008,1024],
[164,192,240,256,420,448,496,512,676,704,752,768,932,960,1008,1024],[165,192,240,256,421,448,496,512,677,704,752,768,933,960,1008,1024],
[166,192,240,256,422,448,496,512,678,704,752,768,934,960,1008,1024],[167,192,240,256,423,448,496,512,679,704,752,768,935,960,1008,1024],
[168,192,240,256,424,448,496,512,680,704,752,768,936,960,1008,1024],[169,192,240,256,425,448,496,512,681,704,752,768,937,960,1008,1024],
[170,192,240,256,426,448,496,512,682,704,752,768,938,960,1008,1024],[171,192,240,256,427,448,496,512,683,704,752,768,939,960,1008,1024],
[172,192,240,256,428,448,496,512,684,704,752,768,940,960,1008,1024],[173,192,240,256,429,448,496,512,685,704,752,768,941,960,1008,1024],
[174,192,240,256,430,448,496,512,686,704,752,768,942,960,1008,1024],[175,192,240,256,431,448,496,512,687,704,752,768,943,960,1008,1024],
[176,192,240,256,432,448,496,512,688,704,752,768,944,960,1008,1024],[177,192,248,256,433,448,504,512,689,704,760,768,945,960,1016,1024],
[178,192,248,256,434,448,504,512,690,704,760,768,946,960,1016,1024],[179,192,248,256,435,448,504,512,691,704,760,768,947,960,1016,1024],
[180,192,248,256,436,448,504,512,692,704,760,768,948,960,1016,1024],[181,192,248,256,437,448,504,512,693,704,760,768,949,960,1016,1024],
[182,192,248,256,438,448,504,512,694,704,760,768,950,960,1016,1024],[183,192,248,256,439,448,504,512,695,704,760,768,951,960,1016,1024],
[184,192,248,256,440,448,504,512,696,704,760,768,952,960,1016,1024],[185,192,252,256,441,448,508,512,697,704,764,768,953,960,1020,1024],
[186,192,252,256,442,448,508,512,698,704,764,768,954,960,1020,1024],[187,192,252,256,443,448,508,512,699,704,764,768,955,960,1020,1024],
[188,192,252,256,444,448,508,512,700,704,764,768,956,960,1020,1024],[189,192,254,256,445,448,510,512,701,704,766,768,957,960,1022,1024],
[190,192,254,256,446,448,510,512,702,704,766,768,958,960,1022,1024],[191,192,255,256,447,448,511,512,703,704,767,768,959,960,1023,1024],
[192,256,448,512,704,768,960,1024],[193,224,240,256,452,480,496,512,705,736,752,768,976,992,1008,1024],
[194,224,240,256,452,480,496,512,706,736,752,768,976,992,1008,1024],[195,224,240,256,452,480,496,512,707,736,752,768,976,992,1008,1024],
[196,224,240,256,452,480,496,512,708,736,752,768,976,992,1008,1024],[197,224,240,256,453,480,496,512,709,736,752,768,976,992,1008,1024],
[198,224,240,256,454,480,496,512,710,736,752,768,976,992,1008,1024],[199,224,240,256,455,480,496,512,711,736,752,768,976,992,1008,1024],
[200,224,240,256,456,480,496,512,712,736,752,768,976,992,1008,1024],[201,224,240,256,457,480,496,512,713,736,752,768,976,992,1008,1024],
[202,224,240,256,458,480,496,512,714,736,752,768,976,992,1008,1024],[203,224,240,256,459,480,496,512,715,736,752,768,976,992,1008,1024],
[204,224,240,256,460,480,496,512,716,736,752,768,976,992,1008,1024],[205,224,240,256,461,480,496,512,717,736,752,768,976,992,1008,1024],
[206,224,240,256,462,480,496,512,718,736,752,768,976,992,1008,1024],[207,224,240,256,463,480,496,512,719,736,752,768,976,992,1008,1024],
[208,224,240,256,464,480,496,512,720,736,752,768,976,992,1008,1024],[209,224,248,256,465,480,504,512,721,736,760,768,980,992,1016,1024],
[210,224,248,256,466,480,504,512,722,736,760,768,980,992,1016,1024],[211,224,248,256,467,480,504,512,723,736,760,768,980,992,1016,1024],
[212,224,248,256,468,480,504,512,724,736,760,768,980,992,1016,1024],[213,224,248,256,469,480,504,512,725,736,760,768,981,992,1016,1024],
[214,224,248,256,470,480,504,512,726,736,760,768,982,992,1016,1024],[215,224,248,256,471,480,504,512,727,736,760,768,983,992,1016,1024],
[216,224,248,256,472,480,504,512,728,736,760,768,984,992,1016,1024],[217,224,252,256,473,480,508,512,729,736,764,768,985,992,1020,1024],
[218,224,252,256,474,480,508,512,730,736,764,768,986,992,1020,1024],[219,224,252,256,475,480,508,512,731,736,764,768,987,992,1020,1024],
[220,224,252,256,476,480,508,512,732,736,764,768,988,992,1020,1024],[221,224,254,256,477,480,510,512,733,736,766,768,989,992,1022,1024],
[222,224,254,256,478,480,510,512,734,736,766,768,990,992,1022,1024],[223,224,255,256,479,480,511,512,735,736,767,768,991,992,1023,1024],
[224,256,480,512,736,768,992,1024],[225,240,248,256,481,496,504,512,737,752,760,768,996,1008,1016,1024],
[226,240,248,256,482,496,504,512,738,752,760,768,996,1008,1016,1024],[227,240,248,256,483,496,504,512,739,752,760,768,996,1008,1016,1024],
[228,240,248,256,484,496,504,512,740,752,760,768,996,1008,1016,1024],[229,240,248,256,485,496,504,512,741,752,760,768,997,1008,1016,1024],
[230,240,248,256,486,496,504,512,742,752,760,768,998,1008,1016,1024],[231,240,248,256,487,496,504,512,743,752,760,768,999,1008,1016,1024],
[232,240,248,256,488,496,504,512,744,752,760,768,1000,1008,1016,1024],[233,240,252,256,489,496,508,512,745,752,764,768,1001,1008,1020,1024],
[234,240,252,256,490,496,508,512,746,752,764,768,1002,1008,1020,1024],[235,240,252,256,491,496,508,512,747,752,764,768,1003,1008,1020,1024],
[236,240,252,256,492,496,508,512,748,752,764,768,1004,1008,1020,1024],[237,240,254,256,493,496,510,512,749,752,766,768,1005,1008,1022,1024],
[238,240,254,256,494,496,510,512,750,752,766,768,1006,1008,1022,1024],[239,240,255,256,495,496,511,512,751,752,767,768,1007,1008,1023,1024],
[240,256,496,512,752,768,1008,1024],[241,248,252,256,497,504,508,512,753,760,764,768,1012,1016,1020,1024],
[242,248,252,256,498,504,508,512,754,760,764,768,1012,1016,1020,1024],[243,248,252,256,499,504,508,512,755,760,764,768,1012,1016,1020,1024],
[244,248,252,256,500,504,508,512,756,760,764,768,1012,1016,1020,1024],[245,248,254,256,501,504,510,512,757,760,766,768,1013,1016,1022,1024],
[246,248,254,256,502,504,510,512,758,760,766,768,1014,1016,1022,1024],[247,248,255,256,503,504,511,512,759,760,767,768,1015,1016,1023,1024],
[248,256,504,512,760,768,1016,1024],[249,252,254,256,505,508,510,512,761,764,766,768,1017,1020,1022,1024],
[250,252,254,256,506,508,510,512,762,764,766,768,1018,1020,1022,1024],[251,252,255,256,507,508,511,512,763,764,767,768,1019,1020,1023,1024],
[252,256,508,512,764,768,1020,1024],[253,254,255,256,509,510,511,512,765,766,767,768,1021,1022,1023,1024],[254,256,510,512,766,768,1022,1024],
[255,256,511,512,767,768,1023,1024],[256,512,768,1024],[65,128,224,256,321,384,480,512,577,640,736,768,833,896,992,1024],
[66,128,224,256,322,384,480,512,578,640,736,768,834,896,992,1024],[67,128,224,256,323,384,480,512,579,640,736,768,835,896,992,1024],
[68,128,224,256,324,384,480,512,580,640,736,768,836,896,992,1024],[69,128,224,256,325,384,480,512,581,640,736,768,837,896,992,1024],
[70,128,224,256,326,384,480,512,582,640,736,768,838,896,992,1024],[71,128,224,256,327,384,480,512,583,640,736,768,839,896,992,1024],
[72,128,224,256,328,384,480,512,584,640,736,768,840,896,992,1024],[73,128,224,256,329,384,480,512,585,640,736,768,841,896,992,1024],
[74,128,224,256,330,384,480,512,586,640,736,768,842,896,992,1024],[75,128,224,256,331,384,480,512,587,640,736,768,843,896,992,1024],
[76,128,224,256,332,384,480,512,588,640,736,768,844,896,992,1024],[77,128,224,256,333,384,480,512,589,640,736,768,845,896,992,1024],
[78,128,224,256,334,384,480,512,590,640,736,768,846,896,992,1024],[79,128,224,256,335,384,480,512,591,640,736,768,847,896,992,1024],
[80,128,224,256,336,384,480,512,592,640,736,768,848,896,992,1024],[81,128,224,256,337,384,480,512,593,640,736,768,849,896,992,1024],
[82,128,224,256,338,384,480,512,594,640,736,768,850,896,992,1024],[83,128,224,256,339,384,480,512,595,640,736,768,851,896,992,1024],
[84,128,224,256,340,384,480,512,596,640,736,768,852,896,992,1024],[85,128,224,256,341,384,480,512,597,640,736,768,853,896,992,1024],
[86,128,224,256,342,384,480,512,598,640,736,768,854,896,992,1024],[87,128,224,256,343,384,480,512,599,640,736,768,855,896,992,1024],
[88,128,224,256,344,384,480,512,600,640,736,768,856,896,992,1024],[89,128,224,256,345,384,480,512,601,640,736,768,857,896,992,1024],
[90,128,224,256,346,384,480,512,602,640,736,768,858,896,992,1024],[91,128,224,256,347,384,480,512,603,640,736,768,859,896,992,1024],
[92,128,224,256,348,384,480,512,604,640,736,768,860,896,992,1024],[93,128,224,256,349,384,480,512,605,640,736,768,861,896,992,1024],
[94,128,224,256,350,384,480,512,606,640,736,768,862,896,992,1024],[95,128,224,256,351,384,480,512,607,640,736,768,863,896,992,1024],
[96,128,224,256,352,384,480,512,608,640,736,768,864,896,992,1024],[97,128,240,256,353,384,496,512,609,640,752,768,865,896,1008,1024],
[98,128,240,256,354,384,496,512,610,640,752,768,866,896,1008,1024],[99,128,240,256,355,384,496,512,611,640,752,768,867,896,1008,1024],
[100,128,240,256,356,384,496,512,612,640,752,768,868,896,1008,1024],[101,128,240,256,357,384,496,512,613,640,752,768,869,896,1008,1024],
[102,128,240,256,358,384,496,512,614,640,752,768,870,896,1008,1024],[103,128,240,256,359,384,496,512,615,640,752,768,871,896,1008,1024],
[104,128,240,256,360,384,496,512,616,640,752,768,872,896,1008,1024],[105,128,240,256,361,384,496,512,617,640,752,768,873,896,1008,1024],
[106,128,240,256,362,384,496,512,618,640,752,768,874,896,1008,1024],[107,128,240,256,363,384,496,512,619,640,752,768,875,896,1008,1024],
[108,128,240,256,364,384,496,512,620,640,752,768,876,896,1008,1024],[109,128,240,256,365,384,496,512,621,640,752,768,877,896,1008,1024],
[110,128,240,256,366,384,496,512,622,640,752,768,878,896,1008,1024],[111,128,240,256,367,384,496,512,623,640,752,768,879,896,1008,1024],
[112,128,240,256,368,384,496,512,624,640,752,768,880,896,1008,1024],[113,128,248,256,369,384,504,512,625,640,760,768,881,896,1016,1024],
[114,128,248,256,370,384,504,512,626,640,760,768,882,896,1016,1024],[115,128,248,256,371,384,504,512,627,640,760,768,883,896,1016,1024],
[116,128,248,256,372,384,504,512,628,640,760,768,884,896,1016,1024],[117,128,248,256,373,384,504,512,629,640,760,768,885,896,1016,1024],
[118,128,248,256,374,384,504,512,630,640,760,768,886,896,1016,1024],[119,128,248,256,375,384,504,512,631,640,760,768,887,896,1016,1024],
[120,128,248,256,376,384,504,512,632,640,760,768,888,896,1016,1024],[121,128,252,256,377,384,508,512,633,640,764,768,889,896,1020,1024],
[122,128,252,256,378,384,508,512,634,640,764,768,890,896,1020,1024],[123,128,252,256,379,384,508,512,635,640,764,768,891,896,1020,1024],
[124,128,252,256,380,384,508,512,636,640,764,768,892,896,1020,1024],[125,128,254,256,381,384,510,512,637,640,766,768,893,896,1022,1024],
[126,128,254,256,382,384,510,512,638,640,766,768,894,896,1022,1024],[127,128,255,256,383,384,511,512,639,640,767,768,895,896,1023,1024],
[128,256,384,512,640,768,896,1024],[33,36,45,48,53,56,62,64,97,100,109,112,117,120,126,128,161,164,173,176,181,184,190,192,225,228,237,
240,245,248,254,256,289,292,301,304,309,312,318,320,353,356,365,368,373,376,382,384,417,420,429,432,437,440,446,448,481,484,493,496,501,504,510,
512,545,548,557,560,565,568,574,576,609,612,621,624,629,632,638,640,673,676,685,688,693,696,702,704,737,740,749,752,757,760,766,768,801,
804,813,816,821,824,830,832,865,868,877,880,885,888,894,896,929,932,941,944,949,952,958,960,993,996,1005,1008,1013,1016,1022,1024],
[34,36,46,48,54,56,62,64,98,100,110,112,118,120,126,128,162,164,174,176,182,184,190,192,226,228,238,240,246,248,254,256,
290,292,302,304,310,312,318,320,354,356,366,368,374,376,382,384,418,420,430,432,438,440,446,448,482,484,494,496,502,504,510,512,546,548,558,560,
566,568,574,576,610,612,622,624,630,632,638,640,674,676,686,688,694,696,702,704,738,740,750,752,758,760,766,768,802,804,814,816,822,824,
830,832,866,868,878,880,886,888,894,896,930,932,942,944,950,952,958,960,994,996,1006,1008,1014,1016,1022,1024],
[35,36,47,48,55,56,63,64,99,100,111,112,119,120,127,128,163,164,175,176,183,184,191,192,227,228,239,240,247,248,255,256,
291,292,303,304,311,312,319,320,355,356,367,368,375,376,383,384,419,420,431,432,439,440,447,448,483,484,495,496,503,504,511,512,547,548,559,560,
567,568,575,576,611,612,623,624,631,632,639,640,675,676,687,688,695,696,703,704,739,740,751,752,759,760,767,768,803,804,815,816,823,824,
831,832,867,868,879,880,887,888,895,896,931,932,943,944,951,952,959,960,995,996,1007,1008,1015,1016,1023,1024],
[36,48,56,64,100,112,120,128,164,176,184,192,228,240,248,256,292,304,312,320,356,368,376,384,420,432,440,448,484,496,504,512,548,
560,568,576,612,624,632,640,676,688,696,704,740,752,760,768,804,816,824,832,868,880,888,896,932,944,952,960,996,1008,1016,1024],
[37,48,56,64,101,112,120,128,165,176,184,192,229,240,248,256,293,304,312,320,357,368,376,384,421,432,440,448,485,496,504,512,549,
560,568,576,613,624,632,640,677,688,696,704,741,752,760,768,805,816,824,832,869,880,888,896,933,944,952,960,997,1008,1016,1024],
[38,48,56,64,102,112,120,128,166,176,184,192,230,240,248,256,294,304,312,320,358,368,376,384,422,432,440,448,486,496,504,512,550,
560,568,576,614,624,632,640,678,688,696,704,742,752,760,768,806,816,824,832,870,880,888,896,934,944,952,960,998,1008,1016,1024],
[39,48,56,64,103,112,120,128,167,176,184,192,231,240,248,256,295,304,312,320,359,368,376,384,423,432,440,448,487,496,504,512,551,
560,568,576,615,624,632,640,679,688,696,704,743,752,760,768,807,816,824,832,871,880,888,896,935,944,952,960,999,1008,1016,1024],
[40,48,56,64,104,112,120,128,168,176,184,192,232,240,248,256,296,304,312,320,360,368,376,384,424,432,440,448,488,496,504,512,552,
560,568,576,616,624,632,640,680,688,696,704,744,752,760,768,808,816,824,832,872,880,888,896,936,944,952,960,1000,1008,1016,1024],
[41,48,60,64,105,112,124,128,169,176,188,192,233,240,252,256,297,304,316,320,361,368,380,384,425,432,444,448,489,496,508,512,553,
560,572,576,617,624,636,640,681,688,700,704,745,752,764,768,809,816,828,832,873,880,892,896,937,944,956,960,1001,1008,1020,1024],
[42,48,60,64,106,112,124,128,170,176,188,192,234,240,252,256,298,304,316,320,362,368,380,384,426,432,444,448,490,496,508,512,554,
560,572,576,618,624,636,640,682,688,700,704,746,752,764,768,810,816,828,832,874,880,892,896,938,944,956,960,1002,1008,1020,1024],
[43,48,60,64,107,112,124,128,171,176,188,192,235,240,252,256,299,304,316,320,363,368,380,384,427,432,444,448,491,496,508,512,555,
560,572,576,619,624,636,640,683,688,700,704,747,752,764,768,811,816,828,832,875,880,892,896,939,944,956,960,1003,1008,1020,1024],
[44,48,60,64,108,112,124,128,172,176,188,192,236,240,252,256,300,304,316,320,364,368,380,384,428,432,444,448,492,496,508,512,556,
560,572,576,620,624,636,640,684,688,700,704,748,752,764,768,812,816,828,832,876,880,892,896,940,944,956,960,1004,1008,1020,1024],
[45,48,62,64,109,112,126,128,173,176,190,192,237,240,254,256,301,304,318,320,365,368,382,384,429,432,446,448,493,496,510,512,557,
560,574,576,621,624,638,640,685,688,702,704,749,752,766,768,813,816,830,832,877,880,894,896,941,944,958,960,1005,1008,1022,1024],
[46,48,62,64,110,112,126,128,174,176,190,192,238,240,254,256,302,304,318,320,366,368,382,384,430,432,446,448,494,496,510,512,558,
560,574,576,622,624,638,640,686,688,702,704,750,752,766,768,814,816,830,832,878,880,894,896,942,944,958,960,1006,1008,1022,1024],
[47,48,63,64,111,112,127,128,175,176,191,192,239,240,255,256,303,304,319,320,367,368,383,384,431,432,447,448,495,496,511,512,559,
560,575,576,623,624,639,640,687,688,703,704,751,752,767,768,815,816,831,832,879,880,895,896,943,944,959,960,1007,1008,1023,1024],
[48,64,112,128,176,192,240,256,304,320,368,384,432,448,496,512,560,576,624,640,688,704,752,768,816,832,880,896,944,960,1008,1024],
[49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,113,114,115,116,117,118,119,120,121,122,123,124,
125,126,127,128,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,
305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,433,434,
435,436,437,438,439,440,441,442,443,444,445,446,447,448,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,561,562,563,564,565,566,
567,568,569,570,571,572,573,574,575,576,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,689,690,691,692,693,694,695,696,
697,698,699,700,701,702,703,704,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,817,818,819,820,821,822,823,824,825,826,827,828,
829,830,831,832,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,945,946,947,948,949,950,951,952,953,954,955,956,957,958,
959,960,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024],[50,52,54,56,58,60,62,64,114,116,118,120,122,124,126,128,
178,180,182,184,186,188,190,192,242,244,246,248,250,252,254,256,306,308,310,312,314,316,318,320,370,372,374,376,378,380,382,384,434,436,
438,440,442,444,446,448,498,500,502,504,506,508,510,512,562,564,566,568,570,572,574,576,626,628,630,632,634,636,638,640,690,692,694,696,698,700,
702,704,754,756,758,760,762,764,766,768,818,820,822,824,826,828,830,832,882,884,886,888,890,892,894,896,946,948,950,952,954,956,958,960,
1010,1012,1014,1016,1018,1020,1022,1024],[51,52,55,56,59,60,63,64,115,116,119,120,123,124,127,128,179,180,183,184,187,188,191,192,243,244,247,
248,251,252,255,256,307,308,311,312,315,316,319,320,371,372,375,376,379,380,383,384,435,436,439,440,443,444,447,448,499,500,503,504,507,
508,511,512,563,564,567,568,571,572,575,576,627,628,631,632,635,636,639,640,691,692,695,696,699,700,703,704,755,756,759,760,763,764,767,768,819,
820,823,824,827,828,831,832,883,884,887,888,891,892,895,896,947,948,951,952,955,956,959,960,1011,1012,1015,1016,1019,1020,1023,1024],
[52,56,60,64,116,120,124,128,180,184,188,192,244,248,252,256,308,312,316,320,372,376,380,384,436,440,444,448,500,504,508,
512,564,568,572,576,628,632,636,640,692,696,700,704,756,760,764,768,820,824,828,832,884,888,892,896,948,952,956,960,1012,1016,1020,1024],
[53,56,62,64,117,120,126,128,181,184,190,192,245,248,254,256,309,312,318,320,373,376,382,384,437,440,446,448,501,504,510,512,565,
568,574,576,629,632,638,640,693,696,702,704,757,760,766,768,821,824,830,832,885,888,894,896,949,952,958,960,1013,1016,1022,1024],
[54,56,62,64,118,120,126,128,182,184,190,192,246,248,254,256,310,312,318,320,374,376,382,384,438,440,446,448,502,504,510,512,566,
568,574,576,630,632,638,640,694,696,702,704,758,760,766,768,822,824,830,832,886,888,894,896,950,952,958,960,1014,1016,1022,1024],
[55,56,63,64,119,120,127,128,183,184,191,192,247,248,255,256,311,312,319,320,375,376,383,384,439,440,447,448,503,504,511,512,567,
568,575,576,631,632,639,640,695,696,703,704,759,760,767,768,823,824,831,832,887,888,895,896,951,952,959,960,1015,1016,1023,1024],
[56,64,120,128,184,192,248,256,312,320,376,384,440,448,504,512,568,576,632,640,696,704,760,768,824,832,888,896,952,960,1016,1024],
[57,60,62,64,121,124,126,128,185,188,190,192,249,252,254,256,313,316,318,320,377,380,382,384,441,444,446,448,
505,508,510,512,569,572,574,576,633,636,638,640,697,700,702,704,761,764,766,768,825,828,830,832,889,892,894,896,953,956,958,960,1017,1020,1022,1024
],[58,60,62,64,122,124,126,128,186,188,190,192,250,252,254,256,314,316,318,320,378,380,382,384,442,444,446,448,506,508,510,512,
570,572,574,576,634,636,638,640,698,700,702,704,762,764,766,768,826,828,830,832,890,892,894,896,954,956,958,960,1018,1020,1022,1024],
[59,60,63,64,123,124,127,128,187,188,191,192,251,252,255,256,315,316,319,320,379,380,383,384,443,444,447,448,507,508,511,512,571,
572,575,576,635,636,639,640,699,700,703,704,763,764,767,768,827,828,831,832,891,892,895,896,955,956,959,960,1019,1020,1023,1024],
[60,64,124,128,188,192,252,256,316,320,380,384,444,448,508,512,572,576,636,640,700,704,764,768,828,832,892,896,956,960,1020,1024],
[61,62,63,64,125,126,127,128,189,190,191,192,253,254,255,256,317,318,319,320,381,382,383,384,445,446,447,448,
509,510,511,512,573,574,575,576,637,638,639,640,701,702,703,704,765,766,767,768,829,830,831,832,893,894,895,896,957,958,959,960,1021,1022,1023,1024
],[62,64,126,128,190,192,254,256,318,320,382,384,446,448,510,512,574,576,638,640,702,704,766,768,830,832,894,896,958,960,1022,1024],
[63,64,127,128,191,192,255,256,319,320,383,384,447,448,511,512,575,576,639,640,703,704,767,768,831,832,895,896,959,960,1023,1024],
[64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024],[17,20,29,32,53,56,62,64,81,84,93,96,117,120,126,128,
145,148,157,160,181,184,190,192,209,212,221,224,245,248,254,256,273,276,285,288,309,312,318,320,337,340,349,352,373,376,382,384,401,404,413,416,
437,440,446,448,465,468,477,480,501,504,510,512,529,532,541,544,565,568,574,576,593,596,605,608,629,632,638,640,657,660,669,672,693,696,
702,704,721,724,733,736,757,760,766,768,785,788,797,800,821,824,830,832,849,852,861,864,885,888,894,896,913,916,925,928,949,952,958,960,977,980,
989,992,1013,1016,1022,1024],[18,20,30,32,54,56,62,64,82,84,94,96,118,120,126,128,146,148,158,160,182,184,190,192,210,212,222,
224,246,248,254,256,274,276,286,288,310,312,318,320,338,340,350,352,374,376,382,384,402,404,414,416,438,440,446,448,466,468,478,480,502,504,510,
512,530,532,542,544,566,568,574,576,594,596,606,608,630,632,638,640,658,660,670,672,694,696,702,704,722,724,734,736,758,760,766,768,786,
788,798,800,822,824,830,832,850,852,862,864,886,888,894,896,914,916,926,928,950,952,958,960,978,980,990,992,1014,1016,1022,1024],
[19,20,31,32,55,56,63,64,83,84,95,96,119,120,127,128,147,148,159,160,183,184,191,192,211,212,223,224,247,248,255,256,
275,276,287,288,311,312,319,320,339,340,351,352,375,376,383,384,403,404,415,416,439,440,447,448,467,468,479,480,503,504,511,512,531,532,543,544,
567,568,575,576,595,596,607,608,631,632,639,640,659,660,671,672,695,696,703,704,723,724,735,736,759,760,767,768,787,788,799,800,823,824,
831,832,851,852,863,864,887,888,895,896,915,916,927,928,951,952,959,960,979,980,991,992,1015,1016,1023,1024],
[20,32,56,64,84,96,120,128,148,160,184,192,212,224,248,256,276,288,312,320,340,352,376,384,404,416,440,448,468,480,504,512,
532,544,568,576,596,608,632,640,660,672,696,704,724,736,760,768,788,800,824,832,852,864,888,896,916,928,952,960,980,992,1016,1024],
[21,32,56,64,85,96,120,128,149,160,184,192,213,224,248,256,277,288,312,320,341,352,376,384,405,416,440,448,469,480,504,512,533,
544,568,576,597,608,632,640,661,672,696,704,725,736,760,768,789,800,824,832,853,864,888,896,917,928,952,960,981,992,1016,1024],
[22,32,56,64,86,96,120,128,150,160,184,192,214,224,248,256,278,288,312,320,342,352,376,384,406,416,440,448,470,480,504,512,534,
544,568,576,598,608,632,640,662,672,696,704,726,736,760,768,790,800,824,832,854,864,888,896,918,928,952,960,982,992,1016,1024],
[23,32,56,64,87,96,120,128,151,160,184,192,215,224,248,256,279,288,312,320,343,352,376,384,407,416,440,448,471,480,504,512,535,
544,568,576,599,608,632,640,663,672,696,704,727,736,760,768,791,800,824,832,855,864,888,896,919,928,952,960,983,992,1016,1024],
[24,32,56,64,88,96,120,128,152,160,184,192,216,224,248,256,280,288,312,320,344,352,376,384,408,416,440,448,472,480,504,512,536,
544,568,576,600,608,632,640,664,672,696,704,728,736,760,768,792,800,824,832,856,864,888,896,920,928,952,960,984,992,1016,1024],
[25,32,60,64,89,96,124,128,153,160,188,192,217,224,252,256,281,288,316,320,345,352,380,384,409,416,444,448,473,480,508,512,537,
544,572,576,601,608,636,640,665,672,700,704,729,736,764,768,793,800,828,832,857,864,892,896,921,928,956,960,985,992,1020,1024],
[26,32,60,64,90,96,124,128,154,160,188,192,218,224,252,256,282,288,316,320,346,352,380,384,410,416,444,448,474,480,508,512,538,
544,572,576,602,608,636,640,666,672,700,704,730,736,764,768,794,800,828,832,858,864,892,896,922,928,956,960,986,992,1020,1024],
[27,32,60,64,91,96,124,128,155,160,188,192,219,224,252,256,283,288,316,320,347,352,380,384,411,416,444,448,475,480,508,512,539,
544,572,576,603,608,636,640,667,672,700,704,731,736,764,768,795,800,828,832,859,864,892,896,923,928,956,960,987,992,1020,1024],
[28,32,60,64,92,96,124,128,156,160,188,192,220,224,252,256,284,288,316,320,348,352,380,384,412,416,444,448,476,480,508,512,540,
544,572,576,604,608,636,640,668,672,700,704,732,736,764,768,796,800,828,832,860,864,892,896,924,928,956,960,988,992,1020,1024],
[29,32,62,64,93,96,126,128,157,160,190,192,221,224,254,256,285,288,318,320,349,352,382,384,413,416,446,448,477,480,510,512,541,
544,574,576,605,608,638,640,669,672,702,704,733,736,766,768,797,800,830,832,861,864,894,896,925,928,958,960,989,992,1022,1024],
[30,32,62,64,94,96,126,128,158,160,190,192,222,224,254,256,286,288,318,320,350,352,382,384,414,416,446,448,478,480,510,512,542,
544,574,576,606,608,638,640,670,672,702,704,734,736,766,768,798,800,830,832,862,864,894,896,926,928,958,960,990,992,1022,1024],
[31,32,63,64,95,96,127,128,159,160,191,192,223,224,255,256,287,288,319,320,351,352,383,384,415,416,447,448,479,480,511,512,543,
544,575,576,607,608,639,640,671,672,703,704,735,736,767,768,799,800,831,832,863,864,895,896,927,928,959,960,991,992,1023,1024],
[32,64,96,128,160,192,224,256,288,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024],
[9,12,14,16,25,28,30,32,41,44,46,48,57,60,62,64,73,76,78,80,89,92,94,96,105,108,110,
112,121,124,126,128,137,140,142,144,153,156,158,160,169,172,174,176,185,188,190,192,201,204,206,208,217,220,222,224,233,236,238,240,249,252,254,
256,265,268,270,272,281,284,286,288,297,300,302,304,313,316,318,320,329,332,334,336,345,348,350,352,361,364,366,368,377,380,382,384,393,
396,398,400,409,412,414,416,425,428,430,432,441,444,446,448,457,460,462,464,473,476,478,480,489,492,494,496,505,508,510,512,521,524,526,528,537,
540,542,544,553,556,558,560,569,572,574,576,585,588,590,592,601,604,606,608,617,620,622,624,633,636,638,640,649,652,654,656,665,668,670,
672,681,684,686,688,697,700,702,704,713,716,718,720,729,732,734,736,745,748,750,752,761,764,766,768,777,780,782,784,793,796,798,800,809,812,814,
816,825,828,830,832,841,844,846,848,857,860,862,864,873,876,878,880,889,892,894,896,905,908,910,912,921,924,926,928,937,940,942,944,953,
956,958,960,969,972,974,976,985,988,990,992,1001,1004,1006,1008,1017,1020,1022,1024],[10,12,14,16,26,28,30,32,42,44,46,48,58,60,62,64,
74,76,78,80,90,92,94,96,106,108,110,112,122,124,126,128,138,140,142,144,154,156,158,160,170,172,174,176,186,188,190,192,202,204,206,208,218,
220,222,224,234,236,238,240,250,252,254,256,266,268,270,272,282,284,286,288,298,300,302,304,314,316,318,320,330,332,334,336,346,348,350,352,
362,364,366,368,378,380,382,384,394,396,398,400,410,412,414,416,426,428,430,432,442,444,446,448,458,460,462,464,474,476,478,480,490,492,494,
496,506,508,510,512,522,524,526,528,538,540,542,544,554,556,558,560,570,572,574,576,586,588,590,592,602,604,606,608,618,620,622,624,634,636,
638,640,650,652,654,656,666,668,670,672,682,684,686,688,698,700,702,704,714,716,718,720,730,732,734,736,746,748,750,752,762,764,766,768,778,
780,782,784,794,796,798,800,810,812,814,816,826,828,830,832,842,844,846,848,858,860,862,864,874,876,878,880,890,892,894,896,906,908,910,912,
922,924,926,928,938,940,942,944,954,956,958,960,970,972,974,976,986,988,990,992,1002,1004,1006,1008,1018,1020,1022,1024],
[11,12,15,16,27,28,31,32,43,44,47,48,59,60,63,64,75,76,79,80,91,92,95,96,107,108,111,112,123,124,127,
128,139,140,143,144,155,156,159,160,171,172,175,176,187,188,191,192,203,204,207,208,219,220,223,224,235,236,239,240,251,252,255,256,267,268,271,
272,283,284,287,288,299,300,303,304,315,316,319,320,331,332,335,336,347,348,351,352,363,364,367,368,379,380,383,384,395,396,399,400,411,
412,415,416,427,428,431,432,443,444,447,448,459,460,463,464,475,476,479,480,491,492,495,496,507,508,511,512,523,524,527,528,539,540,543,544,555,
556,559,560,571,572,575,576,587,588,591,592,603,604,607,608,619,620,623,624,635,636,639,640,651,652,655,656,667,668,671,672,683,684,687,
688,699,700,703,704,715,716,719,720,731,732,735,736,747,748,751,752,763,764,767,768,779,780,783,784,795,796,799,800,811,812,815,816,827,828,831,
832,843,844,847,848,859,860,863,864,875,876,879,880,891,892,895,896,907,908,911,912,923,924,927,928,939,940,943,944,955,956,959,960,971,
972,975,976,987,988,991,992,1003,1004,1007,1008,1019,1020,1023,1024],[12,16,28,32,44,48,60,64,76,80,92,96,108,112,124,128,140,144,156,160,
172,176,188,192,204,208,220,224,236,240,252,256,268,272,284,288,300,304,316,320,332,336,348,352,364,368,380,384,396,400,412,416,428,432,444,
448,460,464,476,480,492,496,508,512,524,528,540,544,556,560,572,576,588,592,604,608,620,624,636,640,652,656,668,672,684,688,700,704,716,720,
732,736,748,752,764,768,780,784,796,800,812,816,828,832,844,848,860,864,876,880,892,896,908,912,924,928,940,944,956,960,972,976,988,992,1004,
1008,1020,1024],[13,14,15,16,29,30,31,32,45,46,47,48,61,62,63,64,77,78,79,80,93,94,95,96,109,110,111,112,125,126,127,
128,141,142,143,144,157,158,159,160,173,174,175,176,189,190,191,192,205,206,207,208,221,222,223,224,237,238,239,240,253,254,255,256,269,270,271,
272,285,286,287,288,301,302,303,304,317,318,319,320,333,334,335,336,349,350,351,352,365,366,367,368,381,382,383,384,397,398,399,400,413,
414,415,416,429,430,431,432,445,446,447,448,461,462,463,464,477,478,479,480,493,494,495,496,509,510,511,512,525,526,527,528,541,542,543,544,557,
558,559,560,573,574,575,576,589,590,591,592,605,606,607,608,621,622,623,624,637,638,639,640,653,654,655,656,669,670,671,672,685,686,687,
688,701,702,703,704,717,718,719,720,733,734,735,736,749,750,751,752,765,766,767,768,781,782,783,784,797,798,799,800,813,814,815,816,829,830,831,
832,845,846,847,848,861,862,863,864,877,878,879,880,893,894,895,896,909,910,911,912,925,926,927,928,941,942,943,944,957,958,959,960,973,
974,975,976,989,990,991,992,1005,1006,1007,1008,1021,1022,1023,1024],[14,16,30,32,46,48,62,64,78,80,94,96,110,112,126,128,142,144,158,160,
174,176,190,192,206,208,222,224,238,240,254,256,270,272,286,288,302,304,318,320,334,336,350,352,366,368,382,384,398,400,414,416,430,432,446,
448,462,464,478,480,494,496,510,512,526,528,542,544,558,560,574,576,590,592,606,608,622,624,638,640,654,656,670,672,686,688,702,704,718,720,
734,736,750,752,766,768,782,784,798,800,814,816,830,832,846,848,862,864,878,880,894,896,910,912,926,928,942,944,958,960,974,976,990,992,1006,
1008,1022,1024],[15,16,31,32,47,48,63,64,79,80,95,96,111,112,127,128,143,144,159,160,175,176,191,192,207,208,223,224,239,240,255,
256,271,272,287,288,303,304,319,320,335,336,351,352,367,368,383,384,399,400,415,416,431,432,447,448,463,464,479,480,495,496,511,512,527,528,543,
544,559,560,575,576,591,592,607,608,623,624,639,640,655,656,671,672,687,688,703,704,719,720,735,736,751,752,767,768,783,784,799,800,815,
816,831,832,847,848,863,864,879,880,895,896,911,912,927,928,943,944,959,960,975,976,991,992,1007,1008,1023,1024],
[16,32,48,64,80,96,112,128,144,160,176,192,208,224,240,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512,
528,544,560,576,592,608,624,640,656,672,688,704,720,736,752,768,784,800,816,832,848,864,880,896,912,928,944,960,976,992,1008,1024],
[5,8,14,16,21,24,30,32,37,40,46,48,53,56,62,64,69,72,78,80,85,88,94,96,101,104,110,112,117,120,126,128,133,
136,142,144,149,152,158,160,165,168,174,176,181,184,190,192,197,200,206,208,213,216,222,224,229,232,238,240,245,248,254,256,261,264,270,272,277,
280,286,288,293,296,302,304,309,312,318,320,325,328,334,336,341,344,350,352,357,360,366,368,373,376,382,384,389,392,398,400,405,408,414,
416,421,424,430,432,437,440,446,448,453,456,462,464,469,472,478,480,485,488,494,496,501,504,510,512,517,520,526,528,533,536,542,544,549,552,558,
560,565,568,574,576,581,584,590,592,597,600,606,608,613,616,622,624,629,632,638,640,645,648,654,656,661,664,670,672,677,680,686,688,693,
696,702,704,709,712,718,720,725,728,734,736,741,744,750,752,757,760,766,768,773,776,782,784,789,792,798,800,805,808,814,816,821,824,830,832,837,
840,846,848,853,856,862,864,869,872,878,880,885,888,894,896,901,904,910,912,917,920,926,928,933,936,942,944,949,952,958,960,965,968,974,
976,981,984,990,992,997,1000,1006,1008,1013,1016,1022,1024],[6,8,14,16,22,24,30,32,38,40,46,48,54,56,62,64,70,72,78,80,86,88,
94,96,102,104,110,112,118,120,126,128,134,136,142,144,150,152,158,160,166,168,174,176,182,184,190,192,198,200,206,208,214,216,222,224,230,232,238,
240,246,248,254,256,262,264,270,272,278,280,286,288,294,296,302,304,310,312,318,320,326,328,334,336,342,344,350,352,358,360,366,368,374,
376,382,384,390,392,398,400,406,408,414,416,422,424,430,432,438,440,446,448,454,456,462,464,470,472,478,480,486,488,494,496,502,504,510,512,518,
520,526,528,534,536,542,544,550,552,558,560,566,568,574,576,582,584,590,592,598,600,606,608,614,616,622,624,630,632,638,640,646,648,654,
656,662,664,670,672,678,680,686,688,694,696,702,704,710,712,718,720,726,728,734,736,742,744,750,752,758,760,766,768,774,776,782,784,790,792,798,
800,806,808,814,816,822,824,830,832,838,840,846,848,854,856,862,864,870,872,878,880,886,888,894,896,902,904,910,912,918,920,926,928,934,
936,942,944,950,952,958,960,966,968,974,976,982,984,990,992,998,1000,1006,1008,1014,1016,1022,1024],
[7,8,15,16,23,24,31,32,39,40,47,48,55,56,63,64,71,72,79,80,87,88,95,96,103,104,111,112,119,120,
127,128,135,136,143,144,151,152,159,160,167,168,175,176,183,184,191,192,199,200,207,208,215,216,223,224,231,232,239,240,247,248,255,256,263,264,
271,272,279,280,287,288,295,296,303,304,311,312,319,320,327,328,335,336,343,344,351,352,359,360,367,368,375,376,383,384,391,392,399,400,
407,408,415,416,423,424,431,432,439,440,447,448,455,456,463,464,471,472,479,480,487,488,495,496,503,504,511,512,519,520,527,528,535,536,543,544,
551,552,559,560,567,568,575,576,583,584,591,592,599,600,607,608,615,616,623,624,631,632,639,640,647,648,655,656,663,664,671,672,679,680,
687,688,695,696,703,704,711,712,719,720,727,728,735,736,743,744,751,752,759,760,767,768,775,776,783,784,791,792,799,800,807,808,815,816,823,824,
831,832,839,840,847,848,855,856,863,864,871,872,879,880,887,888,895,896,903,904,911,912,919,920,927,928,935,936,943,944,951,952,959,960,
967,968,975,976,983,984,991,992,999,1000,1007,1008,1015,1016,1023,1024],[8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,
160,168,176,184,192,200,208,216,224,232,240,248,256,264,272,280,288,296,304,312,320,328,336,344,352,360,368,376,384,392,400,408,416,424,432,440,
448,456,464,472,480,488,496,504,512,520,528,536,544,552,560,568,576,584,592,600,608,616,624,632,640,648,656,664,672,680,688,696,704,712,
720,728,736,744,752,760,768,776,784,792,800,808,816,824,832,840,848,856,864,872,880,888,896,904,912,920,928,936,944,952,960,968,976,984,992,1000,
1008,1016,1024],[3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32,35,36,39,40,43,44,47,48,51,52,55,56,59,60,
63,64,67,68,71,72,75,76,79,80,83,84,87,88,91,92,95,96,99,100,103,104,107,108,111,112,115,116,119,120,123,124,127,128,131,132,135,136,139,140,
143,144,147,148,151,152,155,156,159,160,163,164,167,168,171,172,175,176,179,180,183,184,187,188,191,192,195,196,199,200,203,204,207,208,
211,212,215,216,219,220,223,224,227,228,231,232,235,236,239,240,243,244,247,248,251,252,255,256,259,260,263,264,267,268,271,272,275,276,279,280,
283,284,287,288,291,292,295,296,299,300,303,304,307,308,311,312,315,316,319,320,323,324,327,328,331,332,335,336,339,340,343,344,347,348,
351,352,355,356,359,360,363,364,367,368,371,372,375,376,379,380,383,384,387,388,391,392,395,396,399,400,403,404,407,408,411,412,415,416,419,420,
423,424,427,428,431,432,435,436,439,440,443,444,447,448,451,452,455,456,459,460,463,464,467,468,471,472,475,476,479,480,483,484,487,488,
491,492,495,496,499,500,503,504,507,508,511,512,515,516,519,520,523,524,527,528,531,532,535,536,539,540,543,544,547,548,551,552,555,556,559,560,
563,564,567,568,571,572,575,576,579,580,583,584,587,588,591,592,595,596,599,600,603,604,607,608,611,612,615,616,619,620,623,624,627,628,
631,632,635,636,639,640,643,644,647,648,651,652,655,656,659,660,663,664,667,668,671,672,675,676,679,680,683,684,687,688,691,692,695,696,699,700,
703,704,707,708,711,712,715,716,719,720,723,724,727,728,731,732,735,736,739,740,743,744,747,748,751,752,755,756,759,760,763,764,767,768,
771,772,775,776,779,780,783,784,787,788,791,792,795,796,799,800,803,804,807,808,811,812,815,816,819,820,823,824,827,828,831,832,835,836,839,840,
843,844,847,848,851,852,855,856,859,860,863,864,867,868,871,872,875,876,879,880,883,884,887,888,891,892,895,896,899,900,903,904,907,908,
911,912,915,916,919,920,923,924,927,928,931,932,935,936,939,940,943,944,947,948,951,952,955,956,959,960,963,964,967,968,971,972,975,976,979,980,
983,984,987,988,991,992,995,996,999,1000,1003,1004,1007,1008,1011,1012,1015,1016,1019,1020,1023,1024],
[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,
120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,
264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,396,
400,404,408,412,416,420,424,428,432,436,440,444,448,452,456,460,464,468,472,476,480,484,488,492,496,500,504,508,512,516,520,524,528,532,536,540,
544,548,552,556,560,564,568,572,576,580,584,588,592,596,600,604,608,612,616,620,624,628,632,636,640,644,648,652,656,660,664,668,672,676,
680,684,688,692,696,700,704,708,712,716,720,724,728,732,736,740,744,748,752,756,760,764,768,772,776,780,784,788,792,796,800,804,808,812,816,820,
824,828,832,836,840,844,848,852,856,860,864,868,872,876,880,884,888,892,896,900,904,908,912,916,920,924,928,932,936,940,944,948,952,956,
960,964,968,972,976,980,984,988,992,996,1000,1004,1008,1012,1016,1020,1024],[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,
38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,
114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,
186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,
254,256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,320,322,324,
326,328,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,376,378,380,382,384,386,388,390,392,
394,396,398,400,402,404,406,408,410,412,414,416,418,420,422,424,426,428,430,432,434,436,438,440,442,444,446,448,450,452,454,456,458,460,462,464,
466,468,470,472,474,476,478,480,482,484,486,488,490,492,494,496,498,500,502,504,506,508,510,512,514,516,518,520,522,524,526,528,530,532,
534,536,538,540,542,544,546,548,550,552,554,556,558,560,562,564,566,568,570,572,574,576,578,580,582,584,586,588,590,592,594,596,598,600,602,604,
606,608,610,612,614,616,618,620,622,624,626,628,630,632,634,636,638,640,642,644,646,648,650,652,654,656,658,660,662,664,666,668,670,672,
674,676,678,680,682,684,686,688,690,692,694,696,698,700,702,704,706,708,710,712,714,716,718,720,722,724,726,728,730,732,734,736,738,740,742,744,
746,748,750,752,754,756,758,760,762,764,766,768,770,772,774,776,778,780,782,784,786,788,790,792,794,796,798,800,802,804,806,808,810,812,
814,816,818,820,822,824,826,828,830,832,834,836,838,840,842,844,846,848,850,852,854,856,858,860,862,864,866,868,870,872,874,876,878,880,882,884,
886,888,890,892,894,896,898,900,902,904,906,908,910,912,914,916,918,920,922,924,926,928,930,932,934,936,938,940,942,944,946,948,950,952,
954,956,958,960,962,964,966,968,970,972,974,976,978,980,982,984,986,988,990,992,994,996,998,1000,1002,1004,1006,1008,1010,1012,1014,1016,1018,1020,
1022,1024],[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,
32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,
77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,
111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,
147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,
181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,
217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,
251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,
287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,
321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,
357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,
391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,
427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,
461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,
497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,
531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,
567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,
601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,
637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,
671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,
707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,
741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,
777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,
811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,
847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,
881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,
917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,
951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,
987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,
1019,1020,1021,1022,1023,1024]]