Problem p02608 (C++) — buggy submission, verdict: Time Limit Exceeded

#include <bits/stdc++.h>

using namespace std;

int main() {
  vector<int> sol(10001);
  sol[1] = 0;
  sol[2] = 0;
  sol[3] = 0;
  sol[4] = 0;
  sol[5] = 0;
  sol[6] = 1;
  sol[7] = 0;
  sol[8] = 0;
  sol[9] = 0;
  sol[10] = 0;
  sol[11] = 3;
  sol[12] = 0;
  sol[13] = 0;
  sol[14] = 0;
  sol[15] = 0;
  sol[16] = 0;
  sol[17] = 3;
  sol[18] = 3;
  sol[19] = 0;
  sol[20] = 0;
  sol[21] = 0;
  sol[22] = 0;
  sol[23] = 0;
  sol[24] = 1;
  sol[25] = 6;
  sol[26] = 0;
  sol[27] = 3;
  sol[28] = 0;
  sol[29] = 0;
  sol[30] = 0;
  sol[31] = 0;
  sol[32] = 0;
  sol[33] = 3;
  sol[34] = 3;
  sol[35] = 6;
  sol[36] = 0;
  sol[37] = 0;
  sol[38] = 3;
  sol[39] = 0;
  sol[40] = 0;
  sol[41] = 0;
  sol[42] = 0;
  sol[43] = 3;
  sol[44] = 3;
  sol[45] = 6;
  sol[46] = 0;
  sol[47] = 6;
  sol[48] = 0;
  sol[49] = 0;
  sol[50] = 0;
  sol[51] = 3;
  sol[52] = 0;
  sol[53] = 0;
  sol[54] = 1;
  sol[55] = 6;
  sol[56] = 0;
  sol[57] = 6;
  sol[58] = 6;
  sol[59] = 0;
  sol[60] = 0;
  sol[61] = 6;
  sol[62] = 0;
  sol[63] = 0;
  sol[64] = 0;
  sol[65] = 0;
  sol[66] = 3;
  sol[67] = 3;
  sol[68] = 3;
  sol[69] = 6;
  sol[70] = 0;
  sol[71] = 6;
  sol[72] = 3;
  sol[73] = 6;
  sol[74] = 0;
  sol[75] = 0;
  sol[76] = 0;
  sol[77] = 6;
  sol[78] = 0;
  sol[79] = 0;
  sol[80] = 0;
  sol[81] = 3;
  sol[82] = 3;
  sol[83] = 9;
  sol[84] = 0;
  sol[85] = 6;
  sol[86] = 3;
  sol[87] = 6;
  sol[88] = 0;
  sol[89] = 3;
  sol[90] = 6;
  sol[91] = 0;
  sol[92] = 0;
  sol[93] = 0;
  sol[94] = 0;
  sol[95] = 6;
  sol[96] = 1;
  sol[97] = 6;
  sol[98] = 0;
  sol[99] = 6;
  sol[100] = 6;
  sol[101] = 0;
  sol[102] = 3;
  sol[103] = 12;
  sol[104] = 0;
  sol[105] = 6;
  sol[106] = 0;
  sol[107] = 0;
  sol[108] = 3;
  sol[109] = 6;
  sol[110] = 0;
  sol[111] = 0;
  sol[112] = 0;
  sol[113] = 3;
  sol[114] = 3;
  sol[115] = 12;
  sol[116] = 0;
  sol[117] = 6;
  sol[118] = 3;
  sol[119] = 6;
  sol[120] = 0;
  sol[121] = 3;
  sol[122] = 6;
  sol[123] = 9;
  sol[124] = 0;
  sol[125] = 6;
  sol[126] = 0;
  sol[127] = 0;
  sol[128] = 0;
  sol[129] = 3;
  sol[130] = 6;
  sol[131] = 3;
  sol[132] = 3;
  sol[133] = 6;
  sol[134] = 0;
  sol[135] = 6;
  sol[136] = 3;
  sol[137] = 12;
  sol[138] = 0;
  sol[139] = 3;
  sol[140] = 6;
  sol[141] = 6;
  sol[142] = 0;
  sol[143] = 6;
  sol[144] = 0;
  sol[145] = 6;
  sol[146] = 3;
  sol[147] = 6;
  sol[148] = 0;
  sol[149] = 0;
  sol[150] = 1;
  sol[151] = 6;
  sol[152] = 3;
  sol[153] = 12;
  sol[154] = 6;
  sol[155] = 0;
  sol[156] = 0;
  sol[157] = 12;
  sol[158] = 0;
  sol[159] = 6;
  sol[160] = 0;
  sol[161] = 6;
  sol[162] = 6;
  sol[163] = 12;
  sol[164] = 0;
  sol[165] = 0;
  sol[166] = 6;
  sol[167] = 0;
  sol[168] = 0;
  sol[169] = 6;
  sol[170] = 0;
  sol[171] = 12;
  sol[172] = 3;
  sol[173] = 6;
  sol[174] = 0;
  sol[175] = 6;
  sol[176] = 3;
  sol[177] = 9;
  sol[178] = 6;
  sol[179] = 3;
  sol[180] = 6;
  sol[181] = 6;
  sol[182] = 0;
  sol[183] = 6;
  sol[184] = 0;
  sol[185] = 6;
  sol[186] = 0;
  sol[187] = 15;
  sol[188] = 6;
  sol[189] = 0;
  sol[190] = 0;
  sol[191] = 6;
  sol[192] = 0;
  sol[193] = 3;
  sol[194] = 3;
  sol[195] = 12;
  sol[196] = 0;
  sol[197] = 12;
  sol[198] = 6;
  sol[199] = 6;
  sol[200] = 0;
  sol[201] = 3;
  sol[202] = 6;
  sol[203] = 6;
  sol[204] = 3;
  sol[205] = 12;
  sol[206] = 0;
  sol[207] = 6;
  sol[208] = 0;
  sol[209] = 9;
  sol[210] = 6;
  sol[211] = 0;
  sol[212] = 0;
  sol[213] = 6;
  sol[214] = 3;
  sol[215] = 12;
  sol[216] = 1;
  sol[217] = 6;
  sol[218] = 6;
  sol[219] = 6;
  sol[220] = 6;
  sol[221] = 0;
  sol[222] = 0;
  sol[223] = 18;
  sol[224] = 0;
  sol[225] = 12;
  sol[226] = 0;
  sol[227] = 3;
  sol[228] = 6;
  sol[229] = 12;
  sol[230] = 0;
  sol[231] = 0;
  sol[232] = 6;
  sol[233] = 3;
  sol[234] = 6;
  sol[235] = 12;
  sol[236] = 0;
  sol[237] = 12;
  sol[238] = 0;
  sol[239] = 0;
  sol[240] = 0;
  sol[241] = 9;
  sol[242] = 3;
  sol[243] = 9;
  sol[244] = 6;
  sol[245] = 12;
  sol[246] = 3;
  sol[247] = 12;
  sol[248] = 0;
  sol[249] = 3;
  sol[250] = 6;
  sol[251] = 6;
  sol[252] = 0;
  sol[253] = 12;
  sol[254] = 0;
  sol[255] = 12;
  sol[256] = 0;
  sol[257] = 9;
  sol[258] = 9;
  sol[259] = 0;
  sol[260] = 0;
  sol[261] = 6;
  sol[262] = 3;
  sol[263] = 6;
  sol[264] = 3;
  sol[265] = 12;
  sol[266] = 6;
  sol[267] = 9;
  sol[268] = 3;
  sol[269] = 6;
  sol[270] = 0;
  sol[271] = 12;
  sol[272] = 3;
  sol[273] = 6;
  sol[274] = 3;
  sol[275] = 9;
  sol[276] = 6;
  sol[277] = 12;
  sol[278] = 6;
  sol[279] = 6;
  sol[280] = 0;
  sol[281] = 6;
  sol[282] = 0;
  sol[283] = 9;
  sol[284] = 6;
  sol[285] = 6;
  sol[286] = 0;
  sol[287] = 12;
  sol[288] = 3;
  sol[289] = 6;
  sol[290] = 0;
  sol[291] = 9;
  sol[292] = 6;
  sol[293] = 6;
  sol[294] = 1;
  sol[295] = 6;
  sol[296] = 0;
  sol[297] = 21;
  sol[298] = 12;
  sol[299] = 6;
  sol[300] = 0;
  sol[301] = 12;
  sol[302] = 0;
  sol[303] = 12;
  sol[304] = 0;
  sol[305] = 0;
  sol[306] = 6;
  sol[307] = 15;
  sol[308] = 6;
  sol[309] = 0;
  sol[310] = 6;
  sol[311] = 12;
  sol[312] = 0;
  sol[313] = 12;
  sol[314] = 0;
  sol[315] = 12;
  sol[316] = 0;
  sol[317] = 0;
  sol[318] = 0;
  sol[319] = 12;
  sol[320] = 0;
  sol[321] = 12;
  sol[322] = 12;
  sol[323] = 3;
  sol[324] = 3;
  sol[325] = 18;
  sol[326] = 3;
  sol[327] = 6;
  sol[328] = 3;
  sol[329] = 6;
  sol[330] = 6;
  sol[331] = 9;
  sol[332] = 9;
  sol[333] = 18;
  sol[334] = 0;
  sol[335] = 6;
  sol[336] = 0;
  sol[337] = 12;
  sol[338] = 0;
  sol[339] = 9;
  sol[340] = 6;
  sol[341] = 0;
  sol[342] = 3;
  sol[343] = 12;
  sol[344] = 3;
  sol[345] = 6;
  sol[346] = 6;
  sol[347] = 12;
  sol[348] = 6;
  sol[349] = 6;
  sol[350] = 0;
  sol[351] = 0;
  sol[352] = 0;
  sol[353] = 15;
  sol[354] = 3;
  sol[355] = 18;
  sol[356] = 3;
  sol[357] = 18;
  sol[358] = 3;
  sol[359] = 12;
  sol[360] = 6;
  sol[361] = 3;
  sol[362] = 6;
  sol[363] = 9;
  sol[364] = 0;
  sol[365] = 12;
  sol[366] = 0;
  sol[367] = 12;
  sol[368] = 0;
  sol[369] = 18;
  sol[370] = 12;
  sol[371] = 0;
  sol[372] = 0;
  sol[373] = 12;
  sol[374] = 3;
  sol[375] = 6;
  sol[376] = 0;
  sol[377] = 6;
  sol[378] = 6;
  sol[379] = 9;
  sol[380] = 6;
  sol[381] = 0;
  sol[382] = 0;
  sol[383] = 18;
  sol[384] = 1;
  sol[385] = 18;
  sol[386] = 3;
  sol[387] = 12;
  sol[388] = 6;
  sol[389] = 6;
  sol[390] = 6;
  sol[391] = 12;
  sol[392] = 0;
  sol[393] = 15;
  sol[394] = 6;
  sol[395] = 12;
  sol[396] = 6;
  sol[397] = 18;
  sol[398] = 0;
  sol[399] = 0;
  sol[400] = 6;
  sol[401] = 0;
  sol[402] = 9;
  sol[403] = 12;
  sol[404] = 0;
  sol[405] = 18;
  sol[406] = 0;
  sol[407] = 6;
  sol[408] = 3;
  sol[409] = 12;
  sol[410] = 0;
  sol[411] = 12;
  sol[412] = 12;
  sol[413] = 0;
  sol[414] = 0;
  sol[415] = 12;
  sol[416] = 0;
  sol[417] = 3;
  sol[418] = 6;
  sol[419] = 12;
  sol[420] = 6;
  sol[421] = 18;
  sol[422] = 9;
  sol[423] = 18;
  sol[424] = 0;
  sol[425] = 9;
  sol[426] = 6;
  sol[427] = 18;
  sol[428] = 0;
  sol[429] = 6;
  sol[430] = 0;
  sol[431] = 6;
  sol[432] = 3;
  sol[433] = 27;
  sol[434] = 6;
  sol[435] = 6;
  sol[436] = 6;
  sol[437] = 6;
  sol[438] = 3;
  sol[439] = 6;
  sol[440] = 0;
  sol[441] = 12;
  sol[442] = 6;
  sol[443] = 9;
  sol[444] = 0;
  sol[445] = 6;
  sol[446] = 0;
  sol[447] = 18;
  sol[448] = 0;
  sol[449] = 9;
  sol[450] = 9;
  sol[451] = 15;
  sol[452] = 3;
  sol[453] = 12;
  sol[454] = 6;
  sol[455] = 6;
  sol[456] = 3;
  sol[457] = 9;
  sol[458] = 6;
  sol[459] = 12;
  sol[460] = 12;
  sol[461] = 18;
  sol[462] = 0;
  sol[463] = 18;
  sol[464] = 0;
  sol[465] = 6;
  sol[466] = 6;
  sol[467] = 21;
  sol[468] = 6;
  sol[469] = 0;
  sol[470] = 0;
  sol[471] = 6;
  sol[472] = 3;
  sol[473] = 15;
  sol[474] = 6;
  sol[475] = 12;
  sol[476] = 6;
  sol[477] = 18;
  sol[478] = 0;
  sol[479] = 0;
  sol[480] = 0;
  sol[481] = 12;
  sol[482] = 6;
  sol[483] = 6;
  sol[484] = 3;
  sol[485] = 6;
  sol[486] = 4;
  sol[487] = 18;
  sol[488] = 6;
  sol[489] = 12;
  sol[490] = 6;
  sol[491] = 3;
  sol[492] = 9;
  sol[493] = 30;
  sol[494] = 0;
  sol[495] = 18;
  sol[496] = 0;
  sol[497] = 6;
  sol[498] = 6;
  sol[499] = 12;
  sol[500] = 6;
  sol[501] = 6;
  sol[502] = 9;
  sol[503] = 12;
  sol[504] = 0;
  sol[505] = 18;
  sol[506] = 6;
  sol[507] = 18;
  sol[508] = 0;
  sol[509] = 6;
  sol[510] = 0;
  sol[511] = 12;
  sol[512] = 0;
  sol[513] = 6;
  sol[514] = 12;
  sol[515] = 6;
  sol[516] = 3;
  sol[517] = 18;
  sol[518] = 0;
  sol[519] = 6;
  sol[520] = 6;
  sol[521] = 6;
  sol[522] = 6;
  sol[523] = 15;
  sol[524] = 3;
  sol[525] = 24;
  sol[526] = 0;
  sol[527] = 6;
  sol[528] = 3;
  sol[529] = 18;
  sol[530] = 0;
  sol[531] = 12;
  sol[532] = 6;
  sol[533] = 12;
  sol[534] = 6;
  sol[535] = 24;
  sol[536] = 0;
  sol[537] = 15;
  sol[538] = 18;
  sol[539] = 9;
  sol[540] = 6;
  sol[541] = 0;
  sol[542] = 0;
  sol[543] = 18;
  sol[544] = 3;
  sol[545] = 6;
  sol[546] = 0;
  sol[547] = 15;
  sol[548] = 12;
  sol[549] = 12;
  sol[550] = 6;
  sol[551] = 6;
  sol[552] = 0;
  sol[553] = 18;
  sol[554] = 0;
  sol[555] = 6;
  sol[556] = 3;
  sol[557] = 12;
  sol[558] = 0;
  sol[559] = 12;
  sol[560] = 6;
  sol[561] = 6;
  sol[562] = 9;
  sol[563] = 9;
  sol[564] = 6;
  sol[565] = 24;
  sol[566] = 3;
  sol[567] = 24;
  sol[568] = 0;
  sol[569] = 9;
  sol[570] = 12;
  sol[571] = 6;
  sol[572] = 6;
  sol[573] = 12;
  sol[574] = 0;
  sol[575] = 12;
  sol[576] = 0;
  sol[577] = 21;
  sol[578] = 9;
  sol[579] = 15;
  sol[580] = 6;
  sol[581] = 12;
  sol[582] = 3;
  sol[583] = 18;
  sol[584] = 3;
  sol[585] = 12;
  sol[586] = 6;
  sol[587] = 12;
  sol[588] = 6;
  sol[589] = 0;
  sol[590] = 0;
  sol[591] = 12;
  sol[592] = 0;
  sol[593] = 12;
  sol[594] = 6;
  sol[595] = 24;
  sol[596] = 0;
  sol[597] = 6;
  sol[598] = 12;
  sol[599] = 6;
  sol[600] = 1;
  sol[601] = 9;
  sol[602] = 6;
  sol[603] = 12;
  sol[604] = 6;
  sol[605] = 24;
  sol[606] = 0;
  sol[607] = 18;
  sol[608] = 3;
  sol[609] = 12;
  sol[610] = 6;
  sol[611] = 6;
  sol[612] = 12;
  sol[613] = 24;
  sol[614] = 0;
  sol[615] = 12;
  sol[616] = 6;
  sol[617] = 15;
  sol[618] = 6;
  sol[619] = 18;
  sol[620] = 0;
  sol[621] = 18;
  sol[622] = 0;
  sol[623] = 0;
  sol[624] = 0;
  sol[625] = 18;
  sol[626] = 9;
  sol[627] = 21;
  sol[628] = 12;
  sol[629] = 0;
  sol[630] = 6;
  sol[631] = 18;
  sol[632] = 0;
  sol[633] = 9;
  sol[634] = 6;
  sol[635] = 6;
  sol[636] = 6;
  sol[637] = 12;
  sol[638] = 0;
  sol[639] = 12;
  sol[640] = 0;
  sol[641] = 9;
  sol[642] = 9;
  sol[643] = 27;
  sol[644] = 6;
  sol[645] = 6;
  sol[646] = 3;
  sol[647] = 18;
  sol[648] = 6;
  sol[649] = 21;
  sol[650] = 6;
  sol[651] = 6;
  sol[652] = 12;
  sol[653] = 12;
  sol[654] = 0;
  sol[655] = 12;
  sol[656] = 0;
  sol[657] = 24;
  sol[658] = 12;
  sol[659] = 0;
  sol[660] = 0;
  sol[661] = 24;
  sol[662] = 3;
  sol[663] = 24;
  sol[664] = 6;
  sol[665] = 12;
  sol[666] = 12;
  sol[667] = 18;
  sol[668] = 0;
  sol[669] = 0;
  sol[670] = 0;
  sol[671] = 12;
  sol[672] = 0;
  sol[673] = 18;
  sol[674] = 3;
  sol[675] = 15;
  sol[676] = 6;
  sol[677] = 12;
  sol[678] = 9;
  sol[679] = 6;
  sol[680] = 0;
  sol[681] = 15;
  sol[682] = 6;
  sol[683] = 9;
  sol[684] = 12;
  sol[685] = 24;
  sol[686] = 0;
  sol[687] = 12;
  sol[688] = 3;
  sol[689] = 6;
  sol[690] = 6;
  sol[691] = 21;
  sol[692] = 6;
  sol[693] = 18;
  sol[694] = 3;
  sol[695] = 18;
  sol[696] = 0;
  sol[697] = 21;
  sol[698] = 12;
  sol[699] = 15;
  sol[700] = 6;
  sol[701] = 6;
  sol[702] = 0;
  sol[703] = 12;
  sol[704] = 3;
  sol[705] = 12;
  sol[706] = 9;
  sol[707] = 18;
  sol[708] = 9;
  sol[709] = 12;
  sol[710] = 6;
  sol[711] = 6;
  sol[712] = 6;
  sol[713] = 24;
  sol[714] = 0;
  sol[715] = 18;
  sol[716] = 3;
  sol[717] = 24;
  sol[718] = 0;
  sol[719] = 6;
  sol[720] = 6;
  sol[721] = 0;
  sol[722] = 6;
  sol[723] = 9;
  sol[724] = 6;
  sol[725] = 6;
  sol[726] = 4;
  sol[727] = 30;
  sol[728] = 0;
  sol[729] = 18;
  sol[730] = 12;
  sol[731] = 9;
  sol[732] = 6;
  sol[733] = 24;
  sol[734] = 0;
  sol[735] = 18;
  sol[736] = 0;
  sol[737] = 9;
  sol[738] = 12;
  sol[739] = 21;
  sol[740] = 6;
  sol[741] = 6;
  sol[742] = 12;
  sol[743] = 12;
  sol[744] = 0;
  sol[745] = 18;
  sol[746] = 0;
  sol[747] = 21;
  sol[748] = 15;
  sol[749] = 12;
  sol[750] = 0;
  sol[751] = 12;
  sol[752] = 6;
  sol[753] = 12;
  sol[754] = 12;
  sol[755] = 18;
  sol[756] = 0;
  sol[757] = 18;
  sol[758] = 0;
  sol[759] = 6;
  sol[760] = 0;
  sol[761] = 9;
  sol[762] = 12;
  sol[763] = 18;
  sol[764] = 6;
  sol[765] = 30;
  sol[766] = 0;
  sol[767] = 0;
  sol[768] = 0;
  sol[769] = 24;
  sol[770] = 6;
  sol[771] = 9;
  sol[772] = 3;
  sol[773] = 12;
  sol[774] = 6;
  sol[775] = 30;
  sol[776] = 3;
  sol[777] = 6;
  sol[778] = 12;
  sol[779] = 6;
  sol[780] = 12;
  sol[781] = 12;
  sol[782] = 0;
  sol[783] = 36;
  sol[784] = 0;
  sol[785] = 6;
  sol[786] = 3;
  sol[787] = 27;
  sol[788] = 12;
  sol[789] = 12;
  sol[790] = 6;
  sol[791] = 6;
  sol[792] = 6;
  sol[793] = 24;
  sol[794] = 0;
  sol[795] = 12;
  sol[796] = 6;
  sol[797] = 12;
  sol[798] = 0;
  sol[799] = 18;
  sol[800] = 0;
  sol[801] = 18;
  sol[802] = 15;
  sol[803] = 18;
  sol[804] = 3;
  sol[805] = 18;
  sol[806] = 6;
  sol[807] = 12;
  sol[808] = 6;
  sol[809] = 6;
  sol[810] = 12;
  sol[811] = 3;
  sol[812] = 6;
  sol[813] = 6;
  sol[814] = 0;
  sol[815] = 12;
  sol[816] = 3;
  sol[817] = 39;
  sol[818] = 3;
  sol[819] = 12;
  sol[820] = 12;
  sol[821] = 12;
  sol[822] = 3;
  sol[823] = 18;
  sol[824] = 0;
  sol[825] = 21;
  sol[826] = 12;
  sol[827] = 21;
  sol[828] = 6;
  sol[829] = 18;
  sol[830] = 0;
  sol[831] = 12;
  sol[832] = 0;
  sol[833] = 9;
  sol[834] = 9;
  sol[835] = 12;
  sol[836] = 9;
  sol[837] = 24;
  sol[838] = 9;
  sol[839] = 12;
  sol[840] = 6;
  sol[841] = 12;
  sol[842] = 6;
  sol[843] = 33;
  sol[844] = 0;
  sol[845] = 6;
  sol[846] = 0;
  sol[847] = 18;
  sol[848] = 0;
  sol[849] = 9;
  sol[850] = 15;
  sol[851] = 12;
  sol[852] = 6;
  sol[853] = 24;
  sol[854] = 6;
  sol[855] = 6;
  sol[856] = 3;
  sol[857] = 15;
  sol[858] = 6;
  sol[859] = 15;
  sol[860] = 12;
  sol[861] = 18;
  sol[862] = 0;
  sol[863] = 18;
  sol[864] = 1;
  sol[865] = 18;
  sol[866] = 6;
  sol[867] = 12;
  sol[868] = 6;
  sol[869] = 6;
  sol[870] = 0;
  sol[871] = 24;
  sol[872] = 6;
  sol[873] = 24;
  sol[874] = 12;
  sol[875] = 18;
  sol[876] = 6;
  sol[877] = 24;
  sol[878] = 0;
  sol[879] = 6;
  sol[880] = 6;
  sol[881] = 12;
  sol[882] = 15;
  sol[883] = 24;
  sol[884] = 0;
  sol[885] = 24;
  sol[886] = 6;
  sol[887] = 6;
  sol[888] = 0;
  sol[889] = 18;
  sol[890] = 0;
  sol[891] = 15;
  sol[892] = 18;
  sol[893] = 12;
  sol[894] = 0;
  sol[895] = 24;
  sol[896] = 0;
  sol[897] = 12;
  sol[898] = 6;
  sol[899] = 12;
  sol[900] = 12;
  sol[901] = 18;
  sol[902] = 6;
  sol[903] = 24;
  sol[904] = 0;
  sol[905] = 0;
  sol[906] = 6;
  sol[907] = 24;
  sol[908] = 3;
  sol[909] = 12;
  sol[910] = 0;
  sol[911] = 12;
  sol[912] = 6;
  sol[913] = 30;
  sol[914] = 9;
  sol[915] = 6;
  sol[916] = 12;
  sol[917] = 24;
  sol[918] = 12;
  sol[919] = 12;
  sol[920] = 0;
  sol[921] = 15;
  sol[922] = 18;
  sol[923] = 12;
  sol[924] = 0;
  sol[925] = 18;
  sol[926] = 0;
  sol[927] = 24;
  sol[928] = 6;
  sol[929] = 15;
  sol[930] = 6;
  sol[931] = 18;
  sol[932] = 3;
  sol[933] = 18;
  sol[934] = 3;
  sol[935] = 12;
  sol[936] = 6;
  sol[937] = 24;
  sol[938] = 12;
  sol[939] = 12;
  sol[940] = 12;
  sol[941] = 6;
  sol[942] = 0;
  sol[943] = 36;
  sol[944] = 0;
  sol[945] = 18;
  sol[946] = 3;
  sol[947] = 6;
  sol[948] = 12;
  sol[949] = 6;
  sol[950] = 9;
  sol[951] = 12;
  sol[952] = 0;
  sol[953] = 3;
  sol[954] = 12;
  sol[955] = 36;
  sol[956] = 0;
  sol[957] = 30;
  sol[958] = 0;
  sol[959] = 12;
  sol[960] = 0;
  sol[961] = 18;
  sol[962] = 6;
  sol[963] = 12;
  sol[964] = 9;
  sol[965] = 12;
  sol[966] = 6;
  sol[967] = 24;
  sol[968] = 3;
  sol[969] = 18;
  sol[970] = 12;
  sol[971] = 15;
  sol[972] = 9;
  sol[973] = 24;
  sol[974] = 0;
  sol[975] = 18;
  sol[976] = 6;
  sol[977] = 18;
  sol[978] = 9;
  sol[979] = 18;
  sol[980] = 12;
  sol[981] = 6;
  sol[982] = 6;
  sol[983] = 24;
  sol[984] = 3;
  sol[985] = 24;
  sol[986] = 0;
  sol[987] = 12;
  sol[988] = 12;
  sol[989] = 12;
  sol[990] = 0;
  sol[991] = 6;
  sol[992] = 0;
  sol[993] = 27;
  sol[994] = 12;
  sol[995] = 18;
  sol[996] = 3;
  sol[997] = 30;
  sol[998] = 3;
  sol[999] = 18;
  sol[1000] = 6;
  sol[1001] = 0;
  sol[1002] = 12;
  sol[1003] = 15;
  sol[1004] = 6;
  sol[1005] = 18;
  sol[1006] = 0;
  sol[1007] = 24;
  sol[1008] = 0;
  sol[1009] = 9;
  sol[1010] = 6;
  sol[1011] = 9;
  sol[1012] = 12;
  sol[1013] = 18;
  sol[1014] = 7;
  sol[1015] = 24;
  sol[1016] = 0;
  sol[1017] = 24;
  sol[1018] = 12;
  sol[1019] = 15;
  sol[1020] = 12;
  sol[1021] = 24;
  sol[1022] = 0;
  sol[1023] = 24;
  sol[1024] = 0;
  sol[1025] = 6;
  sol[1026] = 9;
  sol[1027] = 30;
  sol[1028] = 9;
  sol[1029] = 6;
  sol[1030] = 6;
  sol[1031] = 0;
  sol[1032] = 9;
  sol[1033] = 33;
  sol[1034] = 12;
  sol[1035] = 36;
  sol[1036] = 0;
  sol[1037] = 12;
  sol[1038] = 0;
  sol[1039] = 18;
  sol[1040] = 0;
  sol[1041] = 6;
  sol[1042] = 21;
  sol[1043] = 12;
  sol[1044] = 6;
  sol[1045] = 36;
  sol[1046] = 6;
  sol[1047] = 0;
  sol[1048] = 3;
  sol[1049] = 18;
  sol[1050] = 6;
  sol[1051] = 12;
  sol[1052] = 6;
  sol[1053] = 24;
  sol[1054] = 0;
  sol[1055] = 12;
  sol[1056] = 3;
  sol[1057] = 24;
  sol[1058] = 6;
  sol[1059] = 9;
  sol[1060] = 12;
  sol[1061] = 6;
  sol[1062] = 6;
  sol[1063] = 30;
  sol[1064] = 6;
  sol[1065] = 18;
  sol[1066] = 12;
  sol[1067] = 9;
  sol[1068] = 9;
  sol[1069] = 12;
  sol[1070] = 0;
  sol[1071] = 30;
  sol[1072] = 3;
  sol[1073] = 18;
  sol[1074] = 3;
  sol[1075] = 27;
  sol[1076] = 6;
  sol[1077] = 30;
  sol[1078] = 12;
  sol[1079] = 12;
  sol[1080] = 0;
  sol[1081] = 24;
  sol[1082] = 0;
  sol[1083] = 27;
  sol[1084] = 12;
  sol[1085] = 6;
  sol[1086] = 0;
  sol[1087] = 24;
  sol[1088] = 3;
  sol[1089] = 18;
  sol[1090] = 18;
  sol[1091] = 9;
  sol[1092] = 6;
  sol[1093] = 18;
  sol[1094] = 0;
  sol[1095] = 12;
  sol[1096] = 3;
  sol[1097] = 33;
  sol[1098] = 18;
  sol[1099] = 12;
  sol[1100] = 9;
  sol[1101] = 6;
  sol[1102] = 0;
  sol[1103] = 12;
  sol[1104] = 6;
  sol[1105] = 30;
  sol[1106] = 0;
  sol[1107] = 24;
  sol[1108] = 12;
  sol[1109] = 12;
  sol[1110] = 0;
  sol[1111] = 30;
  sol[1112] = 6;
  sol[1113] = 6;
  sol[1114] = 6;
  sol[1115] = 0;
  sol[1116] = 6;
  sol[1117] = 24;
  sol[1118] = 0;
  sol[1119] = 12;
  sol[1120] = 0;
  sol[1121] = 18;
  sol[1122] = 15;
  sol[1123] = 33;
  sol[1124] = 6;
  sol[1125] = 30;
  sol[1126] = 15;
  sol[1127] = 18;
  sol[1128] = 0;
  sol[1129] = 9;
  sol[1130] = 12;
  sol[1131] = 24;
  sol[1132] = 9;
  sol[1133] = 12;
  sol[1134] = 0;
  sol[1135] = 18;
  sol[1136] = 6;
  sol[1137] = 27;
  sol[1138] = 18;
  sol[1139] = 15;
  sol[1140] = 6;
  sol[1141] = 18;
  sol[1142] = 3;
  sol[1143] = 24;
  sol[1144] = 0;
  sol[1145] = 6;
  sol[1146] = 6;
  sol[1147] = 36;
  sol[1148] = 12;
  sol[1149] = 18;
  sol[1150] = 0;
  sol[1151] = 12;
  sol[1152] = 3;
  sol[1153] = 30;
  sol[1154] = 3;
  sol[1155] = 12;
  sol[1156] = 6;
  sol[1157] = 12;
  sol[1158] = 15;
  sol[1159] = 6;
  sol[1160] = 0;
  sol[1161] = 18;
  sol[1162] = 12;
  sol[1163] = 15;
  sol[1164] = 9;
  sol[1165] = 30;
  sol[1166] = 0;
  sol[1167] = 18;
  sol[1168] = 6;
  sol[1169] = 12;
  sol[1170] = 12;
  sol[1171] = 18;
  sol[1172] = 6;
  sol[1173] = 6;
  sol[1174] = 3;
  sol[1175] = 24;
  sol[1176] = 1;
  sol[1177] = 27;
  sol[1178] = 12;
  sol[1179] = 18;
  sol[1180] = 6;
  sol[1181] = 18;
  sol[1182] = 0;
  sol[1183] = 24;
  sol[1184] = 0;
  sol[1185] = 18;
  sol[1186] = 15;
  sol[1187] = 15;
  sol[1188] = 21;
  sol[1189] = 30;
  sol[1190] = 6;
  sol[1191] = 12;
  sol[1192] = 12;
  sol[1193] = 18;
  sol[1194] = 0;
  sol[1195] = 30;
  sol[1196] = 6;
  sol[1197] = 24;
  sol[1198] = 0;
  sol[1199] = 6;
  sol[1200] = 0;
  sol[1201] = 18;
  sol[1202] = 6;
  sol[1203] = 36;
  sol[1204] = 12;
  sol[1205] = 6;
  sol[1206] = 6;
  sol[1207] = 36;
  sol[1208] = 0;
  sol[1209] = 6;
  sol[1210] = 12;
  sol[1211] = 12;
  sol[1212] = 12;
  sol[1213] = 24;
  sol[1214] = 0;
  sol[1215] = 30;
  sol[1216] = 0;
  sol[1217] = 9;
  sol[1218] = 6;
  sol[1219] = 18;
  sol[1220] = 0;
  sol[1221] = 18;
  sol[1222] = 12;
  sol[1223] = 12;
  sol[1224] = 6;
  sol[1225] = 24;
  sol[1226] = 6;
  sol[1227] = 9;
  sol[1228] = 15;
  sol[1229] = 12;
  sol[1230] = 0;
  sol[1231] = 12;
  sol[1232] = 6;
  sol[1233] = 30;
  sol[1234] = 9;
  sol[1235] = 18;
  sol[1236] = 0;
  sol[1237] = 42;
  sol[1238] = 3;
  sol[1239] = 18;
  sol[1240] = 6;
  sol[1241] = 12;
  sol[1242] = 18;
  sol[1243] = 33;
  sol[1244] = 12;
  sol[1245] = 12;
  sol[1246] = 0;
  sol[1247] = 18;
  sol[1248] = 0;
  sol[1249] = 21;
  sol[1250] = 12;
  sol[1251] = 12;
  sol[1252] = 12;
  sol[1253] = 24;
  sol[1254] = 6;
  sol[1255] = 30;
  sol[1256] = 0;
  sol[1257] = 27;
  sol[1258] = 18;
  sol[1259] = 6;
  sol[1260] = 12;
  sol[1261] = 6;
  sol[1262] = 0;
  sol[1263] = 24;
  sol[1264] = 0;
  sol[1265] = 18;
  sol[1266] = 15;
  sol[1267] = 30;
  sol[1268] = 0;
  sol[1269] = 18;
  sol[1270] = 12;
  sol[1271] = 6;
  sol[1272] = 0;
  sol[1273] = 21;
  sol[1274] = 6;
  sol[1275] = 21;
  sol[1276] = 12;
  sol[1277] = 24;
  sol[1278] = 0;
  sol[1279] = 30;
  sol[1280] = 0;
  sol[1281] = 6;
  sol[1282] = 6;
  sol[1283] = 6;
  sol[1284] = 12;
  sol[1285] = 24;
  sol[1286] = 0;
  sol[1287] = 30;
  sol[1288] = 12;
  sol[1289] = 9;
  sol[1290] = 12;
  sol[1291] = 21;
  sol[1292] = 3;
  sol[1293] = 24;
  sol[1294] = 0;
  sol[1295] = 12;
  sol[1296] = 3;
  sol[1297] = 21;
  sol[1298] = 18;
  sol[1299] = 9;
  sol[1300] = 18;
  sol[1301] = 18;
  sol[1302] = 6;
  sol[1303] = 30;
  sol[1304] = 3;
  sol[1305] = 42;
  sol[1306] = 6;
  sol[1307] = 21;
  sol[1308] = 6;
  sol[1309] = 30;
  sol[1310] = 0;
  sol[1311] = 6;
  sol[1312] = 3;
  sol[1313] = 24;
  sol[1314] = 9;
  sol[1315] = 36;
  sol[1316] = 6;
  sol[1317] = 6;
  sol[1318] = 9;
  sol[1319] = 12;
  sol[1320] = 6;
  sol[1321] = 18;
  sol[1322] = 12;
  sol[1323] = 33;
  sol[1324] = 9;
  sol[1325] = 12;
  sol[1326] = 0;
  sol[1327] = 24;
  sol[1328] = 9;
  sol[1329] = 9;
  sol[1330] = 6;
  sol[1331] = 3;
  sol[1332] = 18;
  sol[1333] = 36;
  sol[1334] = 6;
  sol[1335] = 18;
  sol[1336] = 0;
  sol[1337] = 24;
  sol[1338] = 6;
  sol[1339] = 6;
  sol[1340] = 6;
  sol[1341] = 18;
  sol[1342] = 0;
  sol[1343] = 12;
  sol[1344] = 0;
  sol[1345] = 30;
  sol[1346] = 3;
  sol[1347] = 39;
  sol[1348] = 12;
  sol[1349] = 12;
  sol[1350] = 7;
  sol[1351] = 18;
  sol[1352] = 0;
  sol[1353] = 15;
  sol[1354] = 18;
  sol[1355] = 18;
  sol[1356] = 9;
  sol[1357] = 36;
  sol[1358] = 0;
  sol[1359] = 24;
  sol[1360] = 6;
  sol[1361] = 6;
  sol[1362] = 18;
  sol[1363] = 30;
  sol[1364] = 0;
  sol[1365] = 18;
  sol[1366] = 9;
  sol[1367] = 18;
  sol[1368] = 3;
  sol[1369] = 24;
  sol[1370] = 6;
  sol[1371] = 21;
  sol[1372] = 12;
  sol[1373] = 24;
  sol[1374] = 0;
  sol[1375] = 30;
  sol[1376] = 3;
  sol[1377] = 33;
  sol[1378] = 24;
  sol[1379] = 12;
  sol[1380] = 6;
  sol[1381] = 18;
  sol[1382] = 6;
  sol[1383] = 6;
  sol[1384] = 6;
  sol[1385] = 18;
  sol[1386] = 6;
  sol[1387] = 18;
  sol[1388] = 12;
  sol[1389] = 18;
  sol[1390] = 0;
  sol[1391] = 24;
  sol[1392] = 6;
  sol[1393] = 36;
  sol[1394] = 3;
  sol[1395] = 18;
  sol[1396] = 6;
  sol[1397] = 0;
  sol[1398] = 12;
  sol[1399] = 30;
  sol[1400] = 0;
  sol[1401] = 9;
  sol[1402] = 24;
  sol[1403] = 18;
  sol[1404] = 0;
  sol[1405] = 24;
  sol[1406] = 0;
  sol[1407] = 18;
  sol[1408] = 0;
  sol[1409] = 0;
  sol[1410] = 12;
  sol[1411] = 30;
  sol[1412] = 15;
  sol[1413] = 30;
  sol[1414] = 6;
  sol[1415] = 18;
  sol[1416] = 3;
  sol[1417] = 30;
  sol[1418] = 0;
  sol[1419] = 24;
  sol[1420] = 18;
  sol[1421] = 12;
  sol[1422] = 0;
  sol[1423] = 36;
  sol[1424] = 3;
  sol[1425] = 24;
  sol[1426] = 12;
  sol[1427] = 15;
  sol[1428] = 18;
  sol[1429] = 18;
  sol[1430] = 6;
  sol[1431] = 24;
  sol[1432] = 3;
  sol[1433] = 24;
  sol[1434] = 12;
  sol[1435] = 18;
  sol[1436] = 12;
  sol[1437] = 24;
  sol[1438] = 0;
  sol[1439] = 0;
  sol[1440] = 6;
  sol[1441] = 39;
  sol[1442] = 6;
  sol[1443] = 24;
  sol[1444] = 3;
  sol[1445] = 18;
  sol[1446] = 3;
  sol[1447] = 42;
  sol[1448] = 6;
  sol[1449] = 12;
  sol[1450] = 12;
  sol[1451] = 15;
  sol[1452] = 9;
  sol[1453] = 30;
  sol[1454] = 0;
  sol[1455] = 12;
  sol[1456] = 0;
  sol[1457] = 18;
  sol[1458] = 6;
  sol[1459] = 18;
  sol[1460] = 12;
  sol[1461] = 24;
  sol[1462] = 15;
  sol[1463] = 12;
  sol[1464] = 0;
  sol[1465] = 12;
  sol[1466] = 12;
  sol[1467] = 30;
  sol[1468] = 12;
  sol[1469] = 12;
  sol[1470] = 0;
  sol[1471] = 18;
  sol[1472] = 0;
  sol[1473] = 15;
  sol[1474] = 15;
  sol[1475] = 18;
  sol[1476] = 18;
  sol[1477] = 30;
  sol[1478] = 3;
  sol[1479] = 24;
  sol[1480] = 12;
  sol[1481] = 9;
  sol[1482] = 6;
  sol[1483] = 48;
  sol[1484] = 0;
  sol[1485] = 18;
  sol[1486] = 0;
  sol[1487] = 30;
  sol[1488] = 0;
  sol[1489] = 21;
  sol[1490] = 6;
  sol[1491] = 12;
  sol[1492] = 12;
  sol[1493] = 24;
  sol[1494] = 12;
  sol[1495] = 18;
  sol[1496] = 3;
  sol[1497] = 48;
  sol[1498] = 24;
  sol[1499] = 6;
  sol[1500] = 6;
  sol[1501] = 18;
  sol[1502] = 0;
  sol[1503] = 36;
  sol[1504] = 0;
  sol[1505] = 12;
  sol[1506] = 15;
  sol[1507] = 27;
  sol[1508] = 6;
  sol[1509] = 12;
  sol[1510] = 12;
  sol[1511] = 18;
  sol[1512] = 6;
  sol[1513] = 27;
  sol[1514] = 6;
  sol[1515] = 12;
  sol[1516] = 9;
  sol[1517] = 18;
  sol[1518] = 0;
  sol[1519] = 24;
  sol[1520] = 6;
  sol[1521] = 18;
  sol[1522] = 18;
  sol[1523] = 21;
  sol[1524] = 0;
  sol[1525] = 36;
  sol[1526] = 0;
  sol[1527] = 12;
  sol[1528] = 0;
  sol[1529] = 18;
  sol[1530] = 12;
  sol[1531] = 21;
  sol[1532] = 18;
  sol[1533] = 24;
  sol[1534] = 0;
  sol[1535] = 12;
  sol[1536] = 1;
  sol[1537] = 18;
  sol[1538] = 9;
  sol[1539] = 21;
  sol[1540] = 18;
  sol[1541] = 6;
  sol[1542] = 9;
  sol[1543] = 42;
  sol[1544] = 3;
  sol[1545] = 36;
  sol[1546] = 12;
  sol[1547] = 12;
  sol[1548] = 12;
  sol[1549] = 30;
  sol[1550] = 0;
  sol[1551] = 12;
  sol[1552] = 6;
  sol[1553] = 21;
  sol[1554] = 12;
  sol[1555] = 36;
  sol[1556] = 6;
  sol[1557] = 24;
  sol[1558] = 9;
  sol[1559] = 12;
  sol[1560] = 6;
  sol[1561] = 12;
  sol[1562] = 12;
  sol[1563] = 24;
  sol[1564] = 12;
  sol[1565] = 18;
  sol[1566] = 0;
  sol[1567] = 42;
  sol[1568] = 0;
  sol[1569] = 15;
  sol[1570] = 6;
  sol[1571] = 15;
  sol[1572] = 15;
  sol[1573] = 42;
  sol[1574] = 6;
  sol[1575] = 30;
  sol[1576] = 6;
  sol[1577] = 12;
  sol[1578] = 12;
  sol[1579] = 18;
  sol[1580] = 12;
  sol[1581] = 18;
  sol[1582] = 0;
  sol[1583] = 6;
  sol[1584] = 6;
  sol[1585] = 36;
  sol[1586] = 0;
  sol[1587] = 30;
  sol[1588] = 18;
  sol[1589] = 6;
  sol[1590] = 0;
  sol[1591] = 6;
  sol[1592] = 0;
  sol[1593] = 30;
  sol[1594] = 18;
  sol[1595] = 18;
  sol[1596] = 0;
  sol[1597] = 42;
  sol[1598] = 0;
  sol[1599] = 18;
  sol[1600] = 6;
  sol[1601] = 15;
  sol[1602] = 18;
  sol[1603] = 24;
  sol[1604] = 0;
  sol[1605] = 12;
  sol[1606] = 6;
  sol[1607] = 36;
  sol[1608] = 9;
  sol[1609] = 33;
  sol[1610] = 12;
  sol[1611] = 12;
  sol[1612] = 12;
  sol[1613] = 18;
  sol[1614] = 0;
  sol[1615] = 36;
  sol[1616] = 0;
  sol[1617] = 21;
  sol[1618] = 21;
  sol[1619] = 15;
  sol[1620] = 18;
  sol[1621] = 18;
  sol[1622] = 15;
  sol[1623] = 18;
  sol[1624] = 0;
  sol[1625] = 18;
  sol[1626] = 6;
  sol[1627] = 42;
  sol[1628] = 6;
  sol[1629] = 24;
  sol[1630] = 0;
  sol[1631] = 18;
  sol[1632] = 3;
  sol[1633] = 42;
  sol[1634] = 6;
  sol[1635] = 18;
  sol[1636] = 12;
  sol[1637] = 12;
  sol[1638] = 12;
  sol[1639] = 18;
  sol[1640] = 0;
  sol[1641] = 15;
  sol[1642] = 12;
  sol[1643] = 18;
  sol[1644] = 12;
  sol[1645] = 36;
  sol[1646] = 0;
  sol[1647] = 30;
  sol[1648] = 12;
  sol[1649] = 3;
  sol[1650] = 21;
  sol[1651] = 18;
  sol[1652] = 0;
  sol[1653] = 30;
  sol[1654] = 6;
  sol[1655] = 24;
  sol[1656] = 0;
  sol[1657] = 27;
  sol[1658] = 12;
  sol[1659] = 18;
  sol[1660] = 12;
  sol[1661] = 6;
  sol[1662] = 0;
  sol[1663] = 12;
  sol[1664] = 0;
  sol[1665] = 36;
  sol[1666] = 15;
  sol[1667] = 15;
  sol[1668] = 3;
  sol[1669] = 36;
  sol[1670] = 12;
  sol[1671] = 18;
  sol[1672] = 6;
  sol[1673] = 30;
  sol[1674] = 6;
  sol[1675] = 33;
  sol[1676] = 12;
  sol[1677] = 12;
  sol[1678] = 0;
  sol[1679] = 12;
  sol[1680] = 6;
  sol[1681] = 24;
  sol[1682] = 6;
  sol[1683] = 54;
  sol[1684] = 18;
  sol[1685] = 12;
  sol[1686] = 3;
  sol[1687] = 36;
  sol[1688] = 9;
  sol[1689] = 9;
  sol[1690] = 12;
  sol[1691] = 12;
  sol[1692] = 18;
  sol[1693] = 36;
  sol[1694] = 0;
  sol[1695] = 6;
  sol[1696] = 0;
  sol[1697] = 21;
  sol[1698] = 15;
  sol[1699] = 27;
  sol[1700] = 9;
  sol[1701] = 24;
  sol[1702] = 12;
  sol[1703] = 30;
  sol[1704] = 6;
  sol[1705] = 24;
  sol[1706] = 6;
  sol[1707] = 27;
  sol[1708] = 18;
  sol[1709] = 12;
  sol[1710] = 0;
  sol[1711] = 30;
  sol[1712] = 0;
  sol[1713] = 21;
  sol[1714] = 12;
  sol[1715] = 18;
  sol[1716] = 6;
  sol[1717] = 30;
  sol[1718] = 0;
  sol[1719] = 18;
  sol[1720] = 0;
  sol[1721] = 21;
  sol[1722] = 18;
  sol[1723] = 21;
  sol[1724] = 6;
  sol[1725] = 30;
  sol[1726] = 0;
  sol[1727] = 24;
  sol[1728] = 3;
  sol[1729] = 6;
  sol[1730] = 6;
  sol[1731] = 15;
  sol[1732] = 27;
  sol[1733] = 12;
  sol[1734] = 10;
  sol[1735] = 42;
  sol[1736] = 6;
  sol[1737] = 36;
  sol[1738] = 12;
  sol[1739] = 12;
  sol[1740] = 6;
  sol[1741] = 24;
  sol[1742] = 0;
  sol[1743] = 24;
  sol[1744] = 6;
  sol[1745] = 12;
  sol[1746] = 12;
  sol[1747] = 48;
  sol[1748] = 6;
  sol[1749] = 18;
  sol[1750] = 12;
  sol[1751] = 0;
  sol[1752] = 3;
  sol[1753] = 51;
  sol[1754] = 6;
  sol[1755] = 30;
  sol[1756] = 6;
  sol[1757] = 24;
  sol[1758] = 0;
  sol[1759] = 24;
  sol[1760] = 0;
  sol[1761] = 30;
  sol[1762] = 21;
  sol[1763] = 15;
  sol[1764] = 12;
  sol[1765] = 24;
  sol[1766] = 9;
  sol[1767] = 18;
  sol[1768] = 6;
  sol[1769] = 18;
  sol[1770] = 12;
  sol[1771] = 30;
  sol[1772] = 9;
  sol[1773] = 24;
  sol[1774] = 0;
  sol[1775] = 18;
  sol[1776] = 0;
  sol[1777] = 27;
  sol[1778] = 18;
  sol[1779] = 9;
  sol[1780] = 6;
  sol[1781] = 18;
  sol[1782] = 9;
  sol[1783] = 54;
  sol[1784] = 0;
  sol[1785] = 18;
  sol[1786] = 24;
  sol[1787] = 21;
  sol[1788] = 18;
  sol[1789] = 12;
  sol[1790] = 0;
  sol[1791] = 24;
  sol[1792] = 0;
  sol[1793] = 12;
  sol[1794] = 0;
  sol[1795] = 30;
  sol[1796] = 9;
  sol[1797] = 30;
  sol[1798] = 12;
  sol[1799] = 6;
  sol[1800] = 9;
  sol[1801] = 24;
  sol[1802] = 6;
  sol[1803] = 15;
  sol[1804] = 15;
  sol[1805] = 18;
  sol[1806] = 0;
  sol[1807] = 30;
  sol[1808] = 3;
  sol[1809] = 33;
  sol[1810] = 18;
  sol[1811] = 21;
  sol[1812] = 12;
  sol[1813] = 42;
  sol[1814] = 3;
  sol[1815] = 30;
  sol[1816] = 6;
  sol[1817] = 6;
  sol[1818] = 24;
  sol[1819] = 27;
  sol[1820] = 6;
  sol[1821] = 12;
  sol[1822] = 0;
  sol[1823] = 24;
  sol[1824] = 3;
  sol[1825] = 42;
  sol[1826] = 6;
  sol[1827] = 42;
  sol[1828] = 9;
  sol[1829] = 12;
  sol[1830] = 6;
  sol[1831] = 18;
  sol[1832] = 6;
  sol[1833] = 24;
  sol[1834] = 12;
  sol[1835] = 12;
  sol[1836] = 12;
  sol[1837] = 54;
  sol[1838] = 0;
  sol[1839] = 6;
  sol[1840] = 12;
  sol[1841] = 18;
  sol[1842] = 6;
  sol[1843] = 18;
  sol[1844] = 18;
  sol[1845] = 30;
  sol[1846] = 12;
  sol[1847] = 30;
  sol[1848] = 0;
  sol[1849] = 18;
  sol[1850] = 0;
  sol[1851] = 27;
  sol[1852] = 18;
  sol[1853] = 24;
  sol[1854] = 0;
  sol[1855] = 18;
  sol[1856] = 0;
  sol[1857] = 15;
  sol[1858] = 24;
  sol[1859] = 21;
  sol[1860] = 6;
  sol[1861] = 24;
  sol[1862] = 3;
  sol[1863] = 36;
  sol[1864] = 6;
  sol[1865] = 6;
  sol[1866] = 6;
  sol[1867] = 45;
  sol[1868] = 21;
  sol[1869] = 18;
  sol[1870] = 0;
  sol[1871] = 18;
  sol[1872] = 6;
  sol[1873] = 33;
  sol[1874] = 3;
  sol[1875] = 18;
  sol[1876] = 0;
  sol[1877] = 24;
  sol[1878] = 15;
  sol[1879] = 30;
  sol[1880] = 0;
  sol[1881] = 30;
  sol[1882] = 24;
  sol[1883] = 12;
  sol[1884] = 6;
  sol[1885] = 36;
  sol[1886] = 0;
  sol[1887] = 24;
  sol[1888] = 3;
  sol[1889] = 21;
  sol[1890] = 24;
  sol[1891] = 18;
  sol[1892] = 15;
  sol[1893] = 30;
  sol[1894] = 3;
  sol[1895] = 12;
  sol[1896] = 6;
  sol[1897] = 42;
  sol[1898] = 12;
  sol[1899] = 12;
  sol[1900] = 12;
  sol[1901] = 6;
  sol[1902] = 0;
  sol[1903] = 54;
  sol[1904] = 6;
  sol[1905] = 30;
  sol[1906] = 15;
  sol[1907] = 24;
  sol[1908] = 18;
  sol[1909] = 24;
  sol[1910] = 6;
  sol[1911] = 12;
  sol[1912] = 0;
  sol[1913] = 9;
  sol[1914] = 6;
  sol[1915] = 30;
  sol[1916] = 0;
  sol[1917] = 48;
  sol[1918] = 0;
  sol[1919] = 24;
  sol[1920] = 0;
  sol[1921] = 15;
  sol[1922] = 12;
  sol[1923] = 39;
  sol[1924] = 12;
  sol[1925] = 24;
  sol[1926] = 6;
  sol[1927] = 24;
  sol[1928] = 6;
  sol[1929] = 15;
  sol[1930] = 30;
  sol[1931] = 12;
  sol[1932] = 6;
  sol[1933] = 24;
  sol[1934] = 0;
  sol[1935] = 24;
  sol[1936] = 3;
  sol[1937] = 24;
  sol[1938] = 12;
  sol[1939] = 24;
  sol[1940] = 6;
  sol[1941] = 6;
  sol[1942] = 18;
  sol[1943] = 12;
  sol[1944] = 4;
  sol[1945] = 54;
  sol[1946] = 6;
  sol[1947] = 21;
  sol[1948] = 18;
  sol[1949] = 18;
  sol[1950] = 0;
  sol[1951] = 36;
  sol[1952] = 6;
  sol[1953] = 24;
  sol[1954] = 9;
  sol[1955] = 30;
  sol[1956] = 12;
  sol[1957] = 24;
  sol[1958] = 9;
  sol[1959] = 36;
  sol[1960] = 6;
  sol[1961] = 12;
  sol[1962] = 18;
  sol[1963] = 42;
  sol[1964] = 3;
  sol[1965] = 30;
  sol[1966] = 0;
  sol[1967] = 6;
  sol[1968] = 9;
  sol[1969] = 21;
  sol[1970] = 6;
  sol[1971] = 12;
  sol[1972] = 30;
  sol[1973] = 30;
  sol[1974] = 6;
  sol[1975] = 30;
  sol[1976] = 0;
  sol[1977] = 27;
  sol[1978] = 12;
  sol[1979] = 9;
  sol[1980] = 18;
  sol[1981] = 30;
  sol[1982] = 0;
  sol[1983] = 36;
  sol[1984] = 0;
  sol[1985] = 18;
  sol[1986] = 9;
  sol[1987] = 42;
  sol[1988] = 6;
  sol[1989] = 24;
  sol[1990] = 12;
  sol[1991] = 0;
  sol[1992] = 6;
  sol[1993] = 51;
  sol[1994] = 12;
  sol[1995] = 24;
  sol[1996] = 12;
  sol[1997] = 12;
  sol[1998] = 0;
  sol[1999] = 18;
  sol[2000] = 6;
  sol[2001] = 12;
  sol[2002] = 18;
  sol[2003] = 6;
  sol[2004] = 6;
  sol[2005] = 36;
  sol[2006] = 3;
  sol[2007] = 54;
  sol[2008] = 9;
  sol[2009] = 18;
  sol[2010] = 6;
  sol[2011] = 27;
  sol[2012] = 12;
  sol[2013] = 18;
  sol[2014] = 0;
  sol[2015] = 30;
  sol[2016] = 0;
  sol[2017] = 39;
  sol[2018] = 9;
  sol[2019] = 18;
  sol[2020] = 18;
  sol[2021] = 12;
  sol[2022] = 9;
  sol[2023] = 30;
  sol[2024] = 6;
  sol[2025] = 21;
  sol[2026] = 12;
  sol[2027] = 27;
  sol[2028] = 18;
  sol[2029] = 24;
  sol[2030] = 0;
  sol[2031] = 12;
  sol[2032] = 0;
  sol[2033] = 42;
  sol[2034] = 18;
  sol[2035] = 42;
  sol[2036] = 6;
  sol[2037] = 24;
  sol[2038] = 15;
  sol[2039] = 18;
  sol[2040] = 0;
  sol[2041] = 24;
  sol[2042] = 12;
  sol[2043] = 45;
  sol[2044] = 12;
  sol[2045] = 6;
  sol[2046] = 0;
  sol[2047] = 54;
  sol[2048] = 0;
  sol[2049] = 15;
  sol[2050] = 21;
  sol[2051] = 6;
  sol[2052] = 6;
  sol[2053] = 30;
  sol[2054] = 6;
  sol[2055] = 18;
  sol[2056] = 12;
  sol[2057] = 24;
  sol[2058] = 18;
  sol[2059] = 30;
  sol[2060] = 6;
  sol[2061] = 36;
  sol[2062] = 0;
  sol[2063] = 12;
  sol[2064] = 3;
  sol[2065] = 24;
  sol[2066] = 12;
  sol[2067] = 18;
  sol[2068] = 18;
  sol[2069] = 18;
  sol[2070] = 12;
  sol[2071] = 24;
  sol[2072] = 0;
  sol[2073] = 33;
  sol[2074] = 12;
  sol[2075] = 27;
  sol[2076] = 6;
  sol[2077] = 42;
  sol[2078] = 0;
  sol[2079] = 18;
  sol[2080] = 6;
  sol[2081] = 9;
  sol[2082] = 15;
  sol[2083] = 30;
  sol[2084] = 6;
  sol[2085] = 30;
  sol[2086] = 6;
  sol[2087] = 12;
  sol[2088] = 6;
  sol[2089] = 18;
  sol[2090] = 6;
  sol[2091] = 33;
  sol[2092] = 15;
  sol[2093] = 30;
  sol[2094] = 0;
  sol[2095] = 36;
  sol[2096] = 3;
  sol[2097] = 27;
  sol[2098] = 21;
  sol[2099] = 33;
  sol[2100] = 24;
  sol[2101] = 30;
  sol[2102] = 9;
  sol[2103] = 24;
  sol[2104] = 0;
  sol[2105] = 12;
  sol[2106] = 18;
  sol[2107] = 33;
  sol[2108] = 6;
  sol[2109] = 6;
  sol[2110] = 0;
  sol[2111] = 18;
  sol[2112] = 3;
  sol[2113] = 57;
  sol[2114] = 12;
  sol[2115] = 24;
  sol[2116] = 18;
  sol[2117] = 30;
  sol[2118] = 9;
  sol[2119] = 18;
  sol[2120] = 0;
  sol[2121] = 18;
  sol[2122] = 12;
  sol[2123] = 27;
  sol[2124] = 12;
  sol[2125] = 36;
  sol[2126] = 0;
  sol[2127] = 36;
  sol[2128] = 6;
  sol[2129] = 12;
  sol[2130] = 6;
  sol[2131] = 27;
  sol[2132] = 12;
  sol[2133] = 30;
  sol[2134] = 9;
  sol[2135] = 24;
  sol[2136] = 6;
  sol[2137] = 39;
  sol[2138] = 18;
  sol[2139] = 12;
  sol[2140] = 24;
  sol[2141] = 12;
  sol[2142] = 0;
  sol[2143] = 30;
  sol[2144] = 0;
  sol[2145] = 30;
  sol[2146] = 6;
  sol[2147] = 15;
  sol[2148] = 15;
  sol[2149] = 18;
  sol[2150] = 3;
  sol[2151] = 24;
  sol[2152] = 18;
  sol[2153] = 9;
  sol[2154] = 12;
  sol[2155] = 30;
  sol[2156] = 9;
  sol[2157] = 30;
  sol[2158] = 0;
  sol[2159] = 18;
  sol[2160] = 6;
  sol[2161] = 42;
  sol[2162] = 18;
  sol[2163] = 30;
  sol[2164] = 0;
  sol[2165] = 6;
  sol[2166] = 10;
  sol[2167] = 48;
  sol[2168] = 0;
  sol[2169] = 24;
  sol[2170] = 12;
  sol[2171] = 12;
  sol[2172] = 18;
  sol[2173] = 48;
  sol[2174] = 0;
  sol[2175] = 30;
  sol[2176] = 3;
  sol[2177] = 30;
  sol[2178] = 15;
  sol[2179] = 18;
  sol[2180] = 6;
  sol[2181] = 24;
  sol[2182] = 18;
  sol[2183] = 18;
  sol[2184] = 0;
  sol[2185] = 42;
  sol[2186] = 6;
  sol[2187] = 36;
  sol[2188] = 15;
  sol[2189] = 24;
  sol[2190] = 0;
  sol[2191] = 42;
  sol[2192] = 12;
  sol[2193] = 21;
  sol[2194] = 24;
  sol[2195] = 12;
  sol[2196] = 12;
  sol[2197] = 24;
  sol[2198] = 0;
  sol[2199] = 12;
  sol[2200] = 6;
  sol[2201] = 18;
  sol[2202] = 18;
  sol[2203] = 60;
  sol[2204] = 6;
  sol[2205] = 30;
  sol[2206] = 0;
  sol[2207] = 12;
  sol[2208] = 0;
  sol[2209] = 24;
  sol[2210] = 0;
  sol[2211] = 12;
  sol[2212] = 18;
  sol[2213] = 30;
  sol[2214] = 15;
  sol[2215] = 42;
  sol[2216] = 0;
  sol[2217] = 33;
  sol[2218] = 30;
  sol[2219] = 6;
  sol[2220] = 6;
  sol[2221] = 12;
  sol[2222] = 0;
  sol[2223] = 42;
  sol[2224] = 3;
  sol[2225] = 27;
  sol[2226] = 6;
  sol[2227] = 33;
  sol[2228] = 12;
  sol[2229] = 36;
  sol[2230] = 12;
  sol[2231] = 18;
  sol[2232] = 0;
  sol[2233] = 30;
  sol[2234] = 6;
  sol[2235] = 18;
  sol[2236] = 12;
  sol[2237] = 12;
  sol[2238] = 0;
  sol[2239] = 18;
  sol[2240] = 6;
  sol[2241] = 15;
  sol[2242] = 27;
  sol[2243] = 27;
  sol[2244] = 6;
  sol[2245] = 42;
  sol[2246] = 6;
  sol[2247] = 36;
  sol[2248] = 9;
  sol[2249] = 18;
  sol[2250] = 30;
  sol[2251] = 33;
  sol[2252] = 9;
  sol[2253] = 30;
  sol[2254] = 0;
  sol[2255] = 6;
  sol[2256] = 6;
  sol[2257] = 54;
  sol[2258] = 6;
  sol[2259] = 36;
  sol[2260] = 24;
  sol[2261] = 24;
  sol[2262] = 0;
  sol[2263] = 30;
  sol[2264] = 3;
  sol[2265] = 12;
  sol[2266] = 6;
  sol[2267] = 21;
  sol[2268] = 24;
  sol[2269] = 30;
  sol[2270] = 0;
  sol[2271] = 24;
  sol[2272] = 0;
  sol[2273] = 24;
  sol[2274] = 12;
  sol[2275] = 42;
  sol[2276] = 9;
  sol[2277] = 42;
  sol[2278] = 21;
  sol[2279] = 12;
  sol[2280] = 12;
  sol[2281] = 27;
  sol[2282] = 12;
  sol[2283] = 27;
  sol[2284] = 6;
  sol[2285] = 12;
  sol[2286] = 0;
  sol[2287] = 48;
  sol[2288] = 6;
  sol[2289] = 12;
  sol[2290] = 18;
  sol[2291] = 12;
  sol[2292] = 12;
  sol[2293] = 36;
  sol[2294] = 6;
  sol[2295] = 30;
  sol[2296] = 0;
  sol[2297] = 24;
  sol[2298] = 0;
  sol[2299] = 42;
  sol[2300] = 12;
  sol[2301] = 12;
  sol[2302] = 0;
  sol[2303] = 36;
  sol[2304] = 0;
  sol[2305] = 24;
  sol[2306] = 15;
  sol[2307] = 21;
  sol[2308] = 21;
  sol[2309] = 18;
  sol[2310] = 6;
  sol[2311] = 12;
  sol[2312] = 9;
  sol[2313] = 36;
  sol[2314] = 18;
  sol[2315] = 18;
  sol[2316] = 15;
  sol[2317] = 42;
  sol[2318] = 0;
  sol[2319] = 18;
  sol[2320] = 6;
  sol[2321] = 9;
  sol[2322] = 18;
  sol[2323] = 48;
  sol[2324] = 12;
  sol[2325] = 30;
  sol[2326] = 9;
  sol[2327] = 24;
  sol[2328] = 3;
  sol[2329] = 33;
  sol[2330] = 6;
  sol[2331] = 18;
  sol[2332] = 18;
  sol[2333] = 18;
  sol[2334] = 0;
  sol[2335] = 36;
  sol[2336] = 3;
  sol[2337] = 54;
  sol[2338] = 24;
  sol[2339] = 3;
  sol[2340] = 12;
  sol[2341] = 36;
  sol[2342] = 9;
  sol[2343] = 36;
  sol[2344] = 6;
  sol[2345] = 30;
  sol[2346] = 12;
  sol[2347] = 36;
  sol[2348] = 12;
  sol[2349] = 24;
  sol[2350] = 0;
  sol[2351] = 18;
  sol[2352] = 6;
  sol[2353] = 24;
  sol[2354] = 6;
  sol[2355] = 42;
  sol[2356] = 0;
  sol[2357] = 24;
  sol[2358] = 18;
  sol[2359] = 18;
  sol[2360] = 0;
  sol[2361] = 9;
  sol[2362] = 30;
  sol[2363] = 39;
  sol[2364] = 12;
  sol[2365] = 42;
  sol[2366] = 0;
  sol[2367] = 36;
  sol[2368] = 0;
  sol[2369] = 12;
  sol[2370] = 12;
  sol[2371] = 21;
  sol[2372] = 12;
  sol[2373] = 18;
  sol[2374] = 12;
  sol[2375] = 24;
  sol[2376] = 6;
  sol[2377] = 45;
  sol[2378] = 6;
  sol[2379] = 18;
  sol[2380] = 24;
  sol[2381] = 18;
  sol[2382] = 0;
  sol[2383] = 36;
  sol[2384] = 0;
  sol[2385] = 42;
  sol[2386] = 15;
  sol[2387] = 18;
  sol[2388] = 6;
  sol[2389] = 24;
  sol[2390] = 6;
  sol[2391] = 12;
  sol[2392] = 12;
  sol[2393] = 18;
  sol[2394] = 12;
  sol[2395] = 30;
  sol[2396] = 6;
  sol[2397] = 18;
  sol[2398] = 0;
  sol[2399] = 30;
  sol[2400] = 1;
  sol[2401] = 30;
  sol[2402] = 9;
  sol[2403] = 57;
  sol[2404] = 9;
  sol[2405] = 12;
  sol[2406] = 9;
  sol[2407] = 48;
  sol[2408] = 6;
  sol[2409] = 21;
  sol[2410] = 24;
  sol[2411] = 18;
  sol[2412] = 12;
  sol[2413] = 66;
  sol[2414] = 0;
  sol[2415] = 18;
  sol[2416] = 6;
  sol[2417] = 9;
  sol[2418] = 24;
  sol[2419] = 24;
  sol[2420] = 24;
  sol[2421] = 30;
  sol[2422] = 12;
  sol[2423] = 18;
  sol[2424] = 0;
  sol[2425] = 48;
  sol[2426] = 6;
  sol[2427] = 24;
  sol[2428] = 18;
  sol[2429] = 18;
  sol[2430] = 0;
  sol[2431] = 24;
  sol[2432] = 3;
  sol[2433] = 27;
  sol[2434] = 18;
  sol[2435] = 24;
  sol[2436] = 12;
  sol[2437] = 36;
  sol[2438] = 6;
  sol[2439] = 48;
  sol[2440] = 6;
  sol[2441] = 15;
  sol[2442] = 18;
  sol[2443] = 42;
  sol[2444] = 6;
  sol[2445] = 24;
  sol[2446] = 0;
  sol[2447] = 12;
  sol[2448] = 12;
  sol[2449] = 36;
  sol[2450] = 6;
  sol[2451] = 6;
  sol[2452] = 24;
  sol[2453] = 12;
  sol[2454] = 3;
  sol[2455] = 48;
  sol[2456] = 0;
  sol[2457] = 48;
  sol[2458] = 18;
  sol[2459] = 0;
  sol[2460] = 12;
  sol[2461] = 18;
  sol[2462] = 0;
  sol[2463] = 36;
  sol[2464] = 6;
  sol[2465] = 18;
  sol[2466] = 9;
  sol[2467] = 54;
  sol[2468] = 15;
  sol[2469] = 12;
  sol[2470] = 12;
  sol[2471] = 6;
  sol[2472] = 6;
  sol[2473] = 39;
  sol[2474] = 6;
  sol[2475] = 24;
  sol[2476] = 18;
  sol[2477] = 42;
  sol[2478] = 0;
  sol[2479] = 30;
  sol[2480] = 0;
  sol[2481] = 33;
  sol[2482] = 18;
  sol[2483] = 24;
  sol[2484] = 18;
  sol[2485] = 18;
  sol[2486] = 9;
  sol[2487] = 18;
  sol[2488] = 0;
  sol[2489] = 15;
  sol[2490] = 18;
  sol[2491] = 54;
  sol[2492] = 0;
  sol[2493] = 36;
  sol[2494] = 0;
  sol[2495] = 24;
  sol[2496] = 0;
  sol[2497] = 48;
  sol[2498] = 24;
  sol[2499] = 15;
  sol[2500] = 18;
  sol[2501] = 18;
  sol[2502] = 12;
  sol[2503] = 42;
  sol[2504] = 9;
  sol[2505] = 24;
  sol[2506] = 12;
  sol[2507] = 36;
  sol[2508] = 21;
  sol[2509] = 30;
  sol[2510] = 0;
  sol[2511] = 36;
  sol[2512] = 12;
  sol[2513] = 24;
  sol[2514] = 3;
  sol[2515] = 30;
  sol[2516] = 0;
  sol[2517] = 48;
  sol[2518] = 15;
  sol[2519] = 12;
  sol[2520] = 6;
  sol[2521] = 15;
  sol[2522] = 18;
  sol[2523] = 18;
  sol[2524] = 18;
  sol[2525] = 24;
  sol[2526] = 0;
  sol[2527] = 30;
  sol[2528] = 0;
  sol[2529] = 24;
  sol[2530] = 24;
  sol[2531] = 18;
  sol[2532] = 9;
  sol[2533] = 72;
  sol[2534] = 0;
  sol[2535] = 30;
  sol[2536] = 6;
  sol[2537] = 21;
  sol[2538] = 18;
  sol[2539] = 30;
  sol[2540] = 6;
  sol[2541] = 24;
  sol[2542] = 0;
  sol[2543] = 0;
  sol[2544] = 6;
  sol[2545] = 24;
  sol[2546] = 18;
  sol[2547] = 42;
  sol[2548] = 12;
  sol[2549] = 6;
  sol[2550] = 15;
  sol[2551] = 36;
  sol[2552] = 0;
  sol[2553] = 30;
  sol[2554] = 18;
  sol[2555] = 30;
  sol[2556] = 12;
  sol[2557] = 24;
  sol[2558] = 0;
  sol[2559] = 6;
  sol[2560] = 0;
  sol[2561] = 18;
  sol[2562] = 12;
  sol[2563] = 54;
  sol[2564] = 9;
  sol[2565] = 36;
  sol[2566] = 9;
  sol[2567] = 36;
  sol[2568] = 9;
  sol[2569] = 30;
  sol[2570] = 6;
  sol[2571] = 27;
  sol[2572] = 27;
  sol[2573] = 24;
  sol[2574] = 0;
  sol[2575] = 54;
  sol[2576] = 6;
  sol[2577] = 21;
  sol[2578] = 18;
  sol[2579] = 21;
  sol[2580] = 6;
  sol[2581] = 36;
  sol[2582] = 15;
  sol[2583] = 36;
  sol[2584] = 3;
  sol[2585] = 30;
  sol[2586] = 12;
  sol[2587] = 6;
  sol[2588] = 18;
  sol[2589] = 30;
  sol[2590] = 0;
  sol[2591] = 18;
  sol[2592] = 6;
  sol[2593] = 54;
  sol[2594] = 0;
  sol[2595] = 30;
  sol[2596] = 21;
  sol[2597] = 36;
  sol[2598] = 9;
  sol[2599] = 30;
  sol[2600] = 6;
  sol[2601] = 30;
  sol[2602] = 24;
  sol[2603] = 24;
  sol[2604] = 6;
  sol[2605] = 30;
  sol[2606] = 0;
  sol[2607] = 36;
  sol[2608] = 12;
  sol[2609] = 9;
  sol[2610] = 24;
  sol[2611] = 24;
  sol[2612] = 12;
  sol[2613] = 18;
  sol[2614] = 9;
  sol[2615] = 30;
  sol[2616] = 0;
  sol[2617] = 48;
  sol[2618] = 12;
  sol[2619] = 24;
  sol[2620] = 12;
  sol[2621] = 12;
  sol[2622] = 0;
  sol[2623] = 48;
  sol[2624] = 0;
  sol[2625] = 18;
  sol[2626] = 12;
  sol[2627] = 24;
  sol[2628] = 24;
  sol[2629] = 30;
  sol[2630] = 6;
  sol[2631] = 18;
  sol[2632] = 12;
  sol[2633] = 21;
  sol[2634] = 12;
  sol[2635] = 24;
  sol[2636] = 0;
  sol[2637] = 66;
  sol[2638] = 0;
  sol[2639] = 12;
  sol[2640] = 0;
  sol[2641] = 30;
  sol[2642] = 9;
  sol[2643] = 24;
  sol[2644] = 24;
  sol[2645] = 18;
  sol[2646] = 13;
  sol[2647] = 42;
  sol[2648] = 3;
  sol[2649] = 18;
  sol[2650] = 18;
  sol[2651] = 27;
  sol[2652] = 24;
  sol[2653] = 24;
  sol[2654] = 0;
  sol[2655] = 30;
  sol[2656] = 6;
  sol[2657] = 15;
  sol[2658] = 18;
  sol[2659] = 39;
  sol[2660] = 12;
  sol[2661] = 12;
  sol[2662] = 9;
  sol[2663] = 36;
  sol[2664] = 12;
  sol[2665] = 54;
  sol[2666] = 12;
  sol[2667] = 42;
  sol[2668] = 18;
  sol[2669] = 6;
  sol[2670] = 0;
  sol[2671] = 36;
  sol[2672] = 0;
  sol[2673] = 51;
  sol[2674] = 18;
  sol[2675] = 12;
  sol[2676] = 0;
  sol[2677] = 66;
  sol[2678] = 12;
  sol[2679] = 24;
  sol[2680] = 0;
  sol[2681] = 6;
  sol[2682] = 24;
  sol[2683] = 51;
  sol[2684] = 12;
  sol[2685] = 24;
  sol[2686] = 0;
  sol[2687] = 24;
  sol[2688] = 0;
  sol[2689] = 33;
  sol[2690] = 6;
  sol[2691] = 18;
  sol[2692] = 18;
  sol[2693] = 30;
  sol[2694] = 6;
  sol[2695] = 42;
  sol[2696] = 3;
  sol[2697] = 18;
  sol[2698] = 30;
  sol[2699] = 15;
  sol[2700] = 15;
  sol[2701] = 30;
  sol[2702] = 0;
  sol[2703] = 30;
  sol[2704] = 6;
  sol[2705] = 30;
  sol[2706] = 12;
  sol[2707] = 48;
  sol[2708] = 12;
  sol[2709] = 24;
  sol[2710] = 12;
  sol[2711] = 12;
  sol[2712] = 9;
  sol[2713] = 36;
  sol[2714] = 6;
  sol[2715] = 36;
  sol[2716] = 6;
  sol[2717] = 12;
  sol[2718] = 0;
  sol[2719] = 30;
  sol[2720] = 0;
  sol[2721] = 24;
  sol[2722] = 21;
  sol[2723] = 24;
  sol[2724] = 15;
  sol[2725] = 42;
  sol[2726] = 12;
  sol[2727] = 24;
  sol[2728] = 6;
  sol[2729] = 9;
  sol[2730] = 18;
  sol[2731] = 15;
  sol[2732] = 9;
  sol[2733] = 42;
  sol[2734] = 0;
  sol[2735] = 24;
  sol[2736] = 12;
  sol[2737] = 66;
  sol[2738] = 12;
  sol[2739] = 30;
  sol[2740] = 24;
  sol[2741] = 6;
  sol[2742] = 9;
  sol[2743] = 54;
  sol[2744] = 0;
  sol[2745] = 36;
  sol[2746] = 12;
  sol[2747] = 21;
  sol[2748] = 12;
  sol[2749] = 36;
  sol[2750] = 0;
  sol[2751] = 24;
  sol[2752] = 3;
  sol[2753] = 24;
  sol[2754] = 15;
  sol[2755] = 36;
  sol[2756] = 6;
  sol[2757] = 30;
  sol[2758] = 24;
  sol[2759] = 12;
  sol[2760] = 6;
  sol[2761] = 33;
  sol[2762] = 6;
  sol[2763] = 39;
  sol[2764] = 21;
  sol[2765] = 30;
  sol[2766] = 0;
  sol[2767] = 42;
  sol[2768] = 6;
  sol[2769] = 12;
  sol[2770] = 30;
  sol[2771] = 30;
  sol[2772] = 18;
  sol[2773] = 36;
  sol[2774] = 0;
  sol[2775] = 48;
  sol[2776] = 3;
  sol[2777] = 36;
  sol[2778] = 12;
  sol[2779] = 30;
  sol[2780] = 18;
  sol[2781] = 18;
  sol[2782] = 0;
  sol[2783] = 24;
  sol[2784] = 0;
  sol[2785] = 30;
  sol[2786] = 6;
  sol[2787] = 33;
  sol[2788] = 21;
  sol[2789] = 24;
  sol[2790] = 6;
  sol[2791] = 18;
  sol[2792] = 12;
  sol[2793] = 24;
  sol[2794] = 12;
  sol[2795] = 12;
  sol[2796] = 15;
  sol[2797] = 48;
  sol[2798] = 0;
  sol[2799] = 24;
  sol[2800] = 6;
  sol[2801] = 21;
  sol[2802] = 21;
  sol[2803] = 60;
  sol[2804] = 6;
  sol[2805] = 24;
  sol[2806] = 12;
  sol[2807] = 18;
  sol[2808] = 0;
  sol[2809] = 30;
  sol[2810] = 12;
  sol[2811] = 15;
  sol[2812] = 12;
  sol[2813] = 24;
  sol[2814] = 0;
  sol[2815] = 24;
  sol[2816] = 3;
  sol[2817] = 60;
  sol[2818] = 27;
  sol[2819] = 18;
  sol[2820] = 12;
  sol[2821] = 30;
  sol[2822] = 3;
  sol[2823] = 24;
  sol[2824] = 9;
  sol[2825] = 21;
  sol[2826] = 12;
  sol[2827] = 60;
  sol[2828] = 18;
  sol[2829] = 24;
  sol[2830] = 0;
  sol[2831] = 24;
  sol[2832] = 9;
  sol[2833] = 33;
  sol[2834] = 6;
  sol[2835] = 36;
  sol[2836] = 12;
  sol[2837] = 24;
  sol[2838] = 15;
  sol[2839] = 42;
  sol[2840] = 6;
  sol[2841] = 27;
  sol[2842] = 36;
  sol[2843] = 27;
  sol[2844] = 6;
  sol[2845] = 42;
  sol[2846] = 0;
  sol[2847] = 42;
  sol[2848] = 6;
  sol[2849] = 12;
  sol[2850] = 15;
  sol[2851] = 15;
  sol[2852] = 24;
  sol[2853] = 42;
  sol[2854] = 18;
  sol[2855] = 12;
  sol[2856] = 0;
  sol[2857] = 33;
  sol[2858] = 6;
  sol[2859] = 21;
  sol[2860] = 18;
  sol[2861] = 24;
  sol[2862] = 0;
  sol[2863] = 48;
  sol[2864] = 3;
  sol[2865] = 36;
  sol[2866] = 9;
  sol[2867] = 24;
  sol[2868] = 24;
  sol[2869] = 30;
  sol[2870] = 6;
  sol[2871] = 36;
  sol[2872] = 0;
  sol[2873] = 39;
  sol[2874] = 18;
  sol[2875] = 60;
  sol[2876] = 6;
  sol[2877] = 18;
  sol[2878] = 0;
  sol[2879] = 12;
  sol[2880] = 6;
  sol[2881] = 21;
  sol[2882] = 27;
  sol[2883] = 30;
  sol[2884] = 0;
  sol[2885] = 18;
  sol[2886] = 6;
  sol[2887] = 42;
  sol[2888] = 6;
  sol[2889] = 42;
  sol[2890] = 18;
  sol[2891] = 24;
  sol[2892] = 9;
  sol[2893] = 48;
  sol[2894] = 0;
  sol[2895] = 6;
  sol[2896] = 6;
  sol[2897] = 18;
  sol[2898] = 18;
  sol[2899] = 18;
  sol[2900] = 6;
  sol[2901] = 18;
  sol[2902] = 15;
  sol[2903] = 30;
  sol[2904] = 4;
  sol[2905] = 60;
  sol[2906] = 12;
  sol[2907] = 30;
  sol[2908] = 30;
  sol[2909] = 18;
  sol[2910] = 0;
  sol[2911] = 36;
  sol[2912] = 0;
  sol[2913] = 27;
  sol[2914] = 18;
  sol[2915] = 30;
  sol[2916] = 18;
  sol[2917] = 48;
  sol[2918] = 9;
  sol[2919] = 30;
  sol[2920] = 12;
  sol[2921] = 18;
  sol[2922] = 6;
  sol[2923] = 42;
  sol[2924] = 9;
  sol[2925] = 48;
  sol[2926] = 0;
  sol[2927] = 18;
  sol[2928] = 6;
  sol[2929] = 42;
  sol[2930] = 6;
  sol[2931] = 30;
  sol[2932] = 24;
  sol[2933] = 12;
  sol[2934] = 3;
  sol[2935] = 36;
  sol[2936] = 0;
  sol[2937] = 36;
  sol[2938] = 36;
  sol[2939] = 15;
  sol[2940] = 18;
  sol[2941] = 30;
  sol[2942] = 0;
  sol[2943] = 66;
  sol[2944] = 0;
  sol[2945] = 12;
  sol[2946] = 18;
  sol[2947] = 42;
  sol[2948] = 9;
  sol[2949] = 24;
  sol[2950] = 15;
  sol[2951] = 18;
  sol[2952] = 12;
  sol[2953] = 54;
  sol[2954] = 6;
  sol[2955] = 18;
  sol[2956] = 21;
  sol[2957] = 36;
  sol[2958] = 0;
  sol[2959] = 30;
  sol[2960] = 6;
  sol[2961] = 24;
  sol[2962] = 24;
  sol[2963] = 12;
  sol[2964] = 6;
  sol[2965] = 24;
  sol[2966] = 9;
  sol[2967] = 36;
  sol[2968] = 12;
  sol[2969] = 6;
  sol[2970] = 12;
  sol[2971] = 45;
  sol[2972] = 12;
  sol[2973] = 36;
  sol[2974] = 0;
  sol[2975] = 36;
  sol[2976] = 0;
  sol[2977] = 48;
  sol[2978] = 3;
  sol[2979] = 24;
  sol[2980] = 18;
  sol[2981] = 12;
  sol[2982] = 24;
  sol[2983] = 36;
  sol[2984] = 0;
  sol[2985] = 30;
  sol[2986] = 12;
  sol[2987] = 30;
  sol[2988] = 21;
  sol[2989] = 30;
  sol[2990] = 0;
  sol[2991] = 6;
  sol[2992] = 15;
  sol[2993] = 18;
  sol[2994] = 15;
  sol[2995] = 66;
  sol[2996] = 12;
  sol[2997] = 42;
  sol[2998] = 3;
  sol[2999] = 12;
  sol[3000] = 0;
  sol[3001] = 39;
  sol[3002] = 12;
  sol[3003] = 30;
  sol[3004] = 12;
  sol[3005] = 18;
  sol[3006] = 0;
  sol[3007] = 54;
  sol[3008] = 6;
  sol[3009] = 30;
  sol[3010] = 24;
  sol[3011] = 9;
  sol[3012] = 12;
  sol[3013] = 60;
  sol[3014] = 12;
  sol[3015] = 30;
  sol[3016] = 12;
  sol[3017] = 30;
  sol[3018] = 24;
  sol[3019] = 24;
  sol[3020] = 18;
  sol[3021] = 30;
  sol[3022] = 0;
  sol[3023] = 36;
  sol[3024] = 0;
  sol[3025] = 27;
  sol[3026] = 9;
  sol[3027] = 45;
  sol[3028] = 18;
  sol[3029] = 24;
  sol[3030] = 12;
  sol[3031] = 24;
  sol[3032] = 0;
  sol[3033] = 36;
  sol[3034] = 24;
  sol[3035] = 12;
  sol[3036] = 6;
  sol[3037] = 60;
  sol[3038] = 0;
  sol[3039] = 18;
  sol[3040] = 0;
  sol[3041] = 24;
  sol[3042] = 15;
  sol[3043] = 51;
  sol[3044] = 9;
  sol[3045] = 24;
  sol[3046] = 12;
  sol[3047] = 30;
  sol[3048] = 12;
  sol[3049] = 27;
  sol[3050] = 18;
  sol[3051] = 51;
  sol[3052] = 18;
  sol[3053] = 24;
  sol[3054] = 0;
  sol[3055] = 36;
  sol[3056] = 6;
  sol[3057] = 27;
  sol[3058] = 27;
  sol[3059] = 12;
  sol[3060] = 30;
  sol[3061] = 36;
  sol[3062] = 6;
  sol[3063] = 30;
  sol[3064] = 0;
  sol[3065] = 12;
  sol[3066] = 6;
  sol[3067] = 42;
  sol[3068] = 0;
  sol[3069] = 18;
  sol[3070] = 0;
  sol[3071] = 18;
  sol[3072] = 0;
  sol[3073] = 48;
  sol[3074] = 12;
  sol[3075] = 45;
  sol[3076] = 24;
  sol[3077] = 6;
  sol[3078] = 15;
  sol[3079] = 42;
  sol[3080] = 6;
  sol[3081] = 12;
  sol[3082] = 18;
  sol[3083] = 27;
  sol[3084] = 9;
  sol[3085] = 54;
  sol[3086] = 0;
  sol[3087] = 42;
  sol[3088] = 3;
  sol[3089] = 33;
  sol[3090] = 12;
  sol[3091] = 15;
  sol[3092] = 12;
  sol[3093] = 54;
  sol[3094] = 18;
  sol[3095] = 30;
  sol[3096] = 6;
  sol[3097] = 36;
  sol[3098] = 18;
  sol[3099] = 21;
  sol[3100] = 30;
  sol[3101] = 18;
  sol[3102] = 0;
  sol[3103] = 48;
  sol[3104] = 3;
  sol[3105] = 30;
  sol[3106] = 18;
  sol[3107] = 36;
  sol[3108] = 6;
  sol[3109] = 18;
  sol[3110] = 0;
  sol[3111] = 18;
  sol[3112] = 12;
  sol[3113] = 57;
  sol[3114] = 24;
  sol[3115] = 42;
  sol[3116] = 6;
  sol[3117] = 24;
  sol[3118] = 0;
  sol[3119] = 18;
  sol[3120] = 12;
  sol[3121] = 36;
  sol[3122] = 18;
  sol[3123] = 30;
  sol[3124] = 12;
  sol[3125] = 36;
  sol[3126] = 3;
  sol[3127] = 78;
  sol[3128] = 0;
  sol[3129] = 24;
  sol[3130] = 6;
  sol[3131] = 6;
  sol[3132] = 36;
  sol[3133] = 42;
  sol[3134] = 0;
  sol[3135] = 24;
  sol[3136] = 0;
  sol[3137] = 21;
  sol[3138] = 15;
  sol[3139] = 33;
  sol[3140] = 6;
  sol[3141] = 42;
  sol[3142] = 18;
  sol[3143] = 12;
  sol[3144] = 3;
  sol[3145] = 30;
  sol[3146] = 12;
  sol[3147] = 30;
  sol[3148] = 27;
  sol[3149] = 24;
  sol[3150] = 0;
  sol[3151] = 42;
  sol[3152] = 12;
  sol[3153] = 39;
  sol[3154] = 12;
  sol[3155] = 30;
  sol[3156] = 12;
  sol[3157] = 30;
  sol[3158] = 15;
  sol[3159] = 30;
  sol[3160] = 6;
  sol[3161] = 12;
  sol[3162] = 24;
  sol[3163] = 54;
  sol[3164] = 6;
  sol[3165] = 24;
  sol[3166] = 0;
  sol[3167] = 18;
  sol[3168] = 6;
  sol[3169] = 33;
  sol[3170] = 12;
  sol[3171] = 18;
  sol[3172] = 24;
  sol[3173] = 24;
  sol[3174] = 7;
  sol[3175] = 30;
  sol[3176] = 0;
  sol[3177] = 60;
  sol[3178] = 24;
  sol[3179] = 21;
  sol[3180] = 12;
  sol[3181] = 30;
  sol[3182] = 0;
  sol[3183] = 48;
  sol[3184] = 6;
  sol[3185] = 18;
  sol[3186] = 15;
  sol[3187] = 39;
  sol[3188] = 12;
  sol[3189] = 18;
  sol[3190] = 18;
  sol[3191] = 18;
  sol[3192] = 0;
  sol[3193] = 48;
  sol[3194] = 12;
  sol[3195] = 54;
  sol[3196] = 18;
  sol[3197] = 42;
  sol[3198] = 0;
  sol[3199] = 30;
  sol[3200] = 0;
  sol[3201] = 15;
  sol[3202] = 30;
  sol[3203] = 27;
  sol[3204] = 18;
  sol[3205] = 72;
  sol[3206] = 0;
  sol[3207] = 30;
  sol[3208] = 15;
  sol[3209] = 12;
  sol[3210] = 12;
  sol[3211] = 30;
  sol[3212] = 18;
  sol[3213] = 36;
  sol[3214] = 0;
  sol[3215] = 6;
  sol[3216] = 3;
  sol[3217] = 60;
  sol[3218] = 15;
  sol[3219] = 24;
  sol[3220] = 18;
  sol[3221] = 6;
  sol[3222] = 18;
  sol[3223] = 54;
  sol[3224] = 6;
  sol[3225] = 21;
  sol[3226] = 24;
  sol[3227] = 24;
  sol[3228] = 12;
  sol[3229] = 30;
  sol[3230] = 0;
  sol[3231] = 30;
  sol[3232] = 6;
  sol[3233] = 30;
  sol[3234] = 15;
  sol[3235] = 54;
  sol[3236] = 6;
  sol[3237] = 48;
  sol[3238] = 12;
  sol[3239] = 30;
  sol[3240] = 12;
  sol[3241] = 36;
  sol[3242] = 0;
  sol[3243] = 24;
  sol[3244] = 3;
  sol[3245] = 24;
  sol[3246] = 0;
  sol[3247] = 54;
  sol[3248] = 6;
  sol[3249] = 18;
  sol[3250] = 30;
  sol[3251] = 15;
  sol[3252] = 6;
  sol[3253] = 42;
  sol[3254] = 9;
  sol[3255] = 36;
  sol[3256] = 0;
  sol[3257] = 21;
  sol[3258] = 30;
  sol[3259] = 15;
  sol[3260] = 12;
  sol[3261] = 12;
  sol[3262] = 0;
  sol[3263] = 24;
  sol[3264] = 3;
  sol[3265] = 72;
  sol[3266] = 0;
  sol[3267] = 51;
  sol[3268] = 39;
  sol[3269] = 24;
  sol[3270] = 12;
  sol[3271] = 30;
  sol[3272] = 3;
  sol[3273] = 33;
  sol[3274] = 18;
  sol[3275] = 15;
  sol[3276] = 12;
  sol[3277] = 42;
  sol[3278] = 0;
  sol[3279] = 30;
  sol[3280] = 12;
  sol[3281] = 27;
  sol[3282] = 24;
  sol[3283] = 51;
  sol[3284] = 12;
  sol[3285] = 42;
  sol[3286] = 12;
  sol[3287] = 18;
  sol[3288] = 3;
  sol[3289] = 42;
  sol[3290] = 12;
  sol[3291] = 39;
  sol[3292] = 18;
  sol[3293] = 12;
  sol[3294] = 0;
  sol[3295] = 30;
  sol[3296] = 0;
  sol[3297] = 24;
  sol[3298] = 21;
  sol[3299] = 21;
  sol[3300] = 21;
  sol[3301] = 30;
  sol[3302] = 6;
  sol[3303] = 66;
  sol[3304] = 12;
  sol[3305] = 12;
  sol[3306] = 6;
  sol[3307] = 69;
  sol[3308] = 21;
  sol[3309] = 30;
  sol[3310] = 0;
  sol[3311] = 24;
  sol[3312] = 6;
  sol[3313] = 45;
  sol[3314] = 12;
  sol[3315] = 12;
  sol[3316] = 18;
  sol[3317] = 42;
  sol[3318] = 12;
  sol[3319] = 18;
  sol[3320] = 0;
  sol[3321] = 39;
  sol[3322] = 30;
  sol[3323] = 33;
  sol[3324] = 12;
  sol[3325] = 54;
  sol[3326] = 0;
  sol[3327] = 12;
  sol[3328] = 0;
  sol[3329] = 12;
  sol[3330] = 18;
  sol[3331] = 36;
  sol[3332] = 9;
  sol[3333] = 30;
  sol[3334] = 9;
  sol[3335] = 24;
  sol[3336] = 9;
  sol[3337] = 60;
  sol[3338] = 12;
  sol[3339] = 30;
  sol[3340] = 12;
  sol[3341] = 12;
  sol[3342] = 0;
  sol[3343] = 42;
  sol[3344] = 9;
  sol[3345] = 42;
  sol[3346] = 18;
  sol[3347] = 45;
  sol[3348] = 24;
  sol[3349] = 42;
  sol[3350] = 6;
  sol[3351] = 12;
  sol[3352] = 9;
  sol[3353] = 24;
  sol[3354] = 6;
  sol[3355] = 30;
  sol[3356] = 12;
  sol[3357] = 42;
  sol[3358] = 0;
  sol[3359] = 30;
  sol[3360] = 6;
  sol[3361] = 15;
  sol[3362] = 15;
  sol[3363] = 30;
  sol[3364] = 12;
  sol[3365] = 18;
  sol[3366] = 12;
  sol[3367] = 54;
  sol[3368] = 6;
  sol[3369] = 21;
  sol[3370] = 30;
  sol[3371] = 12;
  sol[3372] = 33;
  sol[3373] = 60;
  sol[3374] = 0;
  sol[3375] = 48;
  sol[3376] = 0;
  sol[3377] = 30;
  sol[3378] = 15;
  sol[3379] = 42;
  sol[3380] = 6;
  sol[3381] = 24;
  sol[3382] = 24;
  sol[3383] = 30;
  sol[3384] = 0;
  sol[3385] = 36;
  sol[3386] = 18;
  sol[3387] = 33;
  sol[3388] = 18;
  sol[3389] = 12;
  sol[3390] = 0;
  sol[3391] = 60;
  sol[3392] = 0;
  sol[3393] = 72;
  sol[3394] = 15;
  sol[3395] = 12;
  sol[3396] = 9;
  sol[3397] = 30;
  sol[3398] = 12;
  sol[3399] = 24;
  sol[3400] = 15;
  sol[3401] = 21;
  sol[3402] = 24;
  sol[3403] = 51;
  sol[3404] = 12;
  sol[3405] = 24;
  sol[3406] = 0;
  sol[3407] = 24;
  sol[3408] = 6;
  sol[3409] = 12;
  sol[3410] = 6;
  sol[3411] = 33;
  sol[3412] = 24;
  sol[3413] = 36;
  sol[3414] = 9;
  sol[3415] = 54;
  sol[3416] = 6;
  sol[3417] = 27;
  sol[3418] = 24;
  sol[3419] = 30;
  sol[3420] = 6;
  sol[3421] = 48;
  sol[3422] = 0;
  sol[3423] = 24;
  sol[3424] = 3;
  sol[3425] = 36;
  sol[3426] = 27;
  sol[3427] = 42;
  sol[3428] = 15;
  sol[3429] = 18;
  sol[3430] = 18;
  sol[3431] = 12;
  sol[3432] = 6;
  sol[3433] = 54;
  sol[3434] = 6;
  sol[3435] = 30;
  sol[3436] = 15;
  sol[3437] = 36;
  sol[3438] = 0;
  sol[3439] = 12;
  sol[3440] = 12;
  sol[3441] = 18;
  sol[3442] = 24;
  sol[3443] = 21;
  sol[3444] = 18;
  sol[3445] = 30;
  sol[3446] = 3;
  sol[3447] = 60;
  sol[3448] = 0;
  sol[3449] = 33;
  sol[3450] = 12;
  sol[3451] = 36;
  sol[3452] = 18;
  sol[3453] = 48;
  sol[3454] = 0;
  sol[3455] = 24;
  sol[3456] = 1;
  sol[3457] = 39;
  sol[3458] = 12;
  sol[3459] = 24;
  sol[3460] = 18;
  sol[3461] = 24;
  sol[3462] = 9;
  sol[3463] = 66;
  sol[3464] = 6;
  sol[3465] = 48;
  sol[3466] = 24;
  sol[3467] = 12;
  sol[3468] = 12;
  sol[3469] = 42;
  sol[3470] = 0;
  sol[3471] = 24;
  sol[3472] = 6;
  sol[3473] = 18;
  sol[3474] = 12;
  sol[3475] = 63;
  sol[3476] = 6;
  sol[3477] = 36;
  sol[3478] = 24;
  sol[3479] = 18;
  sol[3480] = 0;
  sol[3481] = 39;
  sol[3482] = 12;
  sol[3483] = 39;
  sol[3484] = 24;
  sol[3485] = 24;
  sol[3486] = 0;
  sol[3487] = 54;
  sol[3488] = 6;
  sol[3489] = 15;
  sol[3490] = 24;
  sol[3491] = 15;
  sol[3492] = 24;
  sol[3493] = 48;
  sol[3494] = 3;
  sol[3495] = 36;
  sol[3496] = 12;
  sol[3497] = 12;
  sol[3498] = 24;
  sol[3499] = 39;
  sol[3500] = 18;
  sol[3501] = 36;
  sol[3502] = 0;
  sol[3503] = 42;
  sol[3504] = 6;
  sol[3505] = 42;
  sol[3506] = 6;
  sol[3507] = 60;
  sol[3508] = 24;
  sol[3509] = 12;
  sol[3510] = 18;
  sol[3511] = 18;
  sol[3512] = 0;
  sol[3513] = 45;
  sol[3514] = 6;
  sol[3515] = 6;
  sol[3516] = 6;
  sol[3517] = 72;
  sol[3518] = 0;
  sol[3519] = 30;
  sol[3520] = 6;
  sol[3521] = 24;
  sol[3522] = 9;
  sol[3523] = 36;
  sol[3524] = 12;
  sol[3525] = 24;
  sol[3526] = 9;
  sol[3527] = 30;
  sol[3528] = 15;
  sol[3529] = 36;
  sol[3530] = 18;
  sol[3531] = 33;
  sol[3532] = 24;
  sol[3533] = 6;
  sol[3534] = 0;
  sol[3535] = 54;
  sol[3536] = 0;
  sol[3537] = 33;
  sol[3538] = 36;
  sol[3539] = 18;
  sol[3540] = 24;
  sol[3541] = 36;
  sol[3542] = 6;
  sol[3543] = 18;
  sol[3544] = 6;
  sol[3545] = 24;
  sol[3546] = 18;
  sol[3547] = 75;
  sol[3548] = 6;
  sol[3549] = 18;
  sol[3550] = 0;
  sol[3551] = 18;
  sol[3552] = 0;
  sol[3553] = 48;
  sol[3554] = 9;
  sol[3555] = 36;
  sol[3556] = 18;
  sol[3557] = 42;
  sol[3558] = 9;
  sol[3559] = 30;
  sol[3560] = 0;
  sol[3561] = 27;
  sol[3562] = 36;
  sol[3563] = 24;
  sol[3564] = 15;
  sol[3565] = 42;
  sol[3566] = 0;
  sol[3567] = 42;
  sol[3568] = 18;
  sol[3569] = 36;
  sol[3570] = 12;
  sol[3571] = 18;
  sol[3572] = 12;
  sol[3573] = 72;
  sol[3574] = 9;
  sol[3575] = 24;
  sol[3576] = 0;
  sol[3577] = 54;
  sol[3578] = 18;
  sol[3579] = 21;
  sol[3580] = 24;
  sol[3581] = 12;
  sol[3582] = 0;
  sol[3583] = 60;
  sol[3584] = 0;
  sol[3585] = 24;
  sol[3586] = 24;
  sol[3587] = 39;
  sol[3588] = 12;
  sol[3589] = 42;
  sol[3590] = 18;
  sol[3591] = 30;
  sol[3592] = 6;
  sol[3593] = 9;
  sol[3594] = 12;
  sol[3595] = 48;
  sol[3596] = 12;
  sol[3597] = 30;
  sol[3598] = 0;
  sol[3599] = 18;
  sol[3600] = 12;
  sol[3601] = 36;
  sol[3602] = 15;
  sol[3603] = 48;
  sol[3604] = 18;
  sol[3605] = 18;
  sol[3606] = 3;
  sol[3607] = 42;
  sol[3608] = 6;
  sol[3609] = 42;
  sol[3610] = 18;
  sol[3611] = 18;
  sol[3612] = 24;
  sol[3613] = 54;
  sol[3614] = 0;
  sol[3615] = 36;
  sol[3616] = 0;
  sol[3617] = 24;
  sol[3618] = 36;
  sol[3619] = 42;
  sol[3620] = 0;
  sol[3621] = 12;
  sol[3622] = 27;
  sol[3623] = 30;
  sol[3624] = 6;
  sol[3625] = 60;
  sol[3626] = 6;
  sol[3627] = 30;
  sol[3628] = 24;
  sol[3629] = 12;
  sol[3630] = 0;
  sol[3631] = 36;
  sol[3632] = 3;
  sol[3633] = 42;
  sol[3634] = 12;
  sol[3635] = 18;
  sol[3636] = 12;
  sol[3637] = 36;
  sol[3638] = 9;
  sol[3639] = 30;
  sol[3640] = 0;
  sol[3641] = 15;
  sol[3642] = 18;
  sol[3643] = 33;
  sol[3644] = 12;
  sol[3645] = 54;
  sol[3646] = 0;
  sol[3647] = 30;
  sol[3648] = 6;
  sol[3649] = 33;
  sol[3650] = 21;
  sol[3651] = 27;
  sol[3652] = 30;
  sol[3653] = 42;
  sol[3654] = 12;
  sol[3655] = 54;
  sol[3656] = 9;
  sol[3657] = 42;
  sol[3658] = 24;
  sol[3659] = 27;
  sol[3660] = 6;
  sol[3661] = 36;
  sol[3662] = 0;
  sol[3663] = 24;
  sol[3664] = 12;
  sol[3665] = 24;
  sol[3666] = 12;
  sol[3667] = 45;
  sol[3668] = 24;
  sol[3669] = 12;
  sol[3670] = 6;
  sol[3671] = 30;
  sol[3672] = 12;
  sol[3673] = 69;
  sol[3674] = 12;
  sol[3675] = 42;
  sol[3676] = 12;
  sol[3677] = 30;
  sol[3678] = 0;
  sol[3679] = 24;
  sol[3680] = 0;
  sol[3681] = 42;
  sol[3682] = 18;
  sol[3683] = 24;
  sol[3684] = 15;
  sol[3685] = 60;
  sol[3686] = 9;
  sol[3687] = 48;
  sol[3688] = 18;
  sol[3689] = 18;
  sol[3690] = 24;
  sol[3691] = 27;
  sol[3692] = 12;
  sol[3693] = 36;
  sol[3694] = 0;
  sol[3695] = 30;
  sol[3696] = 0;
  sol[3697] = 54;
  sol[3698] = 9;
  sol[3699] = 30;
  sol[3700] = 18;
  sol[3701] = 24;
  sol[3702] = 15;
  sol[3703] = 48;
  sol[3704] = 0;
  sol[3705] = 24;
  sol[3706] = 24;
  sol[3707] = 45;
  sol[3708] = 24;
  sol[3709] = 24;
  sol[3710] = 0;
  sol[3711] = 18;
  sol[3712] = 6;
  sol[3713] = 36;
  sol[3714] = 9;
  sol[3715] = 54;
  sol[3716] = 15;
  sol[3717] = 24;
  sol[3718] = 12;
  sol[3719] = 12;
  sol[3720] = 6;
  sol[3721] = 18;
  sol[3722] = 12;
  sol[3723] = 54;
  sol[3724] = 18;
  sol[3725] = 12;
  sol[3726] = 0;
  sol[3727] = 60;
  sol[3728] = 3;
  sol[3729] = 48;
  sol[3730] = 30;
  sol[3731] = 12;
  sol[3732] = 18;
  sol[3733] = 60;
  sol[3734] = 6;
  sol[3735] = 24;
  sol[3736] = 3;
  sol[3737] = 36;
  sol[3738] = 12;
  sol[3739] = 33;
  sol[3740] = 12;
  sol[3741] = 36;
  sol[3742] = 0;
  sol[3743] = 36;
  sol[3744] = 6;
  sol[3745] = 36;
  sol[3746] = 3;
  sol[3747] = 33;
  sol[3748] = 24;
  sol[3749] = 12;
  sol[3750] = 13;
  sol[3751] = 42;
  sol[3752] = 12;
  sol[3753] = 27;
  sol[3754] = 18;
  sol[3755] = 30;
  sol[3756] = 12;
  sol[3757] = 54;
  sol[3758] = 0;
  sol[3759] = 30;
  sol[3760] = 12;
  sol[3761] = 21;
  sol[3762] = 39;
  sol[3763] = 54;
  sol[3764] = 6;
  sol[3765] = 54;
  sol[3766] = 18;
  sol[3767] = 18;
  sol[3768] = 0;
  sol[3769] = 33;
  sol[3770] = 12;
  sol[3771] = 36;
  sol[3772] = 36;
  sol[3773] = 36;
  sol[3774] = 0;
  sol[3775] = 30;
  sol[3776] = 0;
  sol[3777] = 42;
  sol[3778] = 33;
  sol[3779] = 18;
  sol[3780] = 18;
  sol[3781] = 36;
  sol[3782] = 12;
  sol[3783] = 30;
  sol[3784] = 3;
  sol[3785] = 30;
  sol[3786] = 12;
  sol[3787] = 66;
  sol[3788] = 6;
  sol[3789] = 30;
  sol[3790] = 0;
  sol[3791] = 18;
  sol[3792] = 12;
  sol[3793] = 63;
  sol[3794] = 18;
  sol[3795] = 24;
  sol[3796] = 6;
  sol[3797] = 30;
  sol[3798] = 12;
  sol[3799] = 48;
  sol[3800] = 9;
  sol[3801] = 6;
  sol[3802] = 24;
  sol[3803] = 30;
  sol[3804] = 12;
  sol[3805] = 42;
  sol[3806] = 0;
  sol[3807] = 72;
  sol[3808] = 0;
  sol[3809] = 30;
  sol[3810] = 12;
  sol[3811] = 48;
  sol[3812] = 3;
  sol[3813] = 24;
  sol[3814] = 15;
  sol[3815] = 12;
  sol[3816] = 12;
  sol[3817] = 66;
  sol[3818] = 18;
  sol[3819] = 9;
  sol[3820] = 36;
  sol[3821] = 12;
  sol[3822] = 0;
  sol[3823] = 54;
  sol[3824] = 0;
  sol[3825] = 54;
  sol[3826] = 18;
  sol[3827] = 15;
  sol[3828] = 30;
  sol[3829] = 36;
  sol[3830] = 6;
  sol[3831] = 12;
  sol[3832] = 0;
  sol[3833] = 21;
  sol[3834] = 18;
  sol[3835] = 54;
  sol[3836] = 12;
  sol[3837] = 30;
  sol[3838] = 0;
  sol[3839] = 6;
  sol[3840] = 0;
  sol[3841] = 36;
  sol[3842] = 15;
  sol[3843] = 60;
  sol[3844] = 18;
  sol[3845] = 18;
  sol[3846] = 15;
  sol[3847] = 48;
  sol[3848] = 6;
  sol[3849] = 27;
  sol[3850] = 24;
  sol[3851] = 21;
  sol[3852] = 12;
  sol[3853] = 54;
  sol[3854] = 0;
  sol[3855] = 54;
  sol[3856] = 9;
  sol[3857] = 12;
  sol[3858] = 24;
  sol[3859] = 48;
  sol[3860] = 12;
  sol[3861] = 48;
  sol[3862] = 15;
  sol[3863] = 54;
  sol[3864] = 6;
  sol[3865] = 36;
  sol[3866] = 6;
  sol[3867] = 39;
  sol[3868] = 24;
  sol[3869] = 24;
  sol[3870] = 0;
  sol[3871] = 24;
  sol[3872] = 3;
  sol[3873] = 33;
  sol[3874] = 24;
  sol[3875] = 18;
  sol[3876] = 18;
  sol[3877] = 66;
  sol[3878] = 12;
  sol[3879] = 18;
  sol[3880] = 12;
  sol[3881] = 30;
  sol[3882] = 12;
  sol[3883] = 75;
  sol[3884] = 15;
  sol[3885] = 36;
  sol[3886] = 0;
  sol[3887] = 30;
  sol[3888] = 9;
  sol[3889] = 24;
  sol[3890] = 6;
  sol[3891] = 21;
  sol[3892] = 24;
  sol[3893] = 24;
  sol[3894] = 12;
  sol[3895] = 60;
  sol[3896] = 0;
  sol[3897] = 66;
  sol[3898] = 36;
  sol[3899] = 12;
  sol[3900] = 18;
  sol[3901] = 36;
  sol[3902] = 0;
  sol[3903] = 24;
  sol[3904] = 6;
  sol[3905] = 30;
  sol[3906] = 18;
  sol[3907] = 39;
  sol[3908] = 18;
  sol[3909] = 30;
  sol[3910] = 12;
  sol[3911] = 24;
  sol[3912] = 9;
  sol[3913] = 30;
  sol[3914] = 6;
  sol[3915] = 36;
  sol[3916] = 18;
  sol[3917] = 18;
  sol[3918] = 0;
  sol[3919] = 54;
  sol[3920] = 12;
  sol[3921] = 33;
  sol[3922] = 24;
  sol[3923] = 36;
  sol[3924] = 6;
  sol[3925] = 66;
  sol[3926] = 0;
  sol[3927] = 30;
  sol[3928] = 6;
  sol[3929] = 12;
  sol[3930] = 12;
  sol[3931] = 33;
  sol[3932] = 24;
  sol[3933] = 54;
  sol[3934] = 0;
  sol[3935] = 18;
  sol[3936] = 3;
  sol[3937] = 60;
  sol[3938] = 3;
  sol[3939] = 30;
  sol[3940] = 24;
  sol[3941] = 24;
  sol[3942] = 21;
  sol[3943] = 48;
  sol[3944] = 0;
  sol[3945] = 18;
  sol[3946] = 30;
  sol[3947] = 51;
  sol[3948] = 12;
  sol[3949] = 18;
  sol[3950] = 0;
  sol[3951] = 30;
  sol[3952] = 12;
  sol[3953] = 33;
  sol[3954] = 15;
  sol[3955] = 18;
  sol[3956] = 12;
  sol[3957] = 30;
  sol[3958] = 27;
  sol[3959] = 24;
  sol[3960] = 0;
  sol[3961] = 48;
  sol[3962] = 12;
  sol[3963] = 45;
  sol[3964] = 6;
  sol[3965] = 30;
  sol[3966] = 0;
  sol[3967] = 72;
  sol[3968] = 0;
  sol[3969] = 51;
  sol[3970] = 18;
  sol[3971] = 27;
  sol[3972] = 27;
  sol[3973] = 54;
  sol[3974] = 9;
  sol[3975] = 48;
  sol[3976] = 12;
  sol[3977] = 27;
  sol[3978] = 30;
  sol[3979] = 36;
  sol[3980] = 18;
  sol[3981] = 18;
  sol[3982] = 0;
  sol[3983] = 42;
  sol[3984] = 3;
  sol[3985] = 36;
  sol[3986] = 9;
  sol[3987] = 45;
  sol[3988] = 30;
  sol[3989] = 6;
  sol[3990] = 6;
  sol[3991] = 36;
  sol[3992] = 3;
  sol[3993] = 51;
  sol[3994] = 24;
  sol[3995] = 24;
  sol[3996] = 18;
  sol[3997] = 72;
  sol[3998] = 0;
  sol[3999] = 18;
  sol[4000] = 6;
  sol[4001] = 9;
  sol[4002] = 36;
  sol[4003] = 42;
  sol[4004] = 0;
  sol[4005] = 36;
  sol[4006] = 9;
  sol[4007] = 30;
  sol[4008] = 12;
  sol[4009] = 60;
  sol[4010] = 30;
  sol[4011] = 24;
  sol[4012] = 15;
  sol[4013] = 24;
  sol[4014] = 0;
  sol[4015] = 36;
  sol[4016] = 6;
  sol[4017] = 30;
  sol[4018] = 27;
  sol[4019] = 27;
  sol[4020] = 18;
  sol[4021] = 42;
  sol[4022] = 12;
  sol[4023] = 48;
  sol[4024] = 0;
  sol[4025] = 42;
  sol[4026] = 0;
  sol[4027] = 33;
  sol[4028] = 24;
  sol[4029] = 24;
  sol[4030] = 0;
  sol[4031] = 30;
  sol[4032] = 0;
  sol[4033] = 42;
  sol[4034] = 12;
  sol[4035] = 48;
  sol[4036] = 9;
  sol[4037] = 36;
  sol[4038] = 9;
  sol[4039] = 24;
  sol[4040] = 6;
  sol[4041] = 27;
  sol[4042] = 36;
  sol[4043] = 12;
  sol[4044] = 9;
  sol[4045] = 60;
  sol[4046] = 0;
  sol[4047] = 30;
  sol[4048] = 12;
  sol[4049] = 15;
  sol[4050] = 18;
  sol[4051] = 42;
  sol[4052] = 18;
  sol[4053] = 36;
  sol[4054] = 18;
  sol[4055] = 24;
  sol[4056] = 7;
  sol[4057] = 48;
  sol[4058] = 12;
  sol[4059] = 54;
  sol[4060] = 24;
  sol[4061] = 30;
  sol[4062] = 0;
  sol[4063] = 78;
  sol[4064] = 0;
  sol[4065] = 18;
  sol[4066] = 18;
  sol[4067] = 27;
  sol[4068] = 24;
  sol[4069] = 24;
  sol[4070] = 6;
  sol[4071] = 30;
  sol[4072] = 12;
  sol[4073] = 33;
  sol[4074] = 18;
  sol[4075] = 60;
  sol[4076] = 15;
  sol[4077] = 54;
  sol[4078] = 0;
  sol[4079] = 12;
  sol[4080] = 12;
  sol[4081] = 36;
  sol[4082] = 12;
  sol[4083] = 36;
  sol[4084] = 24;
  sol[4085] = 30;
  sol[4086] = 18;
  sol[4087] = 54;
  sol[4088] = 0;
  sol[4089] = 18;
  sol[4090] = 18;
  sol[4091] = 18;
  sol[4092] = 24;
  sol[4093] = 84;
  sol[4094] = 0;
  sol[4095] = 54;
  sol[4096] = 0;
  sol[4097] = 27;
  sol[4098] = 15;
  sol[4099] = 42;
  sol[4100] = 6;
  sol[4101] = 36;
  sol[4102] = 12;
  sol[4103] = 18;
  sol[4104] = 9;
  sol[4105] = 54;
  sol[4106] = 6;
  sol[4107] = 30;
  sol[4108] = 30;
  sol[4109] = 24;
  sol[4110] = 0;
  sol[4111] = 30;
  sol[4112] = 9;
  sol[4113] = 60;
  sol[4114] = 30;
  sol[4115] = 36;
  sol[4116] = 6;
  sol[4117] = 42;
  sol[4118] = 12;
  sol[4119] = 30;
  sol[4120] = 6;
  sol[4121] = 6;
  sol[4122] = 30;
  sol[4123] = 60;
  sol[4124] = 0;
  sol[4125] = 18;
  sol[4126] = 0;
  sol[4127] = 24;
  sol[4128] = 9;
  sol[4129] = 51;
  sol[4130] = 18;
  sol[4131] = 24;
  sol[4132] = 33;
  sol[4133] = 30;
  sol[4134] = 0;
  sol[4135] = 42;
  sol[4136] = 12;
  sol[4137] = 60;
  sol[4138] = 18;
  sol[4139] = 18;
  sol[4140] = 36;
  sol[4141] = 18;
  sol[4142] = 0;
  sol[4143] = 24;
  sol[4144] = 0;
  sol[4145] = 18;
  sol[4146] = 9;
  sol[4147] = 78;
  sol[4148] = 12;
  sol[4149] = 48;
  sol[4150] = 24;
  sol[4151] = 12;
  sol[4152] = 0;
  sol[4153] = 48;
  sol[4154] = 6;
  sol[4155] = 12;
  sol[4156] = 18;
  sol[4157] = 42;
  sol[4158] = 0;
  sol[4159] = 48;
  sol[4160] = 0;
  sol[4161] = 30;
  sol[4162] = 27;
  sol[4163] = 18;
  sol[4164] = 6;
  sol[4165] = 48;
  sol[4166] = 3;
  sol[4167] = 66;
  sol[4168] = 21;
  sol[4169] = 18;
  sol[4170] = 18;
  sol[4171] = 33;
  sol[4172] = 12;
  sol[4173] = 48;
  sol[4174] = 0;
  sol[4175] = 30;
  sol[4176] = 6;
  sol[4177] = 63;
  sol[4178] = 21;
  sol[4179] = 18;
  sol[4180] = 36;
  sol[4181] = 24;
  sol[4182] = 15;
  sol[4183] = 60;
  sol[4184] = 6;
  sol[4185] = 36;
  sol[4186] = 30;
  sol[4187] = 36;
  sol[4188] = 0;
  sol[4189] = 48;
  sol[4190] = 0;
  sol[4191] = 48;
  sol[4192] = 3;
  sol[4193] = 36;
  sol[4194] = 30;
  sol[4195] = 42;
  sol[4196] = 18;
  sol[4197] = 24;
  sol[4198] = 24;
  sol[4199] = 12;
  sol[4200] = 6;
  sol[4201] = 21;
  sol[4202] = 6;
  sol[4203] = 72;
  sol[4204] = 12;
  sol[4205] = 36;
  sol[4206] = 0;
  sol[4207] = 60;
  sol[4208] = 6;
  sol[4209] = 12;
  sol[4210] = 18;
  sol[4211] = 15;
  sol[4212] = 24;
  sol[4213] = 60;
  sol[4214] = 9;
  sol[4215] = 30;
  sol[4216] = 0;
  sol[4217] = 39;
  sol[4218] = 30;
  sol[4219] = 54;
  sol[4220] = 12;
  sol[4221] = 18;
  sol[4222] = 0;
  sol[4223] = 18;
  sol[4224] = 3;
  sol[4225] = 60;
  sol[4226] = 9;
  sol[4227] = 57;
  sol[4228] = 24;
  sol[4229] = 6;
  sol[4230] = 18;
  sol[4231] = 48;
  sol[4232] = 6;
  sol[4233] = 60;
  sol[4234] = 18;
  sol[4235] = 18;
  sol[4236] = 9;
  sol[4237] = 48;
  sol[4238] = 0;
  sol[4239] = 24;
  sol[4240] = 12;
  sol[4241] = 18;
  sol[4242] = 18;
  sol[4243] = 39;
  sol[4244] = 6;
  sol[4245] = 42;
  sol[4246] = 15;
  sol[4247] = 36;
  sol[4248] = 6;
  sol[4249] = 36;
  sol[4250] = 18;
  sol[4251] = 18;
  sol[4252] = 30;
  sol[4253] = 18;
  sol[4254] = 0;
  sol[4255] = 42;
  sol[4256] = 6;
  sol[4257] = 39;
  sol[4258] = 27;
  sol[4259] = 27;
  sol[4260] = 18;
  sol[4261] = 48;
  sol[4262] = 12;
  sol[4263] = 42;
  sol[4264] = 12;
  sol[4265] = 24;
  sol[4266] = 18;
  sol[4267] = 27;
  sol[4268] = 9;
  sol[4269] = 30;
  sol[4270] = 0;
  sol[4271] = 24;
  sol[4272] = 9;
  sol[4273] = 81;
  sol[4274] = 12;
  sol[4275] = 72;
  sol[4276] = 12;
  sol[4277] = 30;
  sol[4278] = 6;
  sol[4279] = 36;
  sol[4280] = 0;
  sol[4281] = 33;
  sol[4282] = 42;
  sol[4283] = 39;
  sol[4284] = 30;
  sol[4285] = 42;
  sol[4286] = 0;
  sol[4287] = 12;
  sol[4288] = 3;
  sol[4289] = 12;
  sol[4290] = 6;
  sol[4291] = 24;
  sol[4292] = 18;
  sol[4293] = 48;
  sol[4294] = 12;
  sol[4295] = 48;
  sol[4296] = 3;
  sol[4297] = 63;
  sol[4298] = 24;
  sol[4299] = 24;
  sol[4300] = 27;
  sol[4301] = 30;
  sol[4302] = 0;
  sol[4303] = 78;
  sol[4304] = 6;
  sol[4305] = 36;
  sol[4306] = 18;
  sol[4307] = 36;
  sol[4308] = 30;
  sol[4309] = 30;
  sol[4310] = 12;
  sol[4311] = 36;
  sol[4312] = 12;
  sol[4313] = 30;
  sol[4314] = 6;
  sol[4315] = 60;
  sol[4316] = 12;
  sol[4317] = 48;
  sol[4318] = 0;
  sol[4319] = 24;
  sol[4320] = 0;
  sol[4321] = 36;
  sol[4322] = 21;
  sol[4323] = 30;
  sol[4324] = 24;
  sol[4325] = 30;
  sol[4326] = 12;
  sol[4327] = 48;
  sol[4328] = 0;
  sol[4329] = 36;
  sol[4330] = 12;
  sol[4331] = 24;
  sol[4332] = 27;
  sol[4333] = 36;
  sol[4334] = 0;
  sol[4335] = 42;
  sol[4336] = 12;
  sol[4337] = 27;
  sol[4338] = 24;
  sol[4339] = 54;
  sol[4340] = 6;
  sol[4341] = 18;
  sol[4342] = 12;
  sol[4343] = 48;
  sol[4344] = 0;
  sol[4345] = 30;
  sol[4346] = 6;
  sol[4347] = 72;
  sol[4348] = 24;
  sol[4349] = 12;
  sol[4350] = 0;
  sol[4351] = 30;
  sol[4352] = 3;
  sol[4353] = 45;
  sol[4354] = 24;
  sol[4355] = 0;
  sol[4356] = 18;
  sol[4357] = 78;
  sol[4358] = 15;
  sol[4359] = 18;
  sol[4360] = 18;
  sol[4361] = 39;
  sol[4362] = 18;
  sol[4363] = 39;
  sol[4364] = 9;
  sol[4365] = 36;
  sol[4366] = 0;
  sol[4367] = 24;
  sol[4368] = 6;
  sol[4369] = 39;
  sol[4370] = 12;
  sol[4371] = 30;
  sol[4372] = 18;
  sol[4373] = 30;
  sol[4374] = 16;
  sol[4375] = 48;
  sol[4376] = 0;
  sol[4377] = 36;
  sol[4378] = 30;
  sol[4379] = 12;
  sol[4380] = 12;
  sol[4381] = 60;
  sol[4382] = 0;
  sol[4383] = 42;
  sol[4384] = 3;
  sol[4385] = 24;
  sol[4386] = 21;
  sol[4387] = 84;
  sol[4388] = 33;
  sol[4389] = 30;
  sol[4390] = 12;
  sol[4391] = 18;
  sol[4392] = 18;
  sol[4393] = 48;
  sol[4394] = 12;
  sol[4395] = 36;
  sol[4396] = 12;
  sol[4397] = 30;
  sol[4398] = 0;
  sol[4399] = 48;
  sol[4400] = 9;
  sol[4401] = 42;
  sol[4402] = 36;
  sol[4403] = 42;
  sol[4404] = 6;
  sol[4405] = 48;
  sol[4406] = 3;
  sol[4407] = 42;
  sol[4408] = 0;
  sol[4409] = 33;
  sol[4410] = 24;
  sol[4411] = 30;
  sol[4412] = 12;
  sol[4413] = 36;
  sol[4414] = 0;
  sol[4415] = 36;
  sol[4416] = 6;
  sol[4417] = 54;
  sol[4418] = 12;
  sol[4419] = 30;
  sol[4420] = 30;
  sol[4421] = 6;
  sol[4422] = 21;
  sol[4423] = 66;
  sol[4424] = 0;
  sol[4425] = 39;
  sol[4426] = 24;
  sol[4427] = 36;
  sol[4428] = 24;
  sol[4429] = 36;
  sol[4430] = 0;
  sol[4431] = 24;
  sol[4432] = 12;
  sol[4433] = 30;
  sol[4434] = 15;
  sol[4435] = 54;
  sol[4436] = 12;
  sol[4437] = 78;
  sol[4438] = 30;
  sol[4439] = 6;
  sol[4440] = 0;
  sol[4441] = 33;
  sol[4442] = 12;
  sol[4443] = 27;
  sol[4444] = 30;
  sol[4445] = 30;
  sol[4446] = 0;
  sol[4447] = 36;
  sol[4448] = 6;
  sol[4449] = 18;
  sol[4450] = 36;
  sol[4451] = 36;
  sol[4452] = 6;
  sol[4453] = 66;
  sol[4454] = 3;
  sol[4455] = 60;
  sol[4456] = 6;
  sol[4457] = 18;
  sol[4458] = 30;
  sol[4459] = 42;
  sol[4460] = 0;
  sol[4461] = 12;
  sol[4462] = 0;
  sol[4463] = 36;
  sol[4464] = 6;
  sol[4465] = 54;
  sol[4466] = 6;
  sol[4467] = 33;
  sol[4468] = 24;
  sol[4469] = 24;
  sol[4470] = 12;
  sol[4471] = 54;
  sol[4472] = 0;
  sol[4473] = 42;
  sol[4474] = 12;
  sol[4475] = 15;
  sol[4476] = 12;
  sol[4477] = 60;
  sol[4478] = 0;
  sol[4479] = 30;
  sol[4480] = 0;
  sol[4481] = 21;
  sol[4482] = 18;
  sol[4483] = 75;
  sol[4484] = 18;
  sol[4485] = 48;
  sol[4486] = 18;
  sol[4487] = 18;
  sol[4488] = 15;
  sol[4489] = 30;
  sol[4490] = 24;
  sol[4491] = 42;
  sol[4492] = 33;
  sol[4493] = 36;
  sol[4494] = 0;
  sol[4495] = 30;
  sol[4496] = 6;
  sol[4497] = 45;
  sol[4498] = 24;
  sol[4499] = 9;
  sol[4500] = 30;
  sol[4501] = 36;
  sol[4502] = 3;
  sol[4503] = 54;
  sol[4504] = 15;
  sol[4505] = 24;
  sol[4506] = 18;
  sol[4507] = 63;
  sol[4508] = 18;
  sol[4509] = 42;
  sol[4510] = 0;
  sol[4511] = 24;
  sol[4512] = 0;
  sol[4513] = 75;
  sol[4514] = 6;
  sol[4515] = 30;
  sol[4516] = 9;
  sol[4517] = 30;
  sol[4518] = 15;
  sol[4519] = 42;
  sol[4520] = 12;
  sol[4521] = 33;
  sol[4522] = 36;
  sol[4523] = 21;
  sol[4524] = 24;
  sol[4525] = 60;
  sol[4526] = 0;
  sol[4527] = 54;
  sol[4528] = 9;
  sol[4529] = 30;
  sol[4530] = 30;
  sol[4531] = 48;
  sol[4532] = 12;
  sol[4533] = 18;
  sol[4534] = 12;
  sol[4535] = 24;
  sol[4536] = 0;
  sol[4537] = 66;
  sol[4538] = 12;
  sol[4539] = 24;
  sol[4540] = 18;
  sol[4541] = 36;
  sol[4542] = 0;
  sol[4543] = 72;
  sol[4544] = 6;
  sol[4545] = 36;
  sol[4546] = 15;
  sol[4547] = 27;
  sol[4548] = 27;
  sol[4549] = 30;
  sol[4550] = 6;
  sol[4551] = 12;
  sol[4552] = 18;
  sol[4553] = 24;
  sol[4554] = 6;
  sol[4555] = 78;
  sol[4556] = 15;
  sol[4557] = 42;
  sol[4558] = 0;
  sol[4559] = 12;
  sol[4560] = 6;
  sol[4561] = 27;
  sol[4562] = 24;
  sol[4563] = 51;
  sol[4564] = 18;
  sol[4565] = 36;
  sol[4566] = 12;
  sol[4567] = 60;
  sol[4568] = 3;
  sol[4569] = 51;
  sol[4570] = 30;
  sol[4571] = 12;
  sol[4572] = 24;
  sol[4573] = 36;
  sol[4574] = 0;
  sol[4575] = 30;
  sol[4576] = 0;
  sol[4577] = 48;
  sol[4578] = 12;
  sol[4579] = 21;
  sol[4580] = 6;
  sol[4581] = 36;
  sol[4582] = 24;
  sol[4583] = 54;
  sol[4584] = 6;
  sol[4585] = 42;
  sol[4586] = 6;
  sol[4587] = 36;
  sol[4588] = 36;
  sol[4589] = 6;
  sol[4590] = 0;
  sol[4591] = 54;
  sol[4592] = 12;
  sol[4593] = 27;
  sol[4594] = 15;
  sol[4595] = 18;
  sol[4596] = 18;
  sol[4597] = 66;
  sol[4598] = 6;
  sol[4599] = 42;
  sol[4600] = 0;
  sol[4601] = 15;
  sol[4602] = 30;
  sol[4603] = 63;
  sol[4604] = 12;
  sol[4605] = 48;
  sol[4606] = 0;
  sol[4607] = 36;
  sol[4608] = 3;
  sol[4609] = 63;
  sol[4610] = 12;
  sol[4611] = 36;
  sol[4612] = 30;
  sol[4613] = 18;
  sol[4614] = 9;
  sol[4615] = 48;
  sol[4616] = 3;
  sol[4617] = 48;
  sol[4618] = 36;
  sol[4619] = 30;
  sol[4620] = 12;
  sol[4621] = 42;
  sol[4622] = 0;
  sol[4623] = 72;
  sol[4624] = 6;
  sol[4625] = 36;
  sol[4626] = 30;
  sol[4627] = 30;
  sol[4628] = 12;
  sol[4629] = 24;
  sol[4630] = 12;
  sol[4631] = 6;
  sol[4632] = 15;
  sol[4633] = 75;
  sol[4634] = 18;
  sol[4635] = 30;
  sol[4636] = 6;
  sol[4637] = 36;
  sol[4638] = 0;
  sol[4639] = 24;
  sol[4640] = 0;
  sol[4641] = 18;
  sol[4642] = 36;
  sol[4643] = 48;
  sol[4644] = 18;
  sol[4645] = 60;
  sol[4646] = 18;
  sol[4647] = 60;
  sol[4648] = 12;
  sol[4649] = 33;
  sol[4650] = 12;
  sol[4651] = 33;
  sol[4652] = 15;
  sol[4653] = 72;
  sol[4654] = 0;
  sol[4655] = 18;
  sol[4656] = 9;
  sol[4657] = 54;
  sol[4658] = 15;
  sol[4659] = 21;
  sol[4660] = 30;
  sol[4661] = 36;
  sol[4662] = 12;
  sol[4663] = 30;
  sol[4664] = 0;
  sol[4665] = 42;
  sol[4666] = 24;
  sol[4667] = 48;
  sol[4668] = 18;
  sol[4669] = 36;
  sol[4670] = 0;
  sol[4671] = 24;
  sol[4672] = 6;
  sol[4673] = 18;
  sol[4674] = 15;
  sol[4675] = 81;
  sol[4676] = 12;
  sol[4677] = 12;
  sol[4678] = 27;
  sol[4679] = 36;
  sol[4680] = 12;
  sol[4681] = 30;
  sol[4682] = 6;
  sol[4683] = 36;
  sol[4684] = 18;
  sol[4685] = 24;
  sol[4686] = 0;
  sol[4687] = 48;
  sol[4688] = 6;
  sol[4689] = 36;
  sol[4690] = 36;
  sol[4691] = 27;
  sol[4692] = 6;
  sol[4693] = 48;
  sol[4694] = 9;
  sol[4695] = 36;
  sol[4696] = 3;
  sol[4697] = 36;
  sol[4698] = 36;
  sol[4699] = 36;
  sol[4700] = 24;
  sol[4701] = 30;
  sol[4702] = 0;
  sol[4703] = 24;
  sol[4704] = 1;
  sol[4705] = 42;
  sol[4706] = 6;
  sol[4707] = 66;
  sol[4708] = 27;
  sol[4709] = 24;
  sol[4710] = 18;
  sol[4711] = 48;
  sol[4712] = 12;
  sol[4713] = 51;
  sol[4714] = 18;
  sol[4715] = 24;
  sol[4716] = 18;
  sol[4717] = 84;
  sol[4718] = 0;
  sol[4719] = 24;
  sol[4720] = 6;
  sol[4721] = 12;
  sol[4722] = 9;
  sol[4723] = 63;
  sol[4724] = 18;
  sol[4725] = 48;
  sol[4726] = 9;
  sol[4727] = 30;
  sol[4728] = 0;
  sol[4729] = 36;
  sol[4730] = 12;
  sol[4731] = 33;
  sol[4732] = 24;
  sol[4733] = 30;
  sol[4734] = 0;
  sol[4735] = 72;
  sol[4736] = 0;
  sol[4737] = 42;
  sol[4738] = 48;
  sol[4739] = 36;
  sol[4740] = 18;
  sol[4741] = 42;
  sol[4742] = 12;
  sol[4743] = 42;
  sol[4744] = 15;
  sol[4745] = 24;
  sol[4746] = 12;
  sol[4747] = 60;
  sol[4748] = 15;
  sol[4749] = 24;
  sol[4750] = 0;
  sol[4751] = 12;
  sol[4752] = 21;
  sol[4753] = 72;
  sol[4754] = 3;
  sol[4755] = 42;
  sol[4756] = 30;
  sol[4757] = 24;
  sol[4758] = 18;
  sol[4759] = 36;
  sol[4760] = 6;
  sol[4761] = 42;
  sol[4762] = 18;
  sol[4763] = 30;
  sol[4764] = 12;
  sol[4765] = 42;
  sol[4766] = 0;
  sol[4767] = 48;
  sol[4768] = 12;
  sol[4769] = 12;
  sol[4770] = 24;
  sol[4771] = 24;
  sol[4772] = 18;
  sol[4773] = 66;
  sol[4774] = 6;
  sol[4775] = 24;
  sol[4776] = 0;
  sol[4777] = 93;
  sol[4778] = 12;
  sol[4779] = 51;
  sol[4780] = 30;
  sol[4781] = 12;
  sol[4782] = 0;
  sol[4783] = 54;
  sol[4784] = 6;
  sol[4785] = 18;
  sol[4786] = 27;
  sol[4787] = 24;
  sol[4788] = 24;
  sol[4789] = 36;
  sol[4790] = 12;
  sol[4791] = 30;
  sol[4792] = 0;
  sol[4793] = 45;
  sol[4794] = 18;
  sol[4795] = 60;
  sol[4796] = 6;
  sol[4797] = 54;
  sol[4798] = 0;
  sol[4799] = 24;
  sol[4800] = 0;
  sol[4801] = 51;
  sol[4802] = 24;
  sol[4803] = 21;
  sol[4804] = 18;
  sol[4805] = 30;
  sol[4806] = 6;
  sol[4807] = 72;
  sol[4808] = 6;
  sol[4809] = 6;
  sol[4810] = 18;
  sol[4811] = 21;
  sol[4812] = 36;
  sol[4813] = 42;
  sol[4814] = 0;
  sol[4815] = 48;
  sol[4816] = 12;
  sol[4817] = 27;
  sol[4818] = 24;
  sol[4819] = 36;
  sol[4820] = 6;
  sol[4821] = 30;
  sol[4822] = 27;
  sol[4823] = 30;
  sol[4824] = 6;
  sol[4825] = 39;
  sol[4826] = 18;
  sol[4827] = 51;
  sol[4828] = 36;
  sol[4829] = 30;
  sol[4830] = 0;
  sol[4831] = 42;
  sol[4832] = 0;
  sol[4833] = 66;
  sol[4834] = 18;
  sol[4835] = 36;
  sol[4836] = 6;
  sol[4837] = 66;
  sol[4838] = 9;
  sol[4839] = 24;
  sol[4840] = 12;
  sol[4841] = 24;
  sol[4842] = 24;
  sol[4843] = 78;
  sol[4844] = 12;
  sol[4845] = 36;
  sol[4846] = 0;
  sol[4847] = 36;
  sol[4848] = 12;
  sol[4849] = 60;
  sol[4850] = 15;
  sol[4851] = 42;
  sol[4852] = 24;
  sol[4853] = 6;
  sol[4854] = 15;
  sol[4855] = 54;
  sol[4856] = 0;
  sol[4857] = 33;
  sol[4858] = 30;
  sol[4859] = 21;
  sol[4860] = 30;
  sol[4861] = 42;
  sol[4862] = 0;
  sol[4863] = 54;
  sol[4864] = 0;
  sol[4865] = 24;
  sol[4866] = 9;
  sol[4867] = 60;
  sol[4868] = 9;
  sol[4869] = 36;
  sol[4870] = 24;
  sol[4871] = 24;
  sol[4872] = 6;
  sol[4873] = 66;
  sol[4874] = 12;
  sol[4875] = 48;
  sol[4876] = 18;
  sol[4877] = 54;
  sol[4878] = 0;
  sol[4879] = 30;
  sol[4880] = 0;
  sol[4881] = 30;
  sol[4882] = 39;
  sol[4883] = 30;
  sol[4884] = 18;
  sol[4885] = 48;
  sol[4886] = 6;
  sol[4887] = 42;
  sol[4888] = 12;
  sol[4889] = 33;
  sol[4890] = 24;
  sol[4891] = 33;
  sol[4892] = 12;
  sol[4893] = 60;
  sol[4894] = 0;
  sol[4895] = 18;
  sol[4896] = 6;
  sol[4897] = 42;
  sol[4898] = 24;
  sol[4899] = 42;
  sol[4900] = 24;
  sol[4901] = 6;
  sol[4902] = 12;
  sol[4903] = 72;
  sol[4904] = 6;
  sol[4905] = 42;
  sol[4906] = 30;
  sol[4907] = 18;
  sol[4908] = 9;
  sol[4909] = 30;
  sol[4910] = 0;
  sol[4911] = 24;
  sol[4912] = 15;
  sol[4913] = 30;
  sol[4914] = 18;
  sol[4915] = 60;
  sol[4916] = 12;
  sol[4917] = 54;
  sol[4918] = 15;
  sol[4919] = 24;
  sol[4920] = 0;
  sol[4921] = 48;
  sol[4922] = 24;
  sol[4923] = 33;
  sol[4924] = 12;
  sol[4925] = 36;
  sol[4926] = 0;
  sol[4927] = 66;
  sol[4928] = 6;
  sol[4929] = 36;
  sol[4930] = 18;
  sol[4931] = 21;
  sol[4932] = 30;
  sol[4933] = 72;
  sol[4934] = 3;
  sol[4935] = 24;
  sol[4936] = 9;
  sol[4937] = 27;
  sol[4938] = 30;
  sol[4939] = 30;
  sol[4940] = 18;
  sol[4941] = 42;
  sol[4942] = 0;
  sol[4943] = 42;
  sol[4944] = 0;
  sol[4945] = 72;
  sol[4946] = 6;
  sol[4947] = 39;
  sol[4948] = 42;
  sol[4949] = 24;
  sol[4950] = 18;
  sol[4951] = 60;
  sol[4952] = 3;
  sol[4953] = 24;
  sol[4954] = 18;
  sol[4955] = 36;
  sol[4956] = 18;
  sol[4957] = 30;
  sol[4958] = 0;
  sol[4959] = 54;
  sol[4960] = 6;
  sol[4961] = 27;
  sol[4962] = 33;
  sol[4963] = 60;
  sol[4964] = 12;
  sol[4965] = 24;
  sol[4966] = 24;
  sol[4967] = 18;
  sol[4968] = 18;
  sol[4969] = 30;
  sol[4970] = 12;
  sol[4971] = 21;
  sol[4972] = 33;
  sol[4973] = 48;
  sol[4974] = 0;
  sol[4975] = 78;
  sol[4976] = 12;
  sol[4977] = 78;
  sol[4978] = 12;
  sol[4979] = 30;
  sol[4980] = 12;
  sol[4981] = 42;
  sol[4982] = 12;
  sol[4983] = 48;
  sol[4984] = 0;
  sol[4985] = 24;
  sol[4986] = 12;
  sol[4987] = 75;
  sol[4988] = 18;
  sol[4989] = 24;
  sol[4990] = 0;
  sol[4991] = 18;
  sol[4992] = 0;
  sol[4993] = 33;
  sol[4994] = 24;
  sol[4995] = 30;
  sol[4996] = 21;
  sol[4997] = 42;
  sol[4998] = 15;
  sol[4999] = 30;
  sol[5000] = 12;
  sol[5001] = 39;
  sol[5002] = 30;
  sol[5003] = 51;
  sol[5004] = 12;
  sol[5005] = 54;
  sol[5006] = 0;
  sol[5007] = 36;
  sol[5008] = 12;
  sol[5009] = 18;
  sol[5010] = 12;
  sol[5011] = 48;
  sol[5012] = 24;
  sol[5013] = 78;
  sol[5014] = 18;
  sol[5015] = 18;
  sol[5016] = 6;
  sol[5017] = 78;
  sol[5018] = 6;
  sol[5019] = 24;
  sol[5020] = 30;
  sol[5021] = 12;
  sol[5022] = 0;
  sol[5023] = 42;
  sol[5024] = 0;
  sol[5025] = 45;
  sol[5026] = 18;
  sol[5027] = 15;
  sol[5028] = 27;
  sol[5029] = 42;
  sol[5030] = 0;
  sol[5031] = 54;
  sol[5032] = 18;
  sol[5033] = 36;
  sol[5034] = 18;
  sol[5035] = 36;
  sol[5036] = 6;
  sol[5037] = 48;
  sol[5038] = 0;
  sol[5039] = 30;
  sol[5040] = 12;
  sol[5041] = 36;
  sol[5042] = 21;
  sol[5043] = 45;
  sol[5044] = 6;
  sol[5045] = 24;
  sol[5046] = 7;
  sol[5047] = 54;
  sol[5048] = 0;
  sol[5049] = 27;
  sol[5050] = 42;
  sol[5051] = 33;
  sol[5052] = 24;
  sol[5053] = 72;
  sol[5054] = 0;
  sol[5055] = 42;
  sol[5056] = 0;
  sol[5057] = 48;
  sol[5058] = 24;
  sol[5059] = 45;
  sol[5060] = 18;
  sol[5061] = 18;
  sol[5062] = 15;
  sol[5063] = 36;
  sol[5064] = 15;
  sol[5065] = 66;
  sol[5066] = 6;
  sol[5067] = 66;
  sol[5068] = 30;
  sol[5069] = 18;
  sol[5070] = 0;
  sol[5071] = 48;
  sol[5072] = 0;
  sol[5073] = 27;
  sol[5074] = 39;
  sol[5075] = 30;
  sol[5076] = 18;
  sol[5077] = 66;
  sol[5078] = 27;
  sol[5079] = 12;
  sol[5080] = 12;
  sol[5081] = 18;
  sol[5082] = 24;
  sol[5083] = 60;
  sol[5084] = 6;
  sol[5085] = 66;
  sol[5086] = 0;
  sol[5087] = 42;
  sol[5088] = 0;
  sol[5089] = 42;
  sol[5090] = 6;
  sol[5091] = 33;
  sol[5092] = 21;
  sol[5093] = 36;
  sol[5094] = 12;
  sol[5095] = 42;
  sol[5096] = 6;
  sol[5097] = 21;
  sol[5098] = 36;
  sol[5099] = 33;
  sol[5100] = 21;
  sol[5101] = 48;
  sol[5102] = 0;
  sol[5103] = 66;
  sol[5104] = 12;
  sol[5105] = 6;
  sol[5106] = 18;
  sol[5107] = 75;
  sol[5108] = 24;
  sol[5109] = 36;
  sol[5110] = 12;
  sol[5111] = 18;
  sol[5112] = 0;
  sol[5113] = 81;
  sol[5114] = 12;
  sol[5115] = 42;
  sol[5116] = 30;
  sol[5117] = 36;
  sol[5118] = 0;
  sol[5119] = 24;
  sol[5120] = 0;
  sol[5121] = 30;
  sol[5122] = 30;
  sol[5123] = 30;
  sol[5124] = 6;
  sol[5125] = 60;
  sol[5126] = 9;
  sol[5127] = 60;
  sol[5128] = 6;
  sol[5129] = 24;
  sol[5130] = 30;
  sol[5131] = 30;
  sol[5132] = 6;
  sol[5133] = 30;
  sol[5134] = 0;
  sol[5135] = 30;
  sol[5136] = 12;
  sol[5137] = 75;
  sol[5138] = 18;
  sol[5139] = 30;
  sol[5140] = 24;
  sol[5141] = 24;
  sol[5142] = 15;
  sol[5143] = 78;
  sol[5144] = 0;
  sol[5145] = 42;
  sol[5146] = 24;
  sol[5147] = 18;
  sol[5148] = 30;
  sol[5149] = 42;
  sol[5150] = 0;
  sol[5151] = 30;
  sol[5152] = 12;
  sol[5153] = 21;
  sol[5154] = 12;
  sol[5155] = 48;
  sol[5156] = 9;
  sol[5157] = 60;
  sol[5158] = 21;
  sol[5159] = 30;
  sol[5160] = 12;
  sol[5161] = 24;
  sol[5162] = 24;
  sol[5163] = 39;
  sol[5164] = 21;
  sol[5165] = 24;
  sol[5166] = 0;
  sol[5167] = 54;
  sol[5168] = 3;
  sol[5169] = 39;
  sol[5170] = 30;
  sol[5171] = 33;
  sol[5172] = 24;
  sol[5173] = 72;
  sol[5174] = 12;
  sol[5175] = 60;
  sol[5176] = 0;
  sol[5177] = 18;
  sol[5178] = 24;
  sol[5179] = 57;
  sol[5180] = 12;
  sol[5181] = 24;
  sol[5182] = 0;
  sol[5183] = 24;
  sol[5184] = 3;
  sol[5185] = 90;
  sol[5186] = 9;
  sol[5187] = 12;
  sol[5188] = 21;
  sol[5189] = 36;
  sol[5190] = 12;
  sol[5191] = 30;
  sol[5192] = 18;
  sol[5193] = 84;
  sol[5194] = 24;
  sol[5195] = 30;
  sol[5196] = 9;
  sol[5197] = 60;
  sol[5198] = 0;
  sol[5199] = 36;
  sol[5200] = 18;
  sol[5201] = 18;
  sol[5202] = 24;
  sol[5203] = 78;
  sol[5204] = 18;
  sol[5205] = 24;
  sol[5206] = 18;
  sol[5207] = 48;
  sol[5208] = 6;
  sol[5209] = 24;
  sol[5210] = 0;
  sol[5211] = 45;
  sol[5212] = 30;
  sol[5213] = 24;
  sol[5214] = 0;
  sol[5215] = 66;
  sol[5216] = 3;
  sol[5217] = 60;
  sol[5218] = 36;
  sol[5219] = 21;
  sol[5220] = 42;
  sol[5221] = 42;
  sol[5222] = 6;
  sol[5223] = 30;
  sol[5224] = 6;
  sol[5225] = 33;
  sol[5226] = 12;
  sol[5227] = 60;
  sol[5228] = 21;
  sol[5229] = 36;
  sol[5230] = 0;
  sol[5231] = 6;
  sol[5232] = 6;
  sol[5233] = 36;
  sol[5234] = 15;
  sol[5235] = 36;
  sol[5236] = 30;
  sol[5237] = 48;
  sol[5238] = 21;
  sol[5239] = 48;
  sol[5240] = 0;
  sol[5241] = 39;
  sol[5242] = 36;
  sol[5243] = 36;
  sol[5244] = 6;
  sol[5245] = 54;
  sol[5246] = 0;
  sol[5247] = 66;
  sol[5248] = 3;
  sol[5249] = 18;
  sol[5250] = 18;
  sol[5251] = 33;
  sol[5252] = 24;
  sol[5253] = 36;
  sol[5254] = 18;
  sol[5255] = 30;
  sol[5256] = 9;
  sol[5257] = 66;
  sol[5258] = 6;
  sol[5259] = 15;
  sol[5260] = 36;
  sol[5261] = 24;
  sol[5262] = 0;
  sol[5263] = 96;
  sol[5264] = 6;
  sol[5265] = 30;
  sol[5266] = 12;
  sol[5267] = 42;
  sol[5268] = 6;
  sol[5269] = 36;
  sol[5270] = 6;
  sol[5271] = 36;
  sol[5272] = 9;
  sol[5273] = 27;
  sol[5274] = 36;
  sol[5275] = 42;
  sol[5276] = 12;
  sol[5277] = 42;
  sol[5278] = 0;
  sol[5279] = 18;
  sol[5280] = 6;
  sol[5281] = 51;
  sol[5282] = 12;
  sol[5283] = 78;
  sol[5284] = 18;
  sol[5285] = 30;
  sol[5286] = 9;
  sol[5287] = 54;
  sol[5288] = 12;
  sol[5289] = 39;
  sol[5290] = 24;
  sol[5291] = 24;
  sol[5292] = 33;
  sol[5293] = 66;
  sol[5294] = 0;
  sol[5295] = 36;
  sol[5296] = 9;
  sol[5297] = 45;
  sol[5298] = 33;
  sol[5299] = 36;
  sol[5300] = 12;
  sol[5301] = 18;
  sol[5302] = 27;
  sol[5303] = 36;
  sol[5304] = 0;
  sol[5305] = 78;
  sol[5306] = 12;
  sol[5307] = 48;
  sol[5308] = 24;
  sol[5309] = 30;
  sol[5310] = 0;
  sol[5311] = 42;
  sol[5312] = 9;
  sol[5313] = 48;
  sol[5314] = 21;
  sol[5315] = 18;
  sol[5316] = 9;
  sol[5317] = 60;
  sol[5318] = 12;
  sol[5319] = 54;
  sol[5320] = 6;
  sol[5321] = 21;
  sol[5322] = 24;
  sol[5323] = 72;
  sol[5324] = 3;
  sol[5325] = 66;
  sol[5326] = 0;
  sol[5327] = 18;
  sol[5328] = 18;
  sol[5329] = 33;
  sol[5330] = 12;
  sol[5331] = 21;
  sol[5332] = 36;
  sol[5333] = 36;
  sol[5334] = 6;
  sol[5335] = 36;
  sol[5336] = 6;
  sol[5337] = 60;
  sol[5338] = 36;
  sol[5339] = 36;
  sol[5340] = 18;
  sol[5341] = 48;
  sol[5342] = 0;
  sol[5343] = 24;
  sol[5344] = 0;
  sol[5345] = 30;
  sol[5346] = 24;
  sol[5347] = 87;
  sol[5348] = 24;
  sol[5349] = 24;
  sol[5350] = 27;
  sol[5351] = 42;
  sol[5352] = 6;
  sol[5353] = 60;
  sol[5354] = 18;
  sol[5355] = 66;
  sol[5356] = 6;
  sol[5357] = 18;
  sol[5358] = 0;
  sol[5359] = 36;
  sol[5360] = 6;
  sol[5361] = 39;
  sol[5362] = 36;
  sol[5363] = 30;
  sol[5364] = 18;
  sol[5365] = 36;
  sol[5366] = 9;
  sol[5367] = 30;
  sol[5368] = 0;
  sol[5369] = 18;
  sol[5370] = 18;
  sol[5371] = 51;
  sol[5372] = 12;
  sol[5373] = 48;
  sol[5374] = 0;
  sol[5375] = 54;
  sol[5376] = 0;
  sol[5377] = 48;
  sol[5378] = 18;
  sol[5379] = 36;
  sol[5380] = 30;
  sol[5381] = 36;
  sol[5382] = 30;
  sol[5383] = 66;
  sol[5384] = 3;
  sol[5385] = 12;
  sol[5386] = 18;
  sol[5387] = 15;
  sol[5388] = 39;
  sol[5389] = 60;
  sol[5390] = 0;
  sol[5391] = 24;
  sol[5392] = 12;
  sol[5393] = 66;
  sol[5394] = 6;
  sol[5395] = 54;
  sol[5396] = 12;
  sol[5397] = 48;
  sol[5398] = 6;
  sol[5399] = 18;
  sol[5400] = 7;
  sol[5401] = 30;
  sol[5402] = 24;
  sol[5403] = 48;
  sol[5404] = 18;
  sol[5405] = 30;
  sol[5406] = 0;
  sol[5407] = 84;
  sol[5408] = 0;
  sol[5409] = 30;
  sol[5410] = 48;
  sol[5411] = 12;
  sol[5412] = 15;
  sol[5413] = 60;
  sol[5414] = 9;
  sol[5415] = 42;
  sol[5416] = 18;
  sol[5417] = 42;
  sol[5418] = 18;
  sol[5419] = 42;
  sol[5420] = 18;
  sol[5421] = 48;
  sol[5422] = 0;
  sol[5423] = 30;
  sol[5424] = 9;
  sol[5425] = 48;
  sol[5426] = 21;
  sol[5427] = 69;
  sol[5428] = 36;
  sol[5429] = 12;
  sol[5430] = 12;
  sol[5431] = 48;
  sol[5432] = 0;
  sol[5433] = 57;
  sol[5434] = 18;
  sol[5435] = 24;
  sol[5436] = 24;
  sol[5437] = 66;
  sol[5438] = 0;
  sol[5439] = 36;
  sol[5440] = 6;
  sol[5441] = 24;
  sol[5442] = 21;
  sol[5443] = 69;
  sol[5444] = 6;
  sol[5445] = 54;
  sol[5446] = 12;
  sol[5447] = 30;
  sol[5448] = 18;
  sol[5449] = 72;
  sol[5450] = 18;
  sol[5451] = 30;
  sol[5452] = 30;
  sol[5453] = 18;
  sol[5454] = 0;
  sol[5455] = 42;
  sol[5456] = 0;
  sol[5457] = 42;
  sol[5458] = 42;
  sol[5459] = 12;
  sol[5460] = 18;
  sol[5461] = 42;
  sol[5462] = 6;
  sol[5463] = 54;
  sol[5464] = 9;
  sol[5465] = 42;
  sol[5466] = 12;
  sol[5467] = 72;
  sol[5468] = 18;
  sol[5469] = 24;
  sol[5470] = 0;
  sol[5471] = 24;
  sol[5472] = 3;
  sol[5473] = 78;
  sol[5474] = 0;
  sol[5475] = 24;
  sol[5476] = 24;
  sol[5477] = 30;
  sol[5478] = 15;
  sol[5479] = 60;
  sol[5480] = 6;
  sol[5481] = 42;
  sol[5482] = 30;
  sol[5483] = 39;
  sol[5484] = 21;
  sol[5485] = 36;
  sol[5486] = 0;
  sol[5487] = 54;
  sol[5488] = 12;
  sol[5489] = 27;
  sol[5490] = 24;
  sol[5491] = 42;
  sol[5492] = 24;
  sol[5493] = 72;
  sol[5494] = 21;
  sol[5495] = 30;
  sol[5496] = 0;
  sol[5497] = 48;
  sol[5498] = 18;
  sol[5499] = 24;
  sol[5500] = 30;
  sol[5501] = 12;
  sol[5502] = 0;
  sol[5503] = 30;
  sol[5504] = 3;
  sol[5505] = 24;
  sol[5506] = 15;
  sol[5507] = 72;
  sol[5508] = 33;
  sol[5509] = 42;
  sol[5510] = 6;
  sol[5511] = 24;
  sol[5512] = 24;
  sol[5513] = 12;
  sol[5514] = 24;
  sol[5515] = 66;
  sol[5516] = 12;
  sol[5517] = 60;
  sol[5518] = 0;
  sol[5519] = 24;
  sol[5520] = 6;
  sol[5521] = 63;
  sol[5522] = 12;
  sol[5523] = 42;
  sol[5524] = 18;
  sol[5525] = 24;
  sol[5526] = 18;
  sol[5527] = 84;
  sol[5528] = 6;
  sol[5529] = 30;
  sol[5530] = 24;
  sol[5531] = 24;
  sol[5532] = 6;
  sol[5533] = 90;
  sol[5534] = 0;
  sol[5535] = 72;
  sol[5536] = 6;
  sol[5537] = 21;
  sol[5538] = 24;
  sol[5539] = 30;
  sol[5540] = 18;
  sol[5541] = 18;
  sol[5542] = 30;
  sol[5543] = 24;
  sol[5544] = 6;
  sol[5545] = 66;
  sol[5546] = 18;
  sol[5547] = 54;
  sol[5548] = 18;
  sol[5549] = 36;
  sol[5550] = 0;
  sol[5551] = 36;
  sol[5552] = 12;
  sol[5553] = 60;
  sol[5554] = 27;
  sol[5555] = 30;
  sol[5556] = 18;
  sol[5557] = 90;
  sol[5558] = 18;
  sol[5559] = 18;
  sol[5560] = 0;
  sol[5561] = 18;
  sol[5562] = 24;
  sol[5563] = 48;
  sol[5564] = 24;
  sol[5565] = 30;
  sol[5566] = 0;
  sol[5567] = 36;
  sol[5568] = 6;
  sol[5569] = 36;
  sol[5570] = 18;
  sol[5571] = 66;
  sol[5572] = 36;
  sol[5573] = 30;
  sol[5574] = 3;
  sol[5575] = 66;
  sol[5576] = 3;
  sol[5577] = 57;
  sol[5578] = 48;
  sol[5579] = 12;
  sol[5580] = 18;
  sol[5581] = 36;
  sol[5582] = 0;
  sol[5583] = 48;
  sol[5584] = 6;
  sol[5585] = 36;
  sol[5586] = 21;
  sol[5587] = 48;
  sol[5588] = 0;
  sol[5589] = 60;
  sol[5590] = 12;
  sol[5591] = 36;
  sol[5592] = 12;
  sol[5593] = 72;
  sol[5594] = 0;
  sol[5595] = 36;
  sol[5596] = 30;
  sol[5597] = 30;
  sol[5598] = 0;
  sol[5599] = 48;
  sol[5600] = 0;
  sol[5601] = 33;
  sol[5602] = 30;
  sol[5603] = 48;
  sol[5604] = 9;
  sol[5605] = 54;
  sol[5606] = 9;
  sol[5607] = 36;
  sol[5608] = 24;
  sol[5609] = 18;
  sol[5610] = 30;
  sol[5611] = 42;
  sol[5612] = 18;
  sol[5613] = 54;
  sol[5614] = 0;
  sol[5615] = 12;
  sol[5616] = 0;
  sol[5617] = 54;
  sol[5618] = 12;
  sol[5619] = 21;
  sol[5620] = 24;
  sol[5621] = 30;
  sol[5622] = 21;
  sol[5623] = 72;
  sol[5624] = 0;
  sol[5625] = 66;
  sol[5626] = 24;
  sol[5627] = 27;
  sol[5628] = 18;
  sol[5629] = 36;
  sol[5630] = 0;
  sol[5631] = 24;
  sol[5632] = 0;
  sol[5633] = 45;
  sol[5634] = 24;
  sol[5635] = 78;
  sol[5636] = 0;
  sol[5637] = 42;
  sol[5638] = 21;
  sol[5639] = 24;
  sol[5640] = 12;
  sol[5641] = 39;
  sol[5642] = 30;
  sol[5643] = 54;
  sol[5644] = 30;
  sol[5645] = 24;
  sol[5646] = 0;
  sol[5647] = 84;
  sol[5648] = 15;
  sol[5649] = 24;
  sol[5650] = 24;
  sol[5651] = 9;
  sol[5652] = 30;
  sol[5653] = 54;
  sol[5654] = 9;
  sol[5655] = 48;
  sol[5656] = 6;
  sol[5657] = 33;
  sol[5658] = 18;
  sol[5659] = 57;
  sol[5660] = 18;
  sol[5661] = 30;
  sol[5662] = 0;
  sol[5663] = 60;
  sol[5664] = 3;
  sol[5665] = 54;
  sol[5666] = 27;
  sol[5667] = 33;
  sol[5668] = 30;
  sol[5669] = 36;
  sol[5670] = 24;
  sol[5671] = 42;
  sol[5672] = 0;
  sol[5673] = 54;
  sol[5674] = 18;
  sol[5675] = 39;
  sol[5676] = 24;
  sol[5677] = 54;
  sol[5678] = 0;
  sol[5679] = 60;
  sol[5680] = 18;
  sol[5681] = 24;
  sol[5682] = 15;
  sol[5683] = 75;
  sol[5684] = 12;
  sol[5685] = 24;
  sol[5686] = 12;
  sol[5687] = 42;
  sol[5688] = 0;
  sol[5689] = 39;
  sol[5690] = 12;
  sol[5691] = 36;
  sol[5692] = 36;
  sol[5693] = 36;
  sol[5694] = 0;
  sol[5695] = 30;
  sol[5696] = 3;
  sol[5697] = 66;
  sol[5698] = 42;
  sol[5699] = 15;
  sol[5700] = 24;
  sol[5701] = 72;
  sol[5702] = 12;
  sol[5703] = 48;
  sol[5704] = 12;
  sol[5705] = 42;
  sol[5706] = 12;
  sol[5707] = 48;
  sol[5708] = 15;
  sol[5709] = 24;
  sol[5710] = 0;
  sol[5711] = 18;
  sol[5712] = 18;
  sol[5713] = 60;
  sol[5714] = 6;
  sol[5715] = 60;
  sol[5716] = 18;
  sol[5717] = 36;
  sol[5718] = 9;
  sol[5719] = 24;
  sol[5720] = 6;
  sol[5721] = 27;
  sol[5722] = 36;
  sol[5723] = 30;
  sol[5724] = 24;
  sol[5725] = 90;
  sol[5726] = 0;
  sol[5727] = 60;
  sol[5728] = 3;
  sol[5729] = 21;
  sol[5730] = 18;
  sol[5731] = 54;
  sol[5732] = 24;
  sol[5733] = 48;
  sol[5734] = 18;
  sol[5735] = 18;
  sol[5736] = 12;
  sol[5737] = 51;
  sol[5738] = 24;
  sol[5739] = 39;
  sol[5740] = 18;
  sol[5741] = 18;
  sol[5742] = 0;
  sol[5743] = 72;
  sol[5744] = 12;
  sol[5745] = 42;
  sol[5746] = 21;
  sol[5747] = 36;
  sol[5748] = 24;
  sol[5749] = 36;
  sol[5750] = 6;
  sol[5751] = 36;
  sol[5752] = 0;
  sol[5753] = 33;
  sol[5754] = 18;
  sol[5755] = 42;
  sol[5756] = 0;
  sol[5757] = 60;
  sol[5758] = 0;
  sol[5759] = 18;
  sol[5760] = 6;
  sol[5761] = 42;
  sol[5762] = 21;
  sol[5763] = 39;
  sol[5764] = 39;
  sol[5765] = 36;
  sol[5766] = 13;
  sol[5767] = 84;
  sol[5768] = 6;
  sol[5769] = 24;
  sol[5770] = 18;
  sol[5771] = 30;
  sol[5772] = 24;
  sol[5773] = 78;
  sol[5774] = 0;
  sol[5775] = 36;
  sol[5776] = 3;
  sol[5777] = 54;
  sol[5778] = 39;
  sol[5779] = 51;
  sol[5780] = 18;
  sol[5781] = 30;
  sol[5782] = 21;
  sol[5783] = 24;
  sol[5784] = 3;
  sol[5785] = 60;
  sol[5786] = 12;
  sol[5787] = 87;
  sol[5788] = 42;
  sol[5789] = 30;
  sol[5790] = 0;
  sol[5791] = 36;
  sol[5792] = 6;
  sol[5793] = 30;
  sol[5794] = 15;
  sol[5795] = 36;
  sol[5796] = 12;
  sol[5797] = 54;
  sol[5798] = 18;
  sol[5799] = 42;
  sol[5800] = 12;
  sol[5801] = 27;
  sol[5802] = 24;
  sol[5803] = 84;
  sol[5804] = 15;
  sol[5805] = 42;
  sol[5806] = 0;
  sol[5807] = 18;
  sol[5808] = 9;
  sol[5809] = 54;
  sol[5810] = 18;
  sol[5811] = 30;
  sol[5812] = 30;
  sol[5813] = 48;
  sol[5814] = 12;
  sol[5815] = 72;
  sol[5816] = 0;
  sol[5817] = 54;
  sol[5818] = 42;
  sol[5819] = 9;
  sol[5820] = 12;
  sol[5821] = 36;
  sol[5822] = 0;
  sol[5823] = 60;
  sol[5824] = 0;
  sol[5825] = 27;
  sol[5826] = 21;
  sol[5827] = 78;
  sol[5828] = 18;
  sol[5829] = 42;
  sol[5830] = 30;
  sol[5831] = 30;
  sol[5832] = 6;
  sol[5833] = 54;
  sol[5834] = 6;
  sol[5835] = 30;
  sol[5836] = 18;
  sol[5837] = 24;
  sol[5838] = 0;
  sol[5839] = 60;
  sol[5840] = 12;
  sol[5841] = 42;
  sol[5842] = 36;
  sol[5843] = 48;
  sol[5844] = 24;
  sol[5845] = 54;
  sol[5846] = 6;
  sol[5847] = 36;
  sol[5848] = 15;
  sol[5849] = 12;
  sol[5850] = 48;
  sol[5851] = 21;
  sol[5852] = 12;
  sol[5853] = 30;
  sol[5854] = 0;
  sol[5855] = 36;
  sol[5856] = 0;
  sol[5857] = 102;
  sol[5858] = 6;
  sol[5859] = 18;
  sol[5860] = 12;
  sol[5861] = 24;
  sol[5862] = 9;
  sol[5863] = 60;
  sol[5864] = 12;
  sol[5865] = 48;
  sol[5866] = 24;
  sol[5867] = 33;
  sol[5868] = 30;
  sol[5869] = 66;
  sol[5870] = 0;
  sol[5871] = 30;
  sol[5872] = 12;
  sol[5873] = 30;
  sol[5874] = 15;
  sol[5875] = 60;
  sol[5876] = 12;
  sol[5877] = 54;
  sol[5878] = 36;
  sol[5879] = 30;
  sol[5880] = 0;
  sol[5881] = 36;
  sol[5882] = 6;
  sol[5883] = 72;
  sol[5884] = 18;
  sol[5885] = 36;
  sol[5886] = 0;
  sol[5887] = 54;
  sol[5888] = 0;
  sol[5889] = 30;
  sol[5890] = 36;
  sol[5891] = 9;
  sol[5892] = 15;
  sol[5893] = 60;
  sol[5894] = 0;
  sol[5895] = 60;
  sol[5896] = 15;
  sol[5897] = 39;
  sol[5898] = 12;
  sol[5899] = 63;
  sol[5900] = 18;
  sol[5901] = 42;
  sol[5902] = 0;
  sol[5903] = 30;
  sol[5904] = 18;
  sol[5905] = 60;
  sol[5906] = 21;
  sol[5907] = 57;
  sol[5908] = 30;
  sol[5909] = 0;
  sol[5910] = 18;
  sol[5911] = 54;
  sol[5912] = 3;
  sol[5913] = 75;
  sol[5914] = 30;
  sol[5915] = 48;
  sol[5916] = 24;
  sol[5917] = 42;
  sol[5918] = 0;
  sol[5919] = 24;
  sol[5920] = 12;
  sol[5921] = 36;
  sol[5922] = 42;
  sol[5923] = 57;
  sol[5924] = 9;
  sol[5925] = 48;
  sol[5926] = 9;
  sol[5927] = 36;
  sol[5928] = 6;
  sol[5929] = 45;
  sol[5930] = 12;
  sol[5931] = 24;
  sol[5932] = 48;
  sol[5933] = 54;
  sol[5934] = 0;
  sol[5935] = 66;
  sol[5936] = 0;
  sol[5937] = 45;
  sol[5938] = 33;
  sol[5939] = 30;
  sol[5940] = 18;
  sol[5941] = 54;
  sol[5942] = 18;
  sol[5943] = 36;
  sol[5944] = 0;
  sol[5945] = 36;
  sol[5946] = 6;
  sol[5947] = 54;
  sol[5948] = 30;
  sol[5949] = 54;
  sol[5950] = 0;
  sol[5951] = 36;
  sol[5952] = 0;
  sol[5953] = 66;
  sol[5954] = 12;
  sol[5955] = 42;
  sol[5956] = 21;
  sol[5957] = 24;
  sol[5958] = 18;
  sol[5959] = 48;
  sol[5960] = 6;
  sol[5961] = 21;
  sol[5962] = 48;
  sol[5963] = 42;
  sol[5964] = 12;
  sol[5965] = 60;
  sol[5966] = 0;
  sol[5967] = 84;
  sol[5968] = 12;
  sol[5969] = 0;
  sol[5970] = 12;
  sol[5971] = 54;
  sol[5972] = 24;
  sol[5973] = 36;
  sol[5974] = 18;
  sol[5975] = 18;
  sol[5976] = 12;
  sol[5977] = 81;
  sol[5978] = 18;
  sol[5979] = 33;
  sol[5980] = 18;
  sol[5981] = 12;
  sol[5982] = 0;
  sol[5983] = 66;
  sol[5984] = 3;
  sol[5985] = 66;
  sol[5986] = 6;
  sol[5987] = 33;
  sol[5988] = 48;
  sol[5989] = 48;
  sol[5990] = 6;
  sol[5991] = 24;
  sol[5992] = 24;
  sol[5993] = 36;
  sol[5994] = 18;
  sol[5995] = 60;
  sol[5996] = 6;
  sol[5997] = 36;
  sol[5998] = 0;
  sol[5999] = 24;
  sol[6000] = 6;
  sol[6001] = 39;
  sol[6002] = 21;
  sol[6003] = 42;
  sol[6004] = 18;
  sol[6005] = 42;
  sol[6006] = 12;
  sol[6007] = 60;
  sol[6008] = 0;
  sol[6009] = 24;
  sol[6010] = 30;
  sol[6011] = 33;
  sol[6012] = 36;
  sol[6013] = 72;
  sol[6014] = 0;
  sol[6015] = 30;
  sol[6016] = 0;
  sol[6017] = 36;
  sol[6018] = 36;
  sol[6019] = 42;
  sol[6020] = 12;
  sol[6021] = 36;
  sol[6022] = 15;
  sol[6023] = 24;
  sol[6024] = 15;
  sol[6025] = 75;
  sol[6026] = 30;
  sol[6027] = 63;
  sol[6028] = 27;
  sol[6029] = 24;
  sol[6030] = 0;
  sol[6031] = 42;
  sol[6032] = 6;
  sol[6033] = 63;
  sol[6034] = 30;
  sol[6035] = 18;
  sol[6036] = 12;
  sol[6037] = 108;
  sol[6038] = 9;
  sol[6039] = 48;
  sol[6040] = 12;
  sol[6041] = 24;
  sol[6042] = 12;
  sol[6043] = 72;
  sol[6044] = 18;
  sol[6045] = 30;
  sol[6046] = 0;
  sol[6047] = 54;
  sol[6048] = 6;
  sol[6049] = 30;
  sol[6050] = 9;
  sol[6051] = 63;
  sol[6052] = 27;
  sol[6053] = 48;
  sol[6054] = 15;
  sol[6055] = 36;
  sol[6056] = 6;
  sol[6057] = 48;
  sol[6058] = 36;
  sol[6059] = 18;
  sol[6060] = 12;
  sol[6061] = 54;
  sol[6062] = 0;
  sol[6063] = 42;
  sol[6064] = 9;
  sol[6065] = 36;
  sol[6066] = 36;
  sol[6067] = 63;
  sol[6068] = 18;
  sol[6069] = 36;
  sol[6070] = 24;
  sol[6071] = 36;
  sol[6072] = 0;
  sol[6073] = 75;
  sol[6074] = 6;
  sol[6075] = 63;
  sol[6076] = 24;
  sol[6077] = 36;
  sol[6078] = 0;
  sol[6079] = 48;
  sol[6080] = 6;
  sol[6081] = 27;
  sol[6082] = 39;
  sol[6083] = 30;
  sol[6084] = 18;
  sol[6085] = 30;
  sol[6086] = 9;
  sol[6087] = 54;
  sol[6088] = 18;
  sol[6089] = 36;
  sol[6090] = 18;
  sol[6091] = 39;
  sol[6092] = 21;
  sol[6093] = 66;
  sol[6094] = 0;
  sol[6095] = 30;
  sol[6096] = 0;
  sol[6097] = 54;
  sol[6098] = 18;
  sol[6099] = 42;
  sol[6100] = 36;
  sol[6101] = 12;
  sol[6102] = 24;
  sol[6103] = 108;
  sol[6104] = 0;
  sol[6105] = 30;
  sol[6106] = 24;
  sol[6107] = 42;
  sol[6108] = 12;
  sol[6109] = 48;
  sol[6110] = 0;
  sol[6111] = 24;
  sol[6112] = 0;
  sol[6113] = 15;
  sol[6114] = 9;
  sol[6115] = 48;
  sol[6116] = 18;
  sol[6117] = 66;
  sol[6118] = 24;
  sol[6119] = 24;
  sol[6120] = 12;
  sol[6121] = 54;
  sol[6122] = 12;
  sol[6123] = 36;
  sol[6124] = 21;
  sol[6125] = 54;
  sol[6126] = 0;
  sol[6127] = 54;
  sol[6128] = 18;
  sol[6129] = 45;
  sol[6130] = 42;
  sol[6131] = 36;
  sol[6132] = 24;
  sol[6133] = 42;
  sol[6134] = 3;
  sol[6135] = 36;
  sol[6136] = 0;
  sol[6137] = 42;
  sol[6138] = 48;
  sol[6139] = 42;
  sol[6140] = 12;
  sol[6141] = 36;
  sol[6142] = 0;
  sol[6143] = 36;
  sol[6144] = 1;
  sol[6145] = 60;
  sol[6146] = 18;
  sol[6147] = 36;
  sol[6148] = 18;
  sol[6149] = 36;
  sol[6150] = 15;
  sol[6151] = 54;
  sol[6152] = 9;
  sol[6153] = 60;
  sol[6154] = 30;
  sol[6155] = 24;
  sol[6156] = 21;
  sol[6157] = 48;
  sol[6158] = 0;
  sol[6159] = 24;
  sol[6160] = 18;
  sol[6161] = 24;
  sol[6162] = 18;
  sol[6163] = 90;
  sol[6164] = 6;
  sol[6165] = 72;
  sol[6166] = 15;
  sol[6167] = 36;
  sol[6168] = 9;
  sol[6169] = 48;
  sol[6170] = 6;
  sol[6171] = 36;
  sol[6172] = 42;
  sol[6173] = 48;
  sol[6174] = 0;
  sol[6175] = 78;
  sol[6176] = 3;
  sol[6177] = 54;
  sol[6178] = 27;
  sol[6179] = 18;
  sol[6180] = 36;
  sol[6181] = 48;
  sol[6182] = 15;
  sol[6183] = 54;
  sol[6184] = 12;
  sol[6185] = 30;
  sol[6186] = 24;
  sol[6187] = 84;
  sol[6188] = 12;
  sol[6189] = 18;
  sol[6190] = 0;
  sol[6191] = 18;
  sol[6192] = 12;
  sol[6193] = 105;
  sol[6194] = 12;
  sol[6195] = 24;
  sol[6196] = 30;
  sol[6197] = 30;
  sol[6198] = 18;
  sol[6199] = 36;
  sol[6200] = 0;
  sol[6201] = 60;
  sol[6202] = 30;
  sol[6203] = 27;
  sol[6204] = 12;
  sol[6205] = 48;
  sol[6206] = 0;
  sol[6207] = 90;
  sol[6208] = 6;
  sol[6209] = 18;
  sol[6210] = 18;
  sol[6211] = 33;
  sol[6212] = 21;
  sol[6213] = 42;
  sol[6214] = 24;
  sol[6215] = 24;
  sol[6216] = 12;
  sol[6217] = 45;
  sol[6218] = 24;
  sol[6219] = 60;
  sol[6220] = 36;
  sol[6221] = 36;
  sol[6222] = 0;
  sol[6223] = 66;
  sol[6224] = 6;
  sol[6225] = 27;
  sol[6226] = 15;
  sol[6227] = 42;
  sol[6228] = 24;
  sol[6229] = 60;
  sol[6230] = 12;
  sol[6231] = 18;
  sol[6232] = 9;
  sol[6233] = 30;
  sol[6234] = 18;
  sol[6235] = 84;
  sol[6236] = 12;
  sol[6237] = 72;
  sol[6238] = 0;
  sol[6239] = 12;
  sol[6240] = 6;
  sol[6241] = 42;
  sol[6242] = 21;
  sol[6243] = 45;
  sol[6244] = 12;
  sol[6245] = 18;
  sol[6246] = 9;
  sol[6247] = 96;
  sol[6248] = 12;
  sol[6249] = 21;
  sol[6250] = 30;
  sol[6251] = 30;
  sol[6252] = 24;
  sol[6253] = 66;
  sol[6254] = 0;
  sol[6255] = 48;
  sol[6256] = 12;
  sol[6257] = 42;
  sol[6258] = 18;
  sol[6259] = 36;
  sol[6260] = 18;
  sol[6261] = 24;
  sol[6262] = 24;
  sol[6263] = 24;
  sol[6264] = 0;
  sol[6265] = 30;
  sol[6266] = 12;
  sol[6267] = 27;
  sol[6268] = 42;
  sol[6269] = 18;
  sol[6270] = 0;
  sol[6271] = 72;
  sol[6272] = 0;
  sol[6273] = 84;
  sol[6274] = 27;
  sol[6275] = 54;
  sol[6276] = 15;
  sol[6277] = 102;
  sol[6278] = 12;
  sol[6279] = 36;
  sol[6280] = 6;
  sol[6281] = 39;
  sol[6282] = 36;
  sol[6283] = 36;
  sol[6284] = 15;
  sol[6285] = 36;
  sol[6286] = 0;
  sol[6287] = 30;
  sol[6288] = 15;
  sol[6289] = 57;
  sol[6290] = 12;
  sol[6291] = 57;
  sol[6292] = 42;
  sol[6293] = 30;
  sol[6294] = 9;
  sol[6295] = 60;
  sol[6296] = 6;
  sol[6297] = 27;
  sol[6298] = 42;
  sol[6299] = 27;
  sol[6300] = 30;
  sol[6301] = 36;
  sol[6302] = 0;
  sol[6303] = 54;
  sol[6304] = 6;
  sol[6305] = 24;
  sol[6306] = 21;
  sol[6307] = 78;
  sol[6308] = 12;
  sol[6309] = 42;
  sol[6310] = 18;
  sol[6311] = 18;
  sol[6312] = 12;
  sol[6313] = 84;
  sol[6314] = 18;
  sol[6315] = 54;
  sol[6316] = 18;
  sol[6317] = 48;
  sol[6318] = 0;
  sol[6319] = 66;
  sol[6320] = 12;
  sol[6321] = 15;
  sol[6322] = 36;
  sol[6323] = 30;
  sol[6324] = 18;
  sol[6325] = 72;
  sol[6326] = 9;
  sol[6327] = 66;
  sol[6328] = 0;
  sol[6329] = 27;
  sol[6330] = 18;
  sol[6331] = 24;
  sol[6332] = 6;
  sol[6333] = 78;
  sol[6334] = 0;
  sol[6335] = 42;
  sol[6336] = 6;
  sol[6337] = 81;
  sol[6338] = 27;
  sol[6339] = 27;
  sol[6340] = 36;
  sol[6341] = 24;
  sol[6342] = 24;
  sol[6343] = 48;
  sol[6344] = 0;
  sol[6345] = 72;
  sol[6346] = 18;
  sol[6347] = 39;
  sol[6348] = 30;
  sol[6349] = 42;
  sol[6350] = 0;
  sol[6351] = 18;
  sol[6352] = 18;
  sol[6353] = 30;
  sol[6354] = 24;
  sol[6355] = 78;
  sol[6356] = 6;
  sol[6357] = 18;
  sol[6358] = 18;
  sol[6359] = 36;
  sol[6360] = 0;
  sol[6361] = 48;
  sol[6362] = 30;
  sol[6363] = 84;
  sol[6364] = 6;
  sol[6365] = 18;
  sol[6366] = 0;
  sol[6367] = 54;
  sol[6368] = 0;
  sol[6369] = 42;
  sol[6370] = 36;
  sol[6371] = 12;
  sol[6372] = 30;
  sol[6373] = 90;
  sol[6374] = 12;
  sol[6375] = 48;
  sol[6376] = 18;
  sol[6377] = 24;
  sol[6378] = 18;
  sol[6379] = 21;
  sol[6380] = 18;
  sol[6381] = 48;
  sol[6382] = 0;
  sol[6383] = 60;
  sol[6384] = 0;
  sol[6385] = 60;
  sol[6386] = 6;
  sol[6387] = 30;
  sol[6388] = 42;
  sol[6389] = 24;
  sol[6390] = 18;
  sol[6391] = 66;
  sol[6392] = 0;
  sol[6393] = 27;
  sol[6394] = 36;
  sol[6395] = 24;
  sol[6396] = 18;
  sol[6397] = 54;
  sol[6398] = 0;
  sol[6399] = 48;
  sol[6400] = 6;
  sol[6401] = 30;
  sol[6402] = 18;
  sol[6403] = 90;
  sol[6404] = 15;
  sol[6405] = 42;
  sol[6406] = 9;
  sol[6407] = 48;
  sol[6408] = 18;
  sol[6409] = 42;
  sol[6410] = 6;
  sol[6411] = 45;
  sol[6412] = 24;
  sol[6413] = 36;
  sol[6414] = 0;
  sol[6415] = 48;
  sol[6416] = 0;
  sol[6417] = 78;
  sol[6418] = 39;
  sol[6419] = 27;
  sol[6420] = 12;
  sol[6421] = 42;
  sol[6422] = 27;
  sol[6423] = 48;
  sol[6424] = 6;
  sol[6425] = 45;
  sol[6426] = 18;
  sol[6427] = 72;
  sol[6428] = 36;
  sol[6429] = 48;
  sol[6430] = 0;
  sol[6431] = 18;
  sol[6432] = 9;
  sol[6433] = 66;
  sol[6434] = 9;
  sol[6435] = 54;
  sol[6436] = 33;
  sol[6437] = 18;
  sol[6438] = 18;
  sol[6439] = 66;
  sol[6440] = 12;
  sol[6441] = 39;
  sol[6442] = 36;
  sol[6443] = 45;
  sol[6444] = 12;
  sol[6445] = 72;
  sol[6446] = 0;
  sol[6447] = 48;
  sol[6448] = 12;
  sol[6449] = 21;
  sol[6450] = 39;
  sol[6451] = 33;
  sol[6452] = 18;
  sol[6453] = 60;
  sol[6454] = 18;
  sol[6455] = 36;
  sol[6456] = 0;
  sol[6457] = 78;
  sol[6458] = 18;
  sol[6459] = 39;
  sol[6460] = 36;
  sol[6461] = 24;
  sol[6462] = 0;
  sol[6463] = 30;
  sol[6464] = 0;
  sol[6465] = 30;
  sol[6466] = 30;
  sol[6467] = 54;
  sol[6468] = 21;
  sol[6469] = 66;
  sol[6470] = 6;
  sol[6471] = 30;
  sol[6472] = 21;
  sol[6473] = 39;
  sol[6474] = 18;
  sol[6475] = 60;
  sol[6476] = 15;
  sol[6477] = 72;
  sol[6478] = 0;
  sol[6479] = 30;
  sol[6480] = 18;
  sol[6481] = 45;
  sol[6482] = 12;
  sol[6483] = 39;
  sol[6484] = 18;
  sol[6485] = 60;
  sol[6486] = 6;
  sol[6487] = 66;
  sol[6488] = 15;
  sol[6489] = 36;
  sol[6490] = 30;
  sol[6491] = 12;
  sol[6492] = 18;
  sol[6493] = 60;
  sol[6494] = 0;
  sol[6495] = 60;
  sol[6496] = 0;
  sol[6497] = 18;
  sol[6498] = 33;
  sol[6499] = 57;
  sol[6500] = 18;
  sol[6501] = 24;
  sol[6502] = 24;
  sol[6503] = 42;
  sol[6504] = 6;
  sol[6505] = 66;
  sol[6506] = 12;
  sol[6507] = 81;
  sol[6508] = 42;
  sol[6509] = 18;
  sol[6510] = 0;
  sol[6511] = 36;
  sol[6512] = 6;
  sol[6513] = 42;
  sol[6514] = 18;
  sol[6515] = 24;
  sol[6516] = 24;
  sol[6517] = 72;
  sol[6518] = 0;
  sol[6519] = 18;
  sol[6520] = 0;
  sol[6521] = 30;
  sol[6522] = 30;
  sol[6523] = 87;
  sol[6524] = 18;
  sol[6525] = 36;
  sol[6526] = 0;
  sol[6527] = 42;
  sol[6528] = 3;
  sol[6529] = 45;
  sol[6530] = 12;
  sol[6531] = 36;
  sol[6532] = 42;
  sol[6533] = 24;
  sol[6534] = 25;
  sol[6535] = 30;
  sol[6536] = 6;
  sol[6537] = 72;
  sol[6538] = 24;
  sol[6539] = 18;
  sol[6540] = 18;
  sol[6541] = 60;
  sol[6542] = 0;
  sol[6543] = 102;
  sol[6544] = 12;
  sol[6545] = 42;
  sol[6546] = 12;
  sol[6547] = 90;
  sol[6548] = 12;
  sol[6549] = 24;
  sol[6550] = 27;
  sol[6551] = 24;
  sol[6552] = 12;
  sol[6553] = 69;
  sol[6554] = 24;
  sol[6555] = 30;
  sol[6556] = 18;
  sol[6557] = 42;
  sol[6558] = 0;
  sol[6559] = 48;
  sol[6560] = 0;
  sol[6561] = 42;
  sol[6562] = 45;
  sol[6563] = 39;
  sol[6564] = 15;
  sol[6565] = 60;
  sol[6566] = 18;
  sol[6567] = 30;
  sol[6568] = 12;
  sol[6569] = 33;
  sol[6570] = 24;
  sol[6571] = 72;
  sol[6572] = 18;
  sol[6573] = 36;
  sol[6574] = 0;
  sol[6575] = 24;
  sol[6576] = 12;
  sol[6577] = 51;
  sol[6578] = 24;
  sol[6579] = 39;
  sol[6580] = 36;
  sol[6581] = 24;
  sol[6582] = 6;
  sol[6583] = 120;
  sol[6584] = 0;
  sol[6585] = 72;
  sol[6586] = 24;
  sol[6587] = 30;
  sol[6588] = 30;
  sol[6589] = 30;
  sol[6590] = 0;
  sol[6591] = 24;
  sol[6592] = 12;
  sol[6593] = 72;
  sol[6594] = 18;
  sol[6595] = 54;
  sol[6596] = 3;
  sol[6597] = 84;
  sol[6598] = 30;
  sol[6599] = 30;
  sol[6600] = 21;
  sol[6601] = 42;
  sol[6602] = 24;
  sol[6603] = 30;
  sol[6604] = 18;
  sol[6605] = 30;
  sol[6606] = 0;
  sol[6607] = 54;
  sol[6608] = 0;
  sol[6609] = 36;
  sol[6610] = 30;
  sol[6611] = 24;
  sol[6612] = 30;
  sol[6613] = 72;
  sol[6614] = 9;
  sol[6615] = 72;
  sol[6616] = 6;
  sol[6617] = 30;
  sol[6618] = 24;
  sol[6619] = 36;
  sol[6620] = 24;
  sol[6621] = 30;
  sol[6622] = 0;
  sol[6623] = 30;
  sol[6624] = 0;
  sol[6625] = 90;
  sol[6626] = 12;
  sol[6627] = 48;
  sol[6628] = 27;
  sol[6629] = 24;
  sol[6630] = 6;
  sol[6631] = 54;
  sol[6632] = 12;
  sol[6633] = 39;
  sol[6634] = 36;
  sol[6635] = 18;
  sol[6636] = 18;
  sol[6637] = 78;
  sol[6638] = 0;
  sol[6639] = 36;
  sol[6640] = 12;
  sol[6641] = 18;
  sol[6642] = 39;
  sol[6643] = 66;
  sol[6644] = 6;
  sol[6645] = 54;
  sol[6646] = 18;
  sol[6647] = 36;
  sol[6648] = 0;
  sol[6649] = 54;
  sol[6650] = 18;
  sol[6651] = 42;
  sol[6652] = 12;
  sol[6653] = 30;
  sol[6654] = 0;
  sol[6655] = 78;
  sol[6656] = 0;
  sol[6657] = 48;
  sol[6658] = 45;
  sol[6659] = 27;
  sol[6660] = 36;
  sol[6661] = 36;
  sol[6662] = 9;
  sol[6663] = 54;
  sol[6664] = 15;
  sol[6665] = 6;
  sol[6666] = 12;
  sol[6667] = 99;
  sol[6668] = 15;
  sol[6669] = 48;
  sol[6670] = 0;
  sol[6671] = 24;
  sol[6672] = 3;
  sol[6673] = 60;
  sol[6674] = 12;
  sol[6675] = 45;
  sol[6676] = 36;
  sol[6677] = 36;
  sol[6678] = 30;
  sol[6679] = 24;
  sol[6680] = 12;
  sol[6681] = 57;
  sol[6682] = 30;
  sol[6683] = 42;
  sol[6684] = 18;
  sol[6685] = 54;
  sol[6686] = 0;
  sol[6687] = 36;
  sol[6688] = 6;
  sol[6689] = 45;
  sol[6690] = 24;
  sol[6691] = 63;
  sol[6692] = 30;
  sol[6693] = 60;
  sol[6694] = 12;
  sol[6695] = 42;
  sol[6696] = 6;
  sol[6697] = 102;
  sol[6698] = 18;
  sol[6699] = 30;
  sol[6700] = 33;
  sol[6701] = 18;
  sol[6702] = 0;
  sol[6703] = 84;
  sol[6704] = 12;
  sol[6705] = 54;
  sol[6706] = 24;
  sol[6707] = 39;
  sol[6708] = 12;
  sol[6709] = 42;
  sol[6710] = 0;
  sol[6711] = 36;
  sol[6712] = 0;
  sol[6713] = 54;
  sol[6714] = 24;
  sol[6715] = 60;
  sol[6716] = 12;
  sol[6717] = 42;
  sol[6718] = 0;
  sol[6719] = 48;
  sol[6720] = 6;
  sol[6721] = 30;
  sol[6722] = 9;
  sol[6723] = 93;
  sol[6724] = 24;
  sol[6725] = 18;
  sol[6726] = 21;
  sol[6727] = 60;
  sol[6728] = 6;
  sol[6729] = 21;
  sol[6730] = 36;
  sol[6731] = 18;
  sol[6732] = 54;
  sol[6733] = 102;
  sol[6734] = 0;
  sol[6735] = 30;
  sol[6736] = 18;
  sol[6737] = 36;
  sol[6738] = 21;
  sol[6739] = 48;
  sol[6740] = 12;
  sol[6741] = 30;
  sol[6742] = 27;
  sol[6743] = 42;
  sol[6744] = 3;
  sol[6745] = 54;
  sol[6746] = 12;
  sol[6747] = 66;
  sol[6748] = 36;
  sol[6749] = 36;
  sol[6750] = 0;
  sol[6751] = 48;
  sol[6752] = 9;
  sol[6753] = 45;
  sol[6754] = 33;
  sol[6755] = 30;
  sol[6756] = 9;
  sol[6757] = 84;
  sol[6758] = 18;
  sol[6759] = 30;
  sol[6760] = 12;
  sol[6761] = 33;
  sol[6762] = 36;
  sol[6763] = 51;
  sol[6764] = 12;
  sol[6765] = 54;
  sol[6766] = 0;
  sol[6767] = 36;
  sol[6768] = 18;
  sol[6769] = 42;
  sol[6770] = 12;
  sol[6771] = 30;
  sol[6772] = 36;
  sol[6773] = 24;
  sol[6774] = 9;
  sol[6775] = 72;
  sol[6776] = 0;
  sol[6777] = 48;
  sol[6778] = 30;
  sol[6779] = 36;
  sol[6780] = 6;
  sol[6781] = 78;
  sol[6782] = 0;
  sol[6783] = 42;
  sol[6784] = 0;
  sol[6785] = 18;
  sol[6786] = 24;
  sol[6787] = 63;
  sol[6788] = 21;
  sol[6789] = 36;
  sol[6790] = 18;
  sol[6791] = 24;
  sol[6792] = 15;
  sol[6793] = 66;
  sol[6794] = 0;
  sol[6795] = 42;
  sol[6796] = 27;
  sol[6797] = 54;
  sol[6798] = 0;
  sol[6799] = 30;
  sol[6800] = 9;
  sol[6801] = 51;
  sol[6802] = 45;
  sol[6803] = 45;
  sol[6804] = 24;
  sol[6805] = 48;
  sol[6806] = 12;
  sol[6807] = 72;
  sol[6808] = 12;
  sol[6809] = 33;
  sol[6810] = 24;
  sol[6811] = 39;
  sol[6812] = 30;
  sol[6813] = 66;
  sol[6814] = 0;
  sol[6815] = 18;
  sol[6816] = 6;
  sol[6817] = 69;
  sol[6818] = 12;
  sol[6819] = 36;
  sol[6820] = 24;
  sol[6821] = 36;
  sol[6822] = 18;
  sol[6823] = 90;
  sol[6824] = 6;
  sol[6825] = 60;
  sol[6826] = 24;
  sol[6827] = 36;
  sol[6828] = 27;
  sol[6829] = 36;
  sol[6830] = 0;
  sol[6831] = 60;
  sol[6832] = 18;
  sol[6833] = 33;
  sol[6834] = 21;
  sol[6835] = 84;
  sol[6836] = 12;
  sol[6837] = 36;
  sol[6838] = 30;
  sol[6839] = 18;
  sol[6840] = 0;
  sol[6841] = 33;
  sol[6842] = 24;
  sol[6843] = 51;
  sol[6844] = 30;
  sol[6845] = 24;
  sol[6846] = 0;
  sol[6847] = 84;
  sol[6848] = 0;
  sol[6849] = 57;
  sol[6850] = 33;
  sol[6851] = 36;
  sol[6852] = 21;
  sol[6853] = 84;
  sol[6854] = 12;
  sol[6855] = 30;
  sol[6856] = 12;
  sol[6857] = 33;
  sol[6858] = 36;
  sol[6859] = 63;
  sol[6860] = 18;
  sol[6861] = 24;
  sol[6862] = 0;
  sol[6863] = 30;
  sol[6864] = 6;
  sol[6865] = 90;
  sol[6866] = 21;
  sol[6867] = 66;
  sol[6868] = 30;
  sol[6869] = 30;
  sol[6870] = 24;
  sol[6871] = 36;
  sol[6872] = 0;
  sol[6873] = 54;
  sol[6874] = 12;
  sol[6875] = 51;
  sol[6876] = 18;
  sol[6877] = 78;
  sol[6878] = 0;
  sol[6879] = 36;
  sol[6880] = 0;
  sol[6881] = 18;
  sol[6882] = 18;
  sol[6883] = 54;
  sol[6884] = 21;
  sol[6885] = 48;
  sol[6886] = 12;
  sol[6887] = 66;
  sol[6888] = 18;
  sol[6889] = 21;
  sol[6890] = 18;
  sol[6891] = 33;
  sol[6892] = 21;
  sol[6893] = 42;
  sol[6894] = 0;
  sol[6895] = 66;
  sol[6896] = 6;
  sol[6897] = 48;
  sol[6898] = 54;
  sol[6899] = 21;
  sol[6900] = 30;
  sol[6901] = 66;
  sol[6902] = 12;
  sol[6903] = 66;
  sol[6904] = 0;
  sol[6905] = 24;
  sol[6906] = 24;
  sol[6907] = 63;
  sol[6908] = 24;
  sol[6909] = 36;
  sol[6910] = 0;
  sol[6911] = 42;
  sol[6912] = 3;
  sol[6913] = 60;
  sol[6914] = 18;
  sol[6915] = 30;
  sol[6916] = 6;
  sol[6917] = 36;
  sol[6918] = 9;
  sol[6919] = 54;
  sol[6920] = 6;
  sol[6921] = 72;
  sol[6922] = 48;
  sol[6923] = 36;
  sol[6924] = 15;
  sol[6925] = 54;
  sol[6926] = 0;
  sol[6927] = 30;
  sol[6928] = 27;
  sol[6929] = 12;
  sol[6930] = 18;
  sol[6931] = 60;
  sol[6932] = 12;
  sol[6933] = 66;
  sol[6934] = 15;
  sol[6935] = 48;
  sol[6936] = 10;
  sol[6937] = 84;
  sol[6938] = 12;
  sol[6939] = 39;
  sol[6940] = 42;
  sol[6941] = 12;
  sol[6942] = 0;
  sol[6943] = 66;
  sol[6944] = 6;
  sol[6945] = 24;
  sol[6946] = 18;
  sol[6947] = 21;
  sol[6948] = 36;
  sol[6949] = 54;
  sol[6950] = 24;
  sol[6951] = 24;
  sol[6952] = 12;
  sol[6953] = 51;
  sol[6954] = 18;
  sol[6955] = 66;
  sol[6956] = 12;
  sol[6957] = 90;
  sol[6958] = 0;
  sol[6959] = 18;
  sol[6960] = 6;
  sol[6961] = 87;
  sol[6962] = 15;
  sol[6963] = 75;
  sol[6964] = 24;
  sol[6965] = 30;
  sol[6966] = 15;
  sol[6967] = 60;
  sol[6968] = 0;
  sol[6969] = 24;
  sol[6970] = 42;
  sol[6971] = 24;
  sol[6972] = 24;
  sol[6973] = 48;
  sol[6974] = 0;
  sol[6975] = 84;
  sol[6976] = 6;
  sol[6977] = 51;
  sol[6978] = 39;
  sol[6979] = 60;
  sol[6980] = 12;
  sol[6981] = 18;
  sol[6982] = 30;
  sol[6983] = 36;
  sol[6984] = 12;
  sol[6985] = 60;
  sol[6986] = 12;
  sol[6987] = 60;
  sol[6988] = 48;
  sol[6989] = 36;
  sol[6990] = 0;
  sol[6991] = 54;
  sol[6992] = 6;
  sol[6993] = 42;
  sol[6994] = 12;
  sol[6995] = 6;
  sol[6996] = 18;
  sol[6997] = 78;
  sol[6998] = 6;
  sol[6999] = 48;
  sol[7000] = 12;
  sol[7001] = 12;
  sol[7002] = 36;
  sol[7003] = 84;
  sol[7004] = 0;
  sol[7005] = 48;
  sol[7006] = 0;
  sol[7007] = 54;
  sol[7008] = 3;
  sol[7009] = 48;
  sol[7010] = 18;
  sol[7011] = 45;
  sol[7012] = 51;
  sol[7013] = 54;
  sol[7014] = 6;
  sol[7015] = 72;
  sol[7016] = 6;
  sol[7017] = 51;
  sol[7018] = 30;
  sol[7019] = 45;
  sol[7020] = 30;
  sol[7021] = 48;
  sol[7022] = 0;
  sol[7023] = 36;
  sol[7024] = 6;
  sol[7025] = 36;
  sol[7026] = 15;
  sol[7027] = 78;
  sol[7028] = 24;
  sol[7029] = 42;
  sol[7030] = 24;
  sol[7031] = 24;
  sol[7032] = 0;
  sol[7033] = 90;
  sol[7034] = 18;
  sol[7035] = 36;
  sol[7036] = 24;
  sol[7037] = 24;
  sol[7038] = 0;
  sol[7039] = 36;
  sol[7040] = 0;
  sol[7041] = 36;
  sol[7042] = 30;
  sol[7043] = 30;
  sol[7044] = 30;
  sol[7045] = 66;
  sol[7046] = 6;
  sol[7047] = 78;
  sol[7048] = 21;
  sol[7049] = 30;
  sol[7050] = 12;
  sol[7051] = 21;
  sol[7052] = 15;
  sol[7053] = 60;
  sol[7054] = 0;
  sol[7055] = 36;
  sol[7056] = 12;
  sol[7057] = 66;
  sol[7058] = 21;
  sol[7059] = 36;
  sol[7060] = 24;
  sol[7061] = 30;
  sol[7062] = 18;
  sol[7063] = 60;
  sol[7064] = 9;
  sol[7065] = 54;
  sol[7066] = 48;
  sol[7067] = 24;
  sol[7068] = 18;
  sol[7069] = 48;
  sol[7070] = 0;
  sol[7071] = 30;
  sol[7072] = 6;
  sol[7073] = 42;
  sol[7074] = 18;
  sol[7075] = 81;
  sol[7076] = 18;
  sol[7077] = 54;
  sol[7078] = 27;
  sol[7079] = 24;
  sol[7080] = 12;
  sol[7081] = 30;
  sol[7082] = 18;
  sol[7083] = 84;
  sol[7084] = 30;
  sol[7085] = 24;
  sol[7086] = 0;
  sol[7087] = 102;
  sol[7088] = 9;
  sol[7089] = 42;
  sol[7090] = 42;
  sol[7091] = 36;
  sol[7092] = 24;
  sol[7093] = 90;
  sol[7094] = 3;
  sol[7095] = 30;
  sol[7096] = 0;
  sol[7097] = 60;
  sol[7098] = 30;
  sol[7099] = 42;
  sol[7100] = 18;
  sol[7101] = 24;
  sol[7102] = 0;
  sol[7103] = 18;
  sol[7104] = 0;
  sol[7105] = 78;
  sol[7106] = 12;
  sol[7107] = 42;
  sol[7108] = 27;
  sol[7109] = 42;
  sol[7110] = 18;
  sol[7111] = 66;
  sol[7112] = 18;
  sol[7113] = 45;
  sol[7114] = 18;
  sol[7115] = 42;
  sol[7116] = 9;
  sol[7117] = 84;
  sol[7118] = 0;
  sol[7119] = 54;
  sol[7120] = 6;
  sol[7121] = 15;
  sol[7122] = 54;
  sol[7123] = 63;
  sol[7124] = 18;
  sol[7125] = 54;
  sol[7126] = 24;
  sol[7127] = 24;
  sol[7128] = 9;
  sol[7129] = 57;
  sol[7130] = 24;
  sol[7131] = 45;
  sol[7132] = 54;
  sol[7133] = 36;
  sol[7134] = 0;
  sol[7135] = 60;
  sol[7136] = 0;
  sol[7137] = 66;
  sol[7138] = 27;
  sol[7139] = 33;
  sol[7140] = 18;
  sol[7141] = 30;
  sol[7142] = 9;
  sol[7143] = 60;
  sol[7144] = 24;
  sol[7145] = 30;
  sol[7146] = 12;
  sol[7147] = 54;
  sol[7148] = 21;
  sol[7149] = 24;
  sol[7150] = 0;
  sol[7151] = 12;
  sol[7152] = 18;
  sol[7153] = 108;
  sol[7154] = 15;
  sol[7155] = 66;
  sol[7156] = 12;
  sol[7157] = 30;
  sol[7158] = 27;
  sol[7159] = 66;
  sol[7160] = 0;
  sol[7161] = 36;
  sol[7162] = 30;
  sol[7163] = 36;
  sol[7164] = 24;
  sol[7165] = 66;
  sol[7166] = 0;
  sol[7167] = 60;
  sol[7168] = 0;
  sol[7169] = 9;
  sol[7170] = 24;
  sol[7171] = 54;
  sol[7172] = 12;
  sol[7173] = 90;
  sol[7174] = 15;
  sol[7175] = 42;
  sol[7176] = 0;
  sol[7177] = 51;
  sol[7178] = 30;
  sol[7179] = 18;
  sol[7180] = 30;
  sol[7181] = 48;
  sol[7182] = 0;
  sol[7183] = 84;
  sol[7184] = 9;
  sol[7185] = 48;
  sol[7186] = 21;
  sol[7187] = 54;
  sol[7188] = 30;
  sol[7189] = 24;
  sol[7190] = 18;
  sol[7191] = 36;
  sol[7192] = 12;
  sol[7193] = 45;
  sol[7194] = 18;
  sol[7195] = 96;
  sol[7196] = 6;
  sol[7197] = 30;
  sol[7198] = 0;
  sol[7199] = 30;
  sol[7200] = 9;
  sol[7201] = 30;
  sol[7202] = 24;
  sol[7203] = 42;
  sol[7204] = 24;
  sol[7205] = 24;
  sol[7206] = 15;
  sol[7207] = 66;
  sol[7208] = 6;
  sol[7209] = 69;
  sol[7210] = 36;
  sol[7211] = 15;
  sol[7212] = 15;
  sol[7213] = 84;
  sol[7214] = 0;
  sol[7215] = 36;
  sol[7216] = 15;
  sol[7217] = 48;
  sol[7218] = 27;
  sol[7219] = 45;
  sol[7220] = 18;
  sol[7221] = 42;
  sol[7222] = 30;
  sol[7223] = 36;
  sol[7224] = 0;
  sol[7225] = 66;
  sol[7226] = 6;
  sol[7227] = 72;
  sol[7228] = 30;
  sol[7229] = 48;
  sol[7230] = 0;
  sol[7231] = 42;
  sol[7232] = 3;
  sol[7233] = 51;
  sol[7234] = 39;
  sol[7235] = 30;
  sol[7236] = 33;
  sol[7237] = 78;
  sol[7238] = 12;
  sol[7239] = 24;
  sol[7240] = 18;
  sol[7241] = 30;
  sol[7242] = 18;
  sol[7243] = 105;
  sol[7244] = 21;
  sol[7245] = 72;
  sol[7246] = 0;
  sol[7247] = 42;
  sol[7248] = 12;
  sol[7249] = 39;
  sol[7250] = 18;
  sol[7251] = 27;
  sol[7252] = 42;
  sol[7253] = 24;
  sol[7254] = 6;
  sol[7255] = 66;
  sol[7256] = 3;
  sol[7257] = 60;
  sol[7258] = 42;
  sol[7259] = 30;
  sol[7260] = 30;
  sol[7261] = 60;
  sol[7262] = 0;
  sol[7263] = 54;
  sol[7264] = 6;
  sol[7265] = 54;
  sol[7266] = 24;
  sol[7267] = 57;
  sol[7268] = 6;
  sol[7269] = 54;
  sol[7270] = 6;
  sol[7271] = 24;
  sol[7272] = 24;
  sol[7273] = 54;
  sol[7274] = 12;
  sol[7275] = 57;
  sol[7276] = 27;
  sol[7277] = 42;
  sol[7278] = 0;
  sol[7279] = 48;
  sol[7280] = 6;
  sol[7281] = 36;
  sol[7282] = 27;
  sol[7283] = 57;
  sol[7284] = 12;
  sol[7285] = 84;
  sol[7286] = 12;
  sol[7287] = 60;
  sol[7288] = 0;
  sol[7289] = 12;
  sol[7290] = 30;
  sol[7291] = 54;
  sol[7292] = 24;
  sol[7293] = 48;
  sol[7294] = 0;
  sol[7295] = 18;
  sol[7296] = 3;
  sol[7297] = 105;
  sol[7298] = 36;
  sol[7299] = 48;
  sol[7300] = 42;
  sol[7301] = 24;
  sol[7302] = 18;
  sol[7303] = 48;
  sol[7304] = 6;
  sol[7305] = 30;
  sol[7306] = 36;
  sol[7307] = 45;
  sol[7308] = 42;
  sol[7309] = 42;
  sol[7310] = 0;
  sol[7311] = 54;
  sol[7312] = 9;
  sol[7313] = 36;
  sol[7314] = 12;
  sol[7315] = 48;
  sol[7316] = 12;
  sol[7317] = 54;
  sol[7318] = 30;
  sol[7319] = 30;
  sol[7320] = 6;
  sol[7321] = 48;
  sol[7322] = 6;
  sol[7323] = 51;
  sol[7324] = 18;
  sol[7325] = 36;
  sol[7326] = 0;
  sol[7327] = 102;
  sol[7328] = 6;
  sol[7329] = 18;
  sol[7330] = 30;
  sol[7331] = 33;
  sol[7332] = 24;
  sol[7333] = 48;
  sol[7334] = 18;
  sol[7335] = 60;
  sol[7336] = 12;
  sol[7337] = 60;
  sol[7338] = 30;
  sol[7339] = 45;
  sol[7340] = 12;
  sol[7341] = 36;
  sol[7342] = 0;
  sol[7343] = 54;
  sol[7344] = 12;
  sol[7345] = 60;
  sol[7346] = 6;
  sol[7347] = 48;
  sol[7348] = 54;
  sol[7349] = 12;
  sol[7350] = 13;
  sol[7351] = 60;
  sol[7352] = 0;
  sol[7353] = 72;
  sol[7354] = 18;
  sol[7355] = 24;
  sol[7356] = 6;
  sol[7357] = 90;
  sol[7358] = 0;
  sol[7359] = 48;
  sol[7360] = 12;
  sol[7361] = 15;
  sol[7362] = 42;
  sol[7363] = 96;
  sol[7364] = 18;
  sol[7365] = 36;
  sol[7366] = 18;
  sol[7367] = 36;
  sol[7368] = 6;
  sol[7369] = 78;
  sol[7370] = 24;
  sol[7371] = 48;
  sol[7372] = 18;
  sol[7373] = 30;
  sol[7374] = 0;
  sol[7375] = 48;
  sol[7376] = 18;
  sol[7377] = 78;
  sol[7378] = 42;
  sol[7379] = 24;
  sol[7380] = 30;
  sol[7381] = 60;
  sol[7382] = 6;
  sol[7383] = 60;
  sol[7384] = 12;
  sol[7385] = 18;
  sol[7386] = 12;
  sol[7387] = 42;
  sol[7388] = 30;
  sol[7389] = 42;
  sol[7390] = 0;
  sol[7391] = 24;
  sol[7392] = 0;
  sol[7393] = 81;
  sol[7394] = 9;
  sol[7395] = 54;
  sol[7396] = 18;
  sol[7397] = 60;
  sol[7398] = 33;
  sol[7399] = 48;
  sol[7400] = 0;
  sol[7401] = 27;
  sol[7402] = 54;
  sol[7403] = 51;
  sol[7404] = 27;
  sol[7405] = 90;
  sol[7406] = 0;
  sol[7407] = 60;
  sol[7408] = 18;
  sol[7409] = 24;
  sol[7410] = 18;
  sol[7411] = 54;
  sol[7412] = 24;
  sol[7413] = 36;
  sol[7414] = 12;
  sol[7415] = 42;
  sol[7416] = 0;
  sol[7417] = 87;
  sol[7418] = 24;
  sol[7419] = 33;
  sol[7420] = 18;
  sol[7421] = 24;
  sol[7422] = 0;
  sol[7423] = 96;
  sol[7424] = 0;
  sol[7425] = 87;
  sol[7426] = 36;
  sol[7427] = 30;
  sol[7428] = 15;
  sol[7429] = 42;
  sol[7430] = 12;
  sol[7431] = 36;
  sol[7432] = 24;
  sol[7433] = 24;
  sol[7434] = 36;
  sol[7435] = 42;
  sol[7436] = 21;
  sol[7437] = 48;
  sol[7438] = 0;
  sol[7439] = 30;
  sol[7440] = 6;
  sol[7441] = 42;
  sol[7442] = 18;
  sol[7443] = 48;
  sol[7444] = 24;
  sol[7445] = 24;
  sol[7446] = 18;
  sol[7447] = 84;
  sol[7448] = 3;
  sol[7449] = 36;
  sol[7450] = 42;
  sol[7451] = 42;
  sol[7452] = 36;
  sol[7453] = 72;
  sol[7454] = 0;
  sol[7455] = 54;
  sol[7456] = 6;
  sol[7457] = 30;
  sol[7458] = 15;
  sol[7459] = 60;
  sol[7460] = 6;
  sol[7461] = 78;
  sol[7462] = 30;
  sol[7463] = 24;
  sol[7464] = 6;
  sol[7465] = 72;
  sol[7466] = 6;
  sol[7467] = 66;
  sol[7468] = 45;
  sol[7469] = 24;
  sol[7470] = 0;
  sol[7471] = 42;
  sol[7472] = 21;
  sol[7473] = 36;
  sol[7474] = 30;
  sol[7475] = 36;
  sol[7476] = 18;
  sol[7477] = 48;
  sol[7478] = 12;
  sol[7479] = 30;
  sol[7480] = 0;
  sol[7481] = 39;
  sol[7482] = 24;
  sol[7483] = 102;
  sol[7484] = 18;
  sol[7485] = 36;
  sol[7486] = 0;
  sol[7487] = 12;
  sol[7488] = 6;
  sol[7489] = 54;
  sol[7490] = 6;
  sol[7491] = 30;
  sol[7492] = 33;
  sol[7493] = 66;
  sol[7494] = 21;
  sol[7495] = 90;
  sol[7496] = 3;
  sol[7497] = 78;
  sol[7498] = 36;
  sol[7499] = 9;
  sol[7500] = 18;
  sol[7501] = 36;
  sol[7502] = 0;
  sol[7503] = 84;
  sol[7504] = 0;
  sol[7505] = 30;
  sol[7506] = 30;
  sol[7507] = 93;
  sol[7508] = 24;
  sol[7509] = 30;
  sol[7510] = 24;
  sol[7511] = 30;
  sol[7512] = 15;
  sol[7513] = 63;
  sol[7514] = 12;
  sol[7515] = 48;
  sol[7516] = 30;
  sol[7517] = 54;
  sol[7518] = 0;
  sol[7519] = 48;
  sol[7520] = 0;
  sol[7521] = 54;
  sol[7522] = 42;
  sol[7523] = 42;
  sol[7524] = 30;
  sol[7525] = 78;
  sol[7526] = 0;
  sol[7527] = 36;
  sol[7528] = 24;
  sol[7529] = 39;
  sol[7530] = 24;
  sol[7531] = 60;
  sol[7532] = 12;
  sol[7533] = 78;
  sol[7534] = 0;
  sol[7535] = 60;
  sol[7536] = 6;
  sol[7537] = 51;
  sol[7538] = 30;
  sol[7539] = 36;
  sol[7540] = 36;
  sol[7541] = 30;
  sol[7542] = 18;
  sol[7543] = 60;
  sol[7544] = 0;
  sol[7545] = 30;
  sol[7546] = 30;
  sol[7547] = 51;
  sol[7548] = 24;
  sol[7549] = 60;
  sol[7550] = 0;
  sol[7551] = 42;
  sol[7552] = 3;
  sol[7553] = 24;
  sol[7554] = 9;
  sol[7555] = 54;
  sol[7556] = 21;
  sol[7557] = 24;
  sol[7558] = 33;
  sol[7559] = 30;
  sol[7560] = 24;
  sol[7561] = 66;
  sol[7562] = 24;
  sol[7563] = 69;
  sol[7564] = 18;
  sol[7565] = 30;
  sol[7566] = 0;
  sol[7567] = 102;
  sol[7568] = 15;
  sol[7569] = 54;
  sol[7570] = 24;
  sol[7571] = 15;
  sol[7572] = 30;
  sol[7573] = 120;
  sol[7574] = 6;
  sol[7575] = 30;
  sol[7576] = 3;
  sol[7577] = 51;
  sol[7578] = 24;
  sol[7579] = 54;
  sol[7580] = 12;
  sol[7581] = 30;
  sol[7582] = 0;
  sol[7583] = 36;
  sol[7584] = 6;
  sol[7585] = 36;
  sol[7586] = 12;
  sol[7587] = 90;
  sol[7588] = 42;
  sol[7589] = 12;
  sol[7590] = 12;
  sol[7591] = 60;
  sol[7592] = 12;
  sol[7593] = 60;
  sol[7594] = 24;
  sol[7595] = 42;
  sol[7596] = 12;
  sol[7597] = 90;
  sol[7598] = 0;
  sol[7599] = 24;
  sol[7600] = 12;
  sol[7601] = 42;
  sol[7602] = 30;
  sol[7603] = 30;
  sol[7604] = 6;
  sol[7605] = 78;
  sol[7606] = 21;
  sol[7607] = 42;
  sol[7608] = 0;
  sol[7609] = 54;
  sol[7610] = 24;
  sol[7611] = 27;
  sol[7612] = 54;
  sol[7613] = 24;
  sol[7614] = 0;
  sol[7615] = 66;
  sol[7616] = 6;
  sol[7617] = 45;
  sol[7618] = 30;
  sol[7619] = 12;
  sol[7620] = 30;
  sol[7621] = 42;
  sol[7622] = 12;
  sol[7623] = 84;
  sol[7624] = 15;
  sol[7625] = 36;
  sol[7626] = 18;
  sol[7627] = 84;
  sol[7628] = 24;
  sol[7629] = 36;
  sol[7630] = 0;
  sol[7631] = 30;
  sol[7632] = 18;
  sol[7633] = 72;
  sol[7634] = 18;
  sol[7635] = 60;
  sol[7636] = 24;
  sol[7637] = 48;
  sol[7638] = 12;
  sol[7639] = 54;
  sol[7640] = 6;
  sol[7641] = 36;
  sol[7642] = 54;
  sol[7643] = 42;
  sol[7644] = 12;
  sol[7645] = 42;
  sol[7646] = 0;
  sol[7647] = 60;
  sol[7648] = 0;
  sol[7649] = 51;
  sol[7650] = 48;
  sol[7651] = 54;
  sol[7652] = 9;
  sol[7653] = 36;
  sol[7654] = 27;
  sol[7655] = 24;
  sol[7656] = 6;
  sol[7657] = 84;
  sol[7658] = 18;
  sol[7659] = 48;
  sol[7660] = 30;
  sol[7661] = 42;
  sol[7662] = 0;
  sol[7663] = 78;
  sol[7664] = 0;
  sol[7665] = 48;
  sol[7666] = 27;
  sol[7667] = 27;
  sol[7668] = 48;
  sol[7669] = 42;
  sol[7670] = 18;
  sol[7671] = 36;
  sol[7672] = 0;
  sol[7673] = 39;
  sol[7674] = 18;
  sol[7675] = 99;
  sol[7676] = 24;
  sol[7677] = 102;
  sol[7678] = 0;
  sol[7679] = 18;
  sol[7680] = 0;
  sol[7681] = 48;
  sol[7682] = 18;
  sol[7683] = 72;
  sol[7684] = 15;
  sol[7685] = 36;
  sol[7686] = 12;
  sol[7687] = 84;
  sol[7688] = 12;
  sol[7689] = 24;
  sol[7690] = 12;
  sol[7691] = 30;
  sol[7692] = 39;
  sol[7693] = 84;
  sol[7694] = 0;
  sol[7695] = 36;
  sol[7696] = 12;
  sol[7697] = 39;
  sol[7698] = 39;
  sol[7699] = 63;
  sol[7700] = 24;
  sol[7701] = 42;
  sol[7702] = 24;
  sol[7703] = 66;
  sol[7704] = 6;
  sol[7705] = 72;
  sol[7706] = 18;
  sol[7707] = 18;
  sol[7708] = 24;
  sol[7709] = 30;
  sol[7710] = 0;
  sol[7711] = 60;
  sol[7712] = 6;
  sol[7713] = 48;
  sol[7714] = 42;
  sol[7715] = 36;
  sol[7716] = 15;
  sol[7717] = 78;
  sol[7718] = 6;
  sol[7719] = 48;
  sol[7720] = 30;
  sol[7721] = 12;
  sol[7722] = 36;
  sol[7723] = 54;
  sol[7724] = 12;
  sol[7725] = 36;
  sol[7726] = 0;
  sol[7727] = 42;
  sol[7728] = 6;
  sol[7729] = 45;
  sol[7730] = 6;
  sol[7731] = 69;
  sol[7732] = 24;
  sol[7733] = 72;
  sol[7734] = 21;
  sol[7735] = 48;
  sol[7736] = 0;
  sol[7737] = 57;
  sol[7738] = 48;
  sol[7739] = 12;
  sol[7740] = 24;
  sol[7741] = 48;
  sol[7742] = 0;
  sol[7743] = 48;
  sol[7744] = 3;
  sol[7745] = 48;
  sol[7746] = 15;
  sol[7747] = 78;
  sol[7748] = 24;
  sol[7749] = 60;
  sol[7750] = 18;
  sol[7751] = 12;
  sol[7752] = 12;
  sol[7753] = 111;
  sol[7754] = 24;
  sol[7755] = 54;
  sol[7756] = 24;
  sol[7757] = 24;
  sol[7758] = 0;
  sol[7759] = 48;
  sol[7760] = 6;
  sol[7761] = 36;
  sol[7762] = 33;
  sol[7763] = 42;
  sol[7764] = 6;
  sol[7765] = 54;
  sol[7766] = 9;
  sol[7767] = 72;
  sol[7768] = 18;
  sol[7769] = 27;
  sol[7770] = 30;
  sol[7771] = 30;
  sol[7772] = 12;
  sol[7773] = 54;
  sol[7774] = 0;
  sol[7775] = 66;
  sol[7776] = 4;
  sol[7777] = 78;
  sol[7778] = 21;
  sol[7779] = 24;
  sol[7780] = 54;
  sol[7781] = 18;
  sol[7782] = 24;
  sol[7783] = 54;
  sol[7784] = 6;
  sol[7785] = 60;
  sol[7786] = 24;
  sol[7787] = 54;
  sol[7788] = 21;
  sol[7789] = 78;
  sol[7790] = 0;
  sol[7791] = 36;
  sol[7792] = 18;
  sol[7793] = 54;
  sol[7794] = 30;
  sol[7795] = 66;
  sol[7796] = 18;
  sol[7797] = 48;
  sol[7798] = 30;
  sol[7799] = 24;
  sol[7800] = 0;
  sol[7801] = 42;
  sol[7802] = 12;
  sol[7803] = 99;
  sol[7804] = 36;
  sol[7805] = 30;
  sol[7806] = 0;
  sol[7807] = 90;
  sol[7808] = 6;
  sol[7809] = 18;
  sol[7810] = 30;
  sol[7811] = 30;
  sol[7812] = 24;
  sol[7813] = 78;
  sol[7814] = 6;
  sol[7815] = 66;
  sol[7816] = 9;
  sol[7817] = 24;
  sol[7818] = 42;
  sol[7819] = 78;
  sol[7820] = 30;
  sol[7821] = 42;
  sol[7822] = 0;
  sol[7823] = 18;
  sol[7824] = 12;
  sol[7825] = 102;
  sol[7826] = 6;
  sol[7827] = 33;
  sol[7828] = 24;
  sol[7829] = 18;
  sol[7830] = 12;
  sol[7831] = 66;
  sol[7832] = 9;
  sol[7833] = 54;
  sol[7834] = 24;
  sol[7835] = 24;
  sol[7836] = 36;
  sol[7837] = 84;
  sol[7838] = 0;
  sol[7839] = 60;
  sol[7840] = 6;
  sol[7841] = 39;
  sol[7842] = 15;
  sol[7843] = 78;
  sol[7844] = 12;
  sol[7845] = 42;
  sol[7846] = 21;
  sol[7847] = 42;
  sol[7848] = 18;
  sol[7849] = 42;
  sol[7850] = 18;
  sol[7851] = 18;
  sol[7852] = 42;
  sol[7853] = 24;
  sol[7854] = 0;
  sol[7855] = 48;
  sol[7856] = 3;
  sol[7857] = 105;
  sol[7858] = 51;
  sol[7859] = 42;
  sol[7860] = 30;
  sol[7861] = 42;
  sol[7862] = 18;
  sol[7863] = 72;
  sol[7864] = 0;
  sol[7865] = 24;
  sol[7866] = 24;
  sol[7867] = 102;
  sol[7868] = 6;
  sol[7869] = 36;
  sol[7870] = 0;
  sol[7871] = 36;
  sol[7872] = 9;
  sol[7873] = 99;
  sol[7874] = 12;
  sol[7875] = 48;
  sol[7876] = 21;
  sol[7877] = 48;
  sol[7878] = 18;
  sol[7879] = 42;
  sol[7880] = 6;
  sol[7881] = 36;
  sol[7882] = 42;
  sol[7883] = 18;
  sol[7884] = 12;
  sol[7885] = 78;
  sol[7886] = 0;
  sol[7887] = 48;
  sol[7888] = 30;
  sol[7889] = 30;
  sol[7890] = 18;
  sol[7891] = 36;
  sol[7892] = 30;
  sol[7893] = 42;
  sol[7894] = 9;
  sol[7895] = 42;
  sol[7896] = 6;
  sol[7897] = 60;
  sol[7898] = 12;
  sol[7899] = 39;
  sol[7900] = 30;
  sol[7901] = 24;
  sol[7902] = 0;
  sol[7903] = 78;
  sol[7904] = 0;
  sol[7905] = 48;
  sol[7906] = 30;
  sol[7907] = 39;
  sol[7908] = 27;
  sol[7909] = 102;
  sol[7910] = 24;
  sol[7911] = 30;
  sol[7912] = 12;
  sol[7913] = 51;
  sol[7914] = 12;
  sol[7915] = 66;
  sol[7916] = 9;
  sol[7917] = 48;
  sol[7918] = 0;
  sol[7919] = 30;
  sol[7920] = 18;
  sol[7921] = 45;
  sol[7922] = 39;
  sol[7923] = 87;
  sol[7924] = 30;
  sol[7925] = 36;
  sol[7926] = 9;
  sol[7927] = 72;
  sol[7928] = 0;
  sol[7929] = 60;
  sol[7930] = 24;
  sol[7931] = 30;
  sol[7932] = 36;
  sol[7933] = 54;
  sol[7934] = 0;
  sol[7935] = 48;
  sol[7936] = 0;
  sol[7937] = 45;
  sol[7938] = 36;
  sol[7939] = 45;
  sol[7940] = 18;
  sol[7941] = 42;
  sol[7942] = 27;
  sol[7943] = 60;
  sol[7944] = 9;
  sol[7945] = 66;
  sol[7946] = 12;
  sol[7947] = 78;
  sol[7948] = 42;
  sol[7949] = 18;
  sol[7950] = 0;
  sol[7951] = 60;
  sol[7952] = 6;
  sol[7953] = 60;
  sol[7954] = 33;
  sol[7955] = 36;
  sol[7956] = 24;
  sol[7957] = 96;
  sol[7958] = 12;
  sol[7959] = 18;
  sol[7960] = 12;
  sol[7961] = 12;
  sol[7962] = 36;
  sol[7963] = 72;
  sol[7964] = 0;
  sol[7965] = 78;
  sol[7966] = 0;
  sol[7967] = 36;
  sol[7968] = 6;
  sol[7969] = 60;
  sol[7970] = 24;
  sol[7971] = 27;
  sol[7972] = 51;
  sol[7973] = 42;
  sol[7974] = 24;
  sol[7975] = 84;
  sol[7976] = 12;
  sol[7977] = 57;
  sol[7978] = 48;
  sol[7979] = 30;
  sol[7980] = 24;
  sol[7981] = 42;
  sol[7982] = 0;
  sol[7983] = 60;
  sol[7984] = 12;
  sol[7985] = 24;
  sol[7986] = 18;
  sol[7987] = 96;
  sol[7988] = 12;
  sol[7989] = 30;
  sol[7990] = 30;
  sol[7991] = 30;
  sol[7992] = 0;
  sol[7993] = 93;
  sol[7994] = 18;
  sol[7995] = 48;
  sol[7996] = 18;
  sol[7997] = 60;
  sol[7998] = 0;
  sol[7999] = 48;
  sol[8000] = 6;
  sol[8001] = 54;
  sol[8002] = 36;
  sol[8003] = 30;
  sol[8004] = 12;
  sol[8005] = 42;
  sol[8006] = 9;
  sol[8007] = 60;
  sol[8008] = 18;
  sol[8009] = 12;
  sol[8010] = 24;
  sol[8011] = 69;
  sol[8012] = 6;
  sol[8013] = 60;
  sol[8014] = 0;
  sol[8015] = 54;
  sol[8016] = 6;
  sol[8017] = 33;
  sol[8018] = 15;
  sol[8019] = 60;
  sol[8020] = 36;
  sol[8021] = 30;
  sol[8022] = 18;
  sol[8023] = 90;
  sol[8024] = 3;
  sol[8025] = 72;
  sol[8026] = 24;
  sol[8027] = 54;
  sol[8028] = 54;
  sol[8029] = 42;
  sol[8030] = 0;
  sol[8031] = 18;
  sol[8032] = 9;
  sol[8033] = 60;
  sol[8034] = 30;
  sol[8035] = 84;
  sol[8036] = 18;
  sol[8037] = 48;
  sol[8038] = 24;
  sol[8039] = 12;
  sol[8040] = 6;
  sol[8041] = 66;
  sol[8042] = 36;
  sol[8043] = 24;
  sol[8044] = 27;
  sol[8045] = 24;
  sol[8046] = 0;
  sol[8047] = 42;
  sol[8048] = 12;
  sol[8049] = 39;
  sol[8050] = 42;
  sol[8051] = 27;
  sol[8052] = 18;
  sol[8053] = 108;
  sol[8054] = 9;
  sol[8055] = 78;
  sol[8056] = 0;
  sol[8057] = 48;
  sol[8058] = 12;
  sol[8059] = 54;
  sol[8060] = 30;
  sol[8061] = 30;
  sol[8062] = 0;
  sol[8063] = 36;
  sol[8064] = 0;
  sol[8065] = 48;
  sol[8066] = 12;
  sol[8067] = 75;
  sol[8068] = 39;
  sol[8069] = 30;
  sol[8070] = 6;
  sol[8071] = 42;
  sol[8072] = 9;
  sol[8073] = 66;
  sol[8074] = 30;
  sol[8075] = 33;
  sol[8076] = 18;
  sol[8077] = 96;
  sol[8078] = 0;
  sol[8079] = 48;
  sol[8080] = 18;
  sol[8081] = 39;
  sol[8082] = 36;
  sol[8083] = 102;
  sol[8084] = 12;
  sol[8085] = 54;
  sol[8086] = 18;
  sol[8087] = 24;
  sol[8088] = 9;
  sol[8089] = 45;
  sol[8090] = 24;
  sol[8091] = 72;
  sol[8092] = 30;
  sol[8093] = 36;
  sol[8094] = 0;
  sol[8095] = 78;
  sol[8096] = 6;
  sol[8097] = 63;
  sol[8098] = 36;
  sol[8099] = 36;
  sol[8100] = 21;
  sol[8101] = 60;
  sol[8102] = 9;
  sol[8103] = 36;
  sol[8104] = 12;
  sol[8105] = 54;
  sol[8106] = 24;
  sol[8107] = 78;
  sol[8108] = 27;
  sol[8109] = 42;
  sol[8110] = 0;
  sol[8111] = 42;
  sol[8112] = 18;
  sol[8113] = 60;
  sol[8114] = 9;
  sol[8115] = 24;
  sol[8116] = 24;
  sol[8117] = 54;
  sol[8118] = 39;
  sol[8119] = 84;
  sol[8120] = 0;
  sol[8121] = 27;
  sol[8122] = 36;
  sol[8123] = 39;
  sol[8124] = 12;
  sol[8125] = 84;
  sol[8126] = 0;
  sol[8127] = 66;
  sol[8128] = 0;
  sol[8129] = 21;
  sol[8130] = 30;
  sol[8131] = 30;
  sol[8132] = 42;
  sol[8133] = 66;
  sol[8134] = 18;
  sol[8135] = 18;
  sol[8136] = 18;
  sol[8137] = 78;
  sol[8138] = 12;
  sol[8139] = 48;
  sol[8140] = 42;
  sol[8141] = 36;
  sol[8142] = 0;
  sol[8143] = 90;
  sol[8144] = 6;
  sol[8145] = 48;
  sol[8146] = 33;
  sol[8147] = 39;
  sol[8148] = 24;
  sol[8149] = 48;
  sol[8150] = 15;
  sol[8151] = 54;
  sol[8152] = 15;
  sol[8153] = 54;
  sol[8154] = 24;
  sol[8155] = 48;
  sol[8156] = 18;
  sol[8157] = 60;
  sol[8158] = 0;
  sol[8159] = 24;
  sol[8160] = 0;
  sol[8161] = 48;
  sol[8162] = 24;
  sol[8163] = 78;
  sol[8164] = 24;
  sol[8165] = 36;
  sol[8166] = 9;
  sol[8167] = 90;
  sol[8168] = 12;
  sol[8169] = 42;
  sol[8170] = 24;
  sol[8171] = 30;
  sol[8172] = 45;
  sol[8173] = 54;
  sol[8174] = 0;
  sol[8175] = 66;
  sol[8176] = 12;
  sol[8177] = 24;
  sol[8178] = 12;
  sol[8179] = 60;
  sol[8180] = 6;
  sol[8181] = 48;
  sol[8182] = 33;
  sol[8183] = 48;
  sol[8184] = 0;
  sol[8185] = 60;
  sol[8186] = 6;
  sol[8187] = 51;
  sol[8188] = 54;
  sol[8189] = 12;
  sol[8190] = 0;
  sol[8191] = 30;
  sol[8192] = 0;
  sol[8193] = 69;
  sol[8194] = 21;
  sol[8195] = 42;
  sol[8196] = 15;
  sol[8197] = 72;
  sol[8198] = 15;
  sol[8199] = 48;
  sol[8200] = 21;
  sol[8201] = 33;
  sol[8202] = 36;
  sol[8203] = 96;
  sol[8204] = 6;
  sol[8205] = 30;
  sol[8206] = 0;
  sol[8207] = 54;
  sol[8208] = 6;
  sol[8209] = 87;
  sol[8210] = 30;
  sol[8211] = 42;
  sol[8212] = 30;
  sol[8213] = 36;
  sol[8214] = 13;
  sol[8215] = 42;
  sol[8216] = 6;
  sol[8217] = 84;
  sol[8218] = 48;
  sol[8219] = 18;
  sol[8220] = 18;
  sol[8221] = 72;
  sol[8222] = 0;
  sol[8223] = 54;
  sol[8224] = 12;
  sol[8225] = 30;
  sol[8226] = 30;
  sol[8227] = 75;
  sol[8228] = 24;
  sol[8229] = 36;
  sol[8230] = 24;
  sol[8231] = 42;
  sol[8232] = 18;
  sol[8233] = 78;
  sol[8234] = 12;
  sol[8235] = 36;
  sol[8236] = 30;
  sol[8237] = 72;
  sol[8238] = 0;
  sol[8239] = 48;
  sol[8240] = 6;
  sol[8241] = 33;
  sol[8242] = 36;
  sol[8243] = 57;
  sol[8244] = 36;
  sol[8245] = 66;
  sol[8246] = 6;
  sol[8247] = 54;
  sol[8248] = 0;
  sol[8249] = 27;
  sol[8250] = 36;
  sol[8251] = 66;
  sol[8252] = 12;
  sol[8253] = 90;
  sol[8254] = 0;
  sol[8255] = 24;
  sol[8256] = 3;
  sol[8257] = 96;
  sol[8258] = 24;
  sol[8259] = 27;
  sol[8260] = 24;
  sol[8261] = 18;
  sol[8262] = 24;
  sol[8263] = 108;
  sol[8264] = 12;
  sol[8265] = 42;
  sol[8266] = 48;
  sol[8267] = 24;
  sol[8268] = 18;
  sol[8269] = 30;
  sol[8270] = 0;
  sol[8271] = 54;
  sol[8272] = 18;
  sol[8273] = 48;
  sol[8274] = 12;
  sol[8275] = 75;
  sol[8276] = 18;
  sol[8277] = 90;
  sol[8278] = 21;
  sol[8279] = 36;
  sol[8280] = 12;
  sol[8281] = 72;
  sol[8282] = 12;
  sol[8283] = 45;
  sol[8284] = 24;
  sol[8285] = 24;
  sol[8286] = 0;
  sol[8287] = 114;
  sol[8288] = 0;
  sol[8289] = 27;
  sol[8290] = 30;
  sol[8291] = 39;
  sol[8292] = 33;
  sol[8293] = 48;
  sol[8294] = 12;
  sol[8295] = 54;
  sol[8296] = 12;
  sol[8297] = 18;
  sol[8298] = 42;
  sol[8299] = 45;
  sol[8300] = 27;
  sol[8301] = 48;
  sol[8302] = 0;
  sol[8303] = 48;
  sol[8304] = 6;
  sol[8305] = 90;
  sol[8306] = 9;
  sol[8307] = 60;
  sol[8308] = 42;
  sol[8309] = 36;
  sol[8310] = 12;
  sol[8311] = 48;
  sol[8312] = 0;
  sol[8313] = 36;
  sol[8314] = 42;
  sol[8315] = 42;
  sol[8316] = 18;
  sol[8317] = 78;
  sol[8318] = 0;
  sol[8319] = 30;
  sol[8320] = 6;
  sol[8321] = 24;
  sol[8322] = 33;
  sol[8323] = 78;
  sol[8324] = 9;
  sol[8325] = 84;
  sol[8326] = 30;
  sol[8327] = 18;
  sol[8328] = 15;
  sol[8329] = 63;
  sol[8330] = 18;
  sol[8331] = 51;
  sol[8332] = 30;
  sol[8333] = 48;
  sol[8334] = 0;
  sol[8335] = 72;
  sol[8336] = 6;
  sol[8337] = 36;
  sol[8338] = 51;
  sol[8339] = 24;
  sol[8340] = 30;
  sol[8341] = 48;
  sol[8342] = 21;
  sol[8343] = 96;
  sol[8344] = 6;
  sol[8345] = 24;
  sol[8346] = 6;
  sol[8347] = 93;
  sol[8348] = 12;
  sol[8349] = 48;
  sol[8350] = 0;
  sol[8351] = 18;
  sol[8352] = 6;
  sol[8353] = 69;
  sol[8354] = 18;
  sol[8355] = 36;
  sol[8356] = 18;
  sol[8357] = 24;
  sol[8358] = 18;
  sol[8359] = 24;
  sol[8360] = 6;
  sol[8361] = 54;
  sol[8362] = 36;
  sol[8363] = 51;
  sol[8364] = 33;
  sol[8365] = 96;
  sol[8366] = 0;
  sol[8367] = 36;
  sol[8368] = 15;
  sol[8369] = 27;
  sol[8370] = 30;
  sol[8371] = 54;
  sol[8372] = 30;
  sol[8373] = 42;
  sol[8374] = 12;
  sol[8375] = 36;
  sol[8376] = 0;
  sol[8377] = 117;
  sol[8378] = 36;
  sol[8379] = 54;
  sol[8380] = 36;
  sol[8381] = 24;
  sol[8382] = 0;
  sol[8383] = 96;
  sol[8384] = 3;
  sol[8385] = 72;
  sol[8386] = 36;
  sol[8387] = 57;
  sol[8388] = 27;
  sol[8389] = 54;
  sol[8390] = 6;
  sol[8391] = 54;
  sol[8392] = 21;
  sol[8393] = 36;
  sol[8394] = 12;
  sol[8395] = 66;
  sol[8396] = 33;
  sol[8397] = 60;
  sol[8398] = 0;
  sol[8399] = 30;
  sol[8400] = 24;
  sol[8401] = 24;
  sol[8402] = 15;
  sol[8403] = 63;
  sol[8404] = 30;
  sol[8405] = 42;
  sol[8406] = 24;
  sol[8407] = 78;
  sol[8408] = 9;
  sol[8409] = 39;
  sol[8410] = 30;
  sol[8411] = 24;
  sol[8412] = 24;
  sol[8413] = 138;
  sol[8414] = 0;
  sol[8415] = 42;
  sol[8416] = 0;
  sol[8417] = 54;
  sol[8418] = 24;
  sol[8419] = 57;
  sol[8420] = 12;
  sol[8421] = 30;
  sol[8422] = 24;
  sol[8423] = 42;
  sol[8424] = 18;
  sol[8425] = 54;
  sol[8426] = 6;
  sol[8427] = 60;
  sol[8428] = 33;
  sol[8429] = 24;
  sol[8430] = 0;
  sol[8431] = 72;
  sol[8432] = 6;
  sol[8433] = 84;
  sol[8434] = 24;
  sol[8435] = 42;
  sol[8436] = 6;
  sol[8437] = 66;
  sol[8438] = 15;
  sol[8439] = 36;
  sol[8440] = 0;
  sol[8441] = 42;
  sol[8442] = 48;
  sol[8443] = 51;
  sol[8444] = 18;
  sol[8445] = 66;
  sol[8446] = 0;
  sol[8447] = 60;
  sol[8448] = 3;
  sol[8449] = 60;
  sol[8450] = 12;
  sol[8451] = 60;
  sol[8452] = 57;
  sol[8453] = 42;
  sol[8454] = 9;
  sol[8455] = 72;
  sol[8456] = 12;
  sol[8457] = 60;
  sol[8458] = 42;
  sol[8459] = 27;
  sol[8460] = 24;
  sol[8461] = 60;
  sol[8462] = 0;
  sol[8463] = 42;
  sol[8464] = 18;
  sol[8465] = 24;
  sol[8466] = 30;
  sol[8467] = 48;
  sol[8468] = 30;
  sol[8469] = 36;
  sol[8470] = 18;
  sol[8471] = 30;
  sol[8472] = 9;
  sol[8473] = 78;
  sol[8474] = 12;
  sol[8475] = 51;
  sol[8476] = 18;
  sol[8477] = 30;
  sol[8478] = 0;
  sol[8479] = 60;
  sol[8480] = 0;
  sol[8481] = 12;
  sol[8482] = 57;
  sol[8483] = 51;
  sol[8484] = 18;
  sol[8485] = 78;
  sol[8486] = 6;
  sol[8487] = 102;
  sol[8488] = 12;
  sol[8489] = 30;
  sol[8490] = 24;
  sol[8491] = 48;
  sol[8492] = 27;
  sol[8493] = 36;
  sol[8494] = 0;
  sol[8495] = 30;
  sol[8496] = 12;
  sol[8497] = 126;
  sol[8498] = 6;
  sol[8499] = 27;
  sol[8500] = 36;
  sol[8501] = 30;
  sol[8502] = 18;
  sol[8503] = 66;
  sol[8504] = 0;
  sol[8505] = 60;
  sol[8506] = 30;
  sol[8507] = 48;
  sol[8508] = 36;
  sol[8509] = 48;
  sol[8510] = 0;
  sol[8511] = 24;
  sol[8512] = 6;
  sol[8513] = 39;
  sol[8514] = 24;
  sol[8515] = 96;
  sol[8516] = 12;
  sol[8517] = 90;
  sol[8518] = 33;
  sol[8519] = 36;
  sol[8520] = 6;
  sol[8521] = 39;
  sol[8522] = 6;
  sol[8523] = 90;
  sol[8524] = 27;
  sol[8525] = 36;
  sol[8526] = 0;
  sol[8527] = 60;
  sol[8528] = 12;
  sol[8529] = 45;
  sol[8530] = 42;
  sol[8531] = 30;
  sol[8532] = 30;
  sol[8533] = 72;
  sol[8534] = 12;
  sol[8535] = 36;
  sol[8536] = 9;
  sol[8537] = 39;
  sol[8538] = 36;
  sol[8539] = 69;
  sol[8540] = 24;
  sol[8541] = 48;
  sol[8542] = 0;
  sol[8543] = 36;
  sol[8544] = 6;
  sol[8545] = 66;
  sol[8546] = 15;
  sol[8547] = 72;
  sol[8548] = 39;
  sol[8549] = 36;
  sol[8550] = 27;
  sol[8551] = 54;
  sol[8552] = 18;
  sol[8553] = 57;
  sol[8554] = 30;
  sol[8555] = 42;
  sol[8556] = 12;
  sol[8557] = 60;
  sol[8558] = 0;
  sol[8559] = 84;
  sol[8560] = 24;
  sol[8561] = 36;
  sol[8562] = 27;
  sol[8563] = 72;
  sol[8564] = 12;
  sol[8565] = 48;
  sol[8566] = 21;
  sol[8567] = 60;
  sol[8568] = 0;
  sol[8569] = 51;
  sol[8570] = 30;
  sol[8571] = 27;
  sol[8572] = 30;
  sol[8573] = 90;
  sol[8574] = 0;
  sol[8575] = 78;
  sol[8576] = 0;
  sol[8577] = 42;
  sol[8578] = 57;
  sol[8579] = 12;
  sol[8580] = 30;
  sol[8581] = 48;
  sol[8582] = 18;
  sol[8583] = 42;
  sol[8584] = 6;
  sol[8585] = 48;
  sol[8586] = 24;
  sol[8587] = 90;
  sol[8588] = 15;
  sol[8589] = 42;
  sol[8590] = 0;
  sol[8591] = 12;
  sol[8592] = 15;
  sol[8593] = 84;
  sol[8594] = 24;
  sol[8595] = 72;
  sol[8596] = 18;
  sol[8597] = 48;
  sol[8598] = 21;
  sol[8599] = 66;
  sol[8600] = 3;
  sol[8601] = 54;
  sol[8602] = 42;
  sol[8603] = 30;
  sol[8604] = 24;
  sol[8605] = 48;
  sol[8606] = 0;
  sol[8607] = 36;
  sol[8608] = 18;
  sol[8609] = 27;
  sol[8610] = 12;
  sol[8611] = 42;
  sol[8612] = 9;
  sol[8613] = 108;
  sol[8614] = 18;
  sol[8615] = 36;
  sol[8616] = 12;
  sol[8617] = 96;
  sol[8618] = 24;
  sol[8619] = 21;
  sol[8620] = 30;
  sol[8621] = 24;
  sol[8622] = 0;
  sol[8623] = 96;
  sol[8624] = 9;
  sol[8625] = 54;
  sol[8626] = 18;
  sol[8627] = 75;
  sol[8628] = 30;
  sol[8629] = 54;
  sol[8630] = 18;
  sol[8631] = 36;
  sol[8632] = 0;
  sol[8633] = 39;
  sol[8634] = 18;
  sol[8635] = 84;
  sol[8636] = 18;
  sol[8637] = 42;
  sol[8638] = 0;
  sol[8639] = 24;
  sol[8640] = 6;
  sol[8641] = 54;
  sol[8642] = 18;
  sol[8643] = 57;
  sol[8644] = 42;
  sol[8645] = 24;
  sol[8646] = 9;
  sol[8647] = 84;
  sol[8648] = 18;
  sol[8649] = 48;
  sol[8650] = 42;
  sol[8651] = 27;
  sol[8652] = 30;
  sol[8653] = 78;
  sol[8654] = 0;
  sol[8655] = 60;
  sol[8656] = 0;
  sol[8657] = 30;
  sol[8658] = 48;
  sol[8659] = 36;
  sol[8660] = 6;
  sol[8661] = 30;
  sol[8662] = 36;
  sol[8663] = 6;
  sol[8664] = 10;
  sol[8665] = 78;
  sol[8666] = 12;
  sol[8667] = 51;
  sol[8668] = 48;
  sol[8669] = 48;
  sol[8670] = 0;
  sol[8671] = 90;
  sol[8672] = 0;
  sol[8673] = 75;
  sol[8674] = 9;
  sol[8675] = 42;
  sol[8676] = 24;
  sol[8677] = 48;
  sol[8678] = 15;
  sol[8679] = 72;
  sol[8680] = 12;
  sol[8681] = 33;
  sol[8682] = 42;
  sol[8683] = 108;
  sol[8684] = 12;
  sol[8685] = 54;
  sol[8686] = 0;
  sol[8687] = 54;
  sol[8688] = 18;
  sol[8689] = 51;
  sol[8690] = 42;
  sol[8691] = 36;
  sol[8692] = 48;
  sol[8693] = 48;
  sol[8694] = 12;
  sol[8695] = 72;
  sol[8696] = 0;
  sol[8697] = 42;
  sol[8698] = 18;
  sol[8699] = 45;
  sol[8700] = 30;
  sol[8701] = 66;
  sol[8702] = 0;
  sol[8703] = 78;
  sol[8704] = 3;
  sol[8705] = 36;
  sol[8706] = 15;
  sol[8707] = 78;
  sol[8708] = 30;
  sol[8709] = 30;
  sol[8710] = 30;
  sol[8711] = 30;
  sol[8712] = 15;
  sol[8713] = 102;
  sol[8714] = 12;
  sol[8715] = 54;
  sol[8716] = 18;
  sol[8717] = 30;
  sol[8718] = 0;
  sol[8719] = 36;
  sol[8720] = 6;
  sol[8721] = 81;
  sol[8722] = 48;
  sol[8723] = 12;
  sol[8724] = 24;
  sol[8725] = 108;
  sol[8726] = 6;
  sol[8727] = 78;
  sol[8728] = 18;
  sol[8729] = 24;
  sol[8730] = 36;
  sol[8731] = 33;
  sol[8732] = 18;
  sol[8733] = 30;
  sol[8734] = 0;
  sol[8735] = 30;
  sol[8736] = 0;
  sol[8737] = 108;
  sol[8738] = 21;
  sol[8739] = 54;
  sol[8740] = 42;
  sol[8741] = 18;
  sol[8742] = 18;
  sol[8743] = 90;
  sol[8744] = 6;
  sol[8745] = 30;
  sol[8746] = 48;
  sol[8747] = 69;
  sol[8748] = 36;
  sol[8749] = 48;
  sol[8750] = 0;
  sol[8751] = 24;
  sol[8752] = 15;
  sol[8753] = 24;
  sol[8754] = 15;
  sol[8755] = 84;
  sol[8756] = 24;
  sol[8757] = 114;
  sol[8758] = 6;
  sol[8759] = 30;
  sol[8760] = 0;
  sol[8761] = 48;
  sol[8762] = 6;
  sol[8763] = 60;
  sol[8764] = 42;
  sol[8765] = 24;
  sol[8766] = 0;
  sol[8767] = 102;
  sol[8768] = 12;
  sol[8769] = 42;
  sol[8770] = 42;
  sol[8771] = 27;
  sol[8772] = 21;
  sol[8773] = 78;
  sol[8774] = 9;
  sol[8775] = 42;
  sol[8776] = 24;
  sol[8777] = 51;
  sol[8778] = 24;
  sol[8779] = 42;
  sol[8780] = 12;
  sol[8781] = 48;
  sol[8782] = 0;
  sol[8783] = 60;
  sol[8784] = 12;
  sol[8785] = 66;
  sol[8786] = 6;
  sol[8787] = 42;
  sol[8788] = 24;
  sol[8789] = 30;
  sol[8790] = 24;
  sol[8791] = 42;
  sol[8792] = 0;
  sol[8793] = 78;
  sol[8794] = 24;
  sol[8795] = 54;
  sol[8796] = 12;
  sol[8797] = 66;
  sol[8798] = 0;
  sol[8799] = 30;
  sol[8800] = 6;
  sol[8801] = 24;
  sol[8802] = 51;
  sol[8803] = 99;
  sol[8804] = 18;
  sol[8805] = 60;
  sol[8806] = 24;
  sol[8807] = 42;
  sol[8808] = 18;
  sol[8809] = 54;
  sol[8810] = 6;
  sol[8811] = 45;
  sol[8812] = 60;
  sol[8813] = 36;
  sol[8814] = 0;
  sol[8815] = 54;
  sol[8816] = 6;
  sol[8817] = 39;
  sol[8818] = 39;
  sol[8819] = 39;
  sol[8820] = 30;
  sol[8821] = 66;
  sol[8822] = 18;
  sol[8823] = 72;
  sol[8824] = 0;
  sol[8825] = 51;
  sol[8826] = 24;
  sol[8827] = 102;
  sol[8828] = 12;
  sol[8829] = 54;
  sol[8830] = 0;
  sol[8831] = 24;
  sol[8832] = 0;
  sol[8833] = 102;
  sol[8834] = 12;
  sol[8835] = 48;
  sol[8836] = 24;
  sol[8837] = 42;
  sol[8838] = 36;
  sol[8839] = 60;
  sol[8840] = 0;
  sol[8841] = 12;
  sol[8842] = 48;
  sol[8843] = 18;
  sol[8844] = 12;
  sol[8845] = 54;
  sol[8846] = 0;
  sol[8847] = 84;
  sol[8848] = 18;
  sol[8849] = 39;
  sol[8850] = 9;
  sol[8851] = 84;
  sol[8852] = 30;
  sol[8853] = 66;
  sol[8854] = 18;
  sol[8855] = 48;
  sol[8856] = 15;
  sol[8857] = 72;
  sol[8858] = 48;
  sol[8859] = 39;
  sol[8860] = 42;
  sol[8861] = 48;
  sol[8862] = 0;
  sol[8863] = 60;
  sol[8864] = 0;
  sol[8865] = 84;
  sol[8866] = 30;
  sol[8867] = 45;
  sol[8868] = 33;
  sol[8869] = 54;
  sol[8870] = 6;
  sol[8871] = 54;
  sol[8872] = 30;
  sol[8873] = 33;
  sol[8874] = 30;
  sol[8875] = 90;
  sol[8876] = 6;
  sol[8877] = 54;
  sol[8878] = 0;
  sol[8879] = 24;
  sol[8880] = 6;
  sol[8881] = 72;
  sol[8882] = 27;
  sol[8883] = 78;
  sol[8884] = 12;
  sol[8885] = 24;
  sol[8886] = 15;
  sol[8887] = 66;
  sol[8888] = 0;
  sol[8889] = 54;
  sol[8890] = 36;
  sol[8891] = 21;
  sol[8892] = 42;
  sol[8893] = 114;
  sol[8894] = 0;
  sol[8895] = 60;
  sol[8896] = 3;
  sol[8897] = 30;
  sol[8898] = 33;
  sol[8899] = 54;
  sol[8900] = 27;
  sol[8901] = 30;
  sol[8902] = 33;
  sol[8903] = 60;
  sol[8904] = 6;
  sol[8905] = 54;
  sol[8906] = 12;
  sol[8907] = 48;
  sol[8908] = 33;
  sol[8909] = 36;
  sol[8910] = 0;
  sol[8911] = 42;
  sol[8912] = 12;
  sol[8913] = 45;
  sol[8914] = 39;
  sol[8915] = 24;
  sol[8916] = 36;
  sol[8917] = 96;
  sol[8918] = 18;
  sol[8919] = 24;
  sol[8920] = 12;
  sol[8921] = 33;
  sol[8922] = 18;
  sol[8923] = 99;
  sol[8924] = 18;
  sol[8925] = 66;
  sol[8926] = 0;
  sol[8927] = 36;
  sol[8928] = 0;
  sol[8929] = 51;
  sol[8930] = 24;
  sol[8931] = 30;
  sol[8932] = 30;
  sol[8933] = 36;
  sol[8934] = 15;
  sol[8935] = 84;
  sol[8936] = 6;
  sol[8937] = 102;
  sol[8938] = 48;
  sol[8939] = 48;
  sol[8940] = 18;
  sol[8941] = 60;
  sol[8942] = 0;
  sol[8943] = 72;
  sol[8944] = 12;
  sol[8945] = 36;
  sol[8946] = 42;
  sol[8947] = 60;
  sol[8948] = 12;
  sol[8949] = 24;
  sol[8950] = 21;
  sol[8951] = 30;
  sol[8952] = 0;
  sol[8953] = 54;
  sol[8954] = 18;
  sol[8955] = 60;
  sol[8956] = 18;
  sol[8957] = 42;
  sol[8958] = 0;
  sol[8959] = 66;
  sol[8960] = 6;
  sol[8961] = 24;
  sol[8962] = 24;
  sol[8963] = 54;
  sol[8964] = 15;
  sol[8965] = 78;
  sol[8966] = 12;
  sol[8967] = 42;
  sol[8968] = 27;
  sol[8969] = 27;
  sol[8970] = 30;
  sol[8971] = 51;
  sol[8972] = 27;
  sol[8973] = 78;
  sol[8974] = 0;
  sol[8975] = 48;
  sol[8976] = 6;
  sol[8977] = 120;
  sol[8978] = 27;
  sol[8979] = 48;
  sol[8980] = 42;
  sol[8981] = 24;
  sol[8982] = 12;
  sol[8983] = 54;
  sol[8984] = 6;
  sol[8985] = 54;
  sol[8986] = 24;
  sol[8987] = 48;
  sol[8988] = 36;
  sol[8989] = 66;
  sol[8990] = 0;
  sol[8991] = 78;
  sol[8992] = 9;
  sol[8993] = 57;
  sol[8994] = 21;
  sol[8995] = 48;
  sol[8996] = 18;
  sol[8997] = 54;
  sol[8998] = 33;
  sol[8999] = 24;
  sol[9000] = 30;
  sol[9001] = 84;
  sol[9002] = 18;
  sol[9003] = 45;
  sol[9004] = 33;
  sol[9005] = 30;
  sol[9006] = 0;
  sol[9007] = 126;
  sol[9008] = 9;
  sol[9009] = 36;
  sol[9010] = 30;
  sol[9011] = 27;
  sol[9012] = 30;
  sol[9013] = 66;
  sol[9014] = 18;
  sol[9015] = 54;
  sol[9016] = 0;
  sol[9017] = 36;
  sol[9018] = 42;
  sol[9019] = 48;
  sol[9020] = 6;
  sol[9021] = 42;
  sol[9022] = 0;
  sol[9023] = 54;
  sol[9024] = 6;
  sol[9025] = 57;
  sol[9026] = 12;
  sol[9027] = 84;
  sol[9028] = 54;
  sol[9029] = 48;
  sol[9030] = 6;
  sol[9031] = 60;
  sol[9032] = 6;
  sol[9033] = 63;
  sol[9034] = 18;
  sol[9035] = 42;
  sol[9036] = 36;
  sol[9037] = 78;
  sol[9038] = 0;
  sol[9039] = 24;
  sol[9040] = 24;
  sol[9041] = 33;
  sol[9042] = 24;
  sol[9043] = 105;
  sol[9044] = 24;
  sol[9045] = 66;
  sol[9046] = 27;
  sol[9047] = 48;
  sol[9048] = 0;
  sol[9049] = 48;
  sol[9050] = 30;
  sol[9051] = 60;
  sol[9052] = 30;
  sol[9053] = 54;
  sol[9054] = 0;
  sol[9055] = 42;
  sol[9056] = 3;
  sol[9057] = 75;
  sol[9058] = 48;
  sol[9059] = 24;
  sol[9060] = 12;
  sol[9061] = 66;
  sol[9062] = 12;
  sol[9063] = 96;
  sol[9064] = 6;
  sol[9065] = 30;
  sol[9066] = 12;
  sol[9067] = 87;
  sol[9068] = 21;
  sol[9069] = 36;
  sol[9070] = 0;
  sol[9071] = 30;
  sol[9072] = 24;
  sol[9073] = 69;
  sol[9074] = 12;
  sol[9075] = 57;
  sol[9076] = 30;
  sol[9077] = 48;
  sol[9078] = 24;
  sol[9079] = 54;
  sol[9080] = 0;
  sol[9081] = 42;
  sol[9082] = 54;
  sol[9083] = 24;
  sol[9084] = 24;
  sol[9085] = 72;
  sol[9086] = 0;
  sol[9087] = 60;
  sol[9088] = 0;
  sol[9089] = 48;
  sol[9090] = 24;
  sol[9091] = 69;
  sol[9092] = 24;
  sol[9093] = 42;
  sol[9094] = 18;
  sol[9095] = 36;
  sol[9096] = 12;
  sol[9097] = 66;
  sol[9098] = 24;
  sol[9099] = 36;
  sol[9100] = 42;
  sol[9101] = 18;
  sol[9102] = 0;
  sol[9103] = 78;
  sol[9104] = 9;
  sol[9105] = 48;
  sol[9106] = 36;
  sol[9107] = 42;
  sol[9108] = 42;
  sol[9109] = 36;
  sol[9110] = 12;
  sol[9111] = 36;
  sol[9112] = 21;
  sol[9113] = 78;
  sol[9114] = 18;
  sol[9115] = 48;
  sol[9116] = 12;
  sol[9117] = 102;
  sol[9118] = 0;
  sol[9119] = 18;
  sol[9120] = 12;
  sol[9121] = 54;
  sol[9122] = 24;
  sol[9123] = 45;
  sol[9124] = 27;
  sol[9125] = 42;
  sol[9126] = 13;
  sol[9127] = 108;
  sol[9128] = 12;
  sol[9129] = 39;
  sol[9130] = 24;
  sol[9131] = 42;
  sol[9132] = 27;
  sol[9133] = 102;
  sol[9134] = 0;
  sol[9135] = 60;
  sol[9136] = 6;
  sol[9137] = 39;
  sol[9138] = 24;
  sol[9139] = 54;
  sol[9140] = 12;
  sol[9141] = 54;
  sol[9142] = 24;
  sol[9143] = 24;
  sol[9144] = 0;
  sol[9145] = 114;
  sol[9146] = 24;
  sol[9147] = 63;
  sol[9148] = 48;
  sol[9149] = 30;
  sol[9150] = 0;
  sol[9151] = 48;
  sol[9152] = 6;
  sol[9153] = 69;
  sol[9154] = 36;
  sol[9155] = 18;
  sol[9156] = 12;
  sol[9157] = 72;
  sol[9158] = 6;
  sol[9159] = 48;
  sol[9160] = 18;
  sol[9161] = 33;
  sol[9162] = 54;
  sol[9163] = 117;
  sol[9164] = 12;
  sol[9165] = 42;
  sol[9166] = 0;
  sol[9167] = 66;
  sol[9168] = 12;
  sol[9169] = 48;
  sol[9170] = 6;
  sol[9171] = 54;
  sol[9172] = 36;
  sol[9173] = 42;
  sol[9174] = 21;
  sol[9175] = 102;
  sol[9176] = 6;
  sol[9177] = 48;
  sol[9178] = 54;
  sol[9179] = 33;
  sol[9180] = 30;
  sol[9181] = 48;
  sol[9182] = 0;
  sol[9183] = 72;
  sol[9184] = 0;
  sol[9185] = 30;
  sol[9186] = 24;
  sol[9187] = 75;
  sol[9188] = 24;
  sol[9189] = 84;
  sol[9190] = 30;
  sol[9191] = 30;
  sol[9192] = 0;
  sol[9193] = 72;
  sol[9194] = 18;
  sol[9195] = 30;
  sol[9196] = 42;
  sol[9197] = 54;
  sol[9198] = 0;
  sol[9199] = 60;
  sol[9200] = 12;
  sol[9201] = 36;
  sol[9202] = 45;
  sol[9203] = 42;
  sol[9204] = 12;
  sol[9205] = 96;
  sol[9206] = 6;
  sol[9207] = 66;
  sol[9208] = 0;
  sol[9209] = 12;
  sol[9210] = 36;
  sol[9211] = 78;
  sol[9212] = 36;
  sol[9213] = 42;
  sol[9214] = 0;
  sol[9215] = 36;
  sol[9216] = 0;
  sol[9217] = 78;
  sol[9218] = 24;
  sol[9219] = 48;
  sol[9220] = 24;
  sol[9221] = 18;
  sol[9222] = 30;
  sol[9223] = 90;
  sol[9224] = 15;
  sol[9225] = 96;
  sol[9226] = 18;
  sol[9227] = 27;
  sol[9228] = 21;
  sol[9229] = 54;
  sol[9230] = 0;
  sol[9231] = 24;
  sol[9232] = 21;
  sol[9233] = 48;
  sol[9234] = 27;
  sol[9235] = 84;
  sol[9236] = 18;
  sol[9237] = 48;
  sol[9238] = 42;
  sol[9239] = 36;
  sol[9240] = 6;
  sol[9241] = 66;
  sol[9242] = 12;
  sol[9243] = 108;
  sol[9244] = 12;
  sol[9245] = 42;
  sol[9246] = 0;
  sol[9247] = 48;
  sol[9248] = 9;
  sol[9249] = 27;
  sol[9250] = 60;
  sol[9251] = 21;
  sol[9252] = 36;
  sol[9253] = 84;
  sol[9254] = 6;
  sol[9255] = 36;
  sol[9256] = 18;
  sol[9257] = 42;
  sol[9258] = 18;
  sol[9259] = 54;
  sol[9260] = 18;
  sol[9261] = 60;
  sol[9262] = 0;
  sol[9263] = 60;
  sol[9264] = 15;
  sol[9265] = 72;
  sol[9266] = 9;
  sol[9267] = 99;
  sol[9268] = 42;
  sol[9269] = 12;
  sol[9270] = 12;
  sol[9271] = 60;
  sol[9272] = 0;
  sol[9273] = 57;
  sol[9274] = 42;
  sol[9275] = 18;
  sol[9276] = 18;
  sol[9277] = 78;
  sol[9278] = 0;
  sol[9279] = 42;
  sol[9280] = 6;
  sol[9281] = 36;
  sol[9282] = 36;
  sol[9283] = 63;
  sol[9284] = 9;
  sol[9285] = 42;
  sol[9286] = 15;
  sol[9287] = 30;
  sol[9288] = 18;
  sol[9289] = 78;
  sol[9290] = 6;
  sol[9291] = 24;
  sol[9292] = 48;
  sol[9293] = 42;
  sol[9294] = 0;
  sol[9295] = 102;
  sol[9296] = 12;
  sol[9297] = 75;
  sol[9298] = 45;
  sol[9299] = 42;
  sol[9300] = 30;
  sol[9301] = 84;
  sol[9302] = 24;
  sol[9303] = 66;
  sol[9304] = 9;
  sol[9305] = 24;
  sol[9306] = 30;
  sol[9307] = 90;
  sol[9308] = 24;
  sol[9309] = 42;
  sol[9310] = 0;
  sol[9311] = 24;
  sol[9312] = 3;
  sol[9313] = 84;
  sol[9314] = 21;
  sol[9315] = 84;
  sol[9316] = 33;
  sol[9317] = 66;
  sol[9318] = 24;
  sol[9319] = 36;
  sol[9320] = 6;
  sol[9321] = 36;
  sol[9322] = 48;
  sol[9323] = 51;
  sol[9324] = 18;
  sol[9325] = 72;
  sol[9326] = 0;
  sol[9327] = 66;
  sol[9328] = 18;
  sol[9329] = 54;
  sol[9330] = 30;
  sol[9331] = 24;
  sol[9332] = 18;
  sol[9333] = 48;
  sol[9334] = 18;
  sol[9335] = 30;
  sol[9336] = 0;
  sol[9337] = 102;
  sol[9338] = 12;
  sol[9339] = 45;
  sol[9340] = 36;
  sol[9341] = 24;
  sol[9342] = 0;
  sol[9343] = 102;
  sol[9344] = 3;
  sol[9345] = 42;
  sol[9346] = 15;
  sol[9347] = 42;
  sol[9348] = 54;
  sol[9349] = 54;
  sol[9350] = 21;
  sol[9351] = 66;
  sol[9352] = 24;
  sol[9353] = 66;
  sol[9354] = 30;
  sol[9355] = 102;
  sol[9356] = 3;
  sol[9357] = 66;
  sol[9358] = 0;
  sol[9359] = 48;
  sol[9360] = 12;
  sol[9361] = 24;
  sol[9362] = 30;
  sol[9363] = 45;
  sol[9364] = 36;
  sol[9365] = 54;
  sol[9366] = 6;
  sol[9367] = 78;
  sol[9368] = 9;
  sol[9369] = 48;
  sol[9370] = 24;
  sol[9371] = 39;
  sol[9372] = 36;
  sol[9373] = 96;
  sol[9374] = 0;
  sol[9375] = 66;
  sol[9376] = 6;
  sol[9377] = 27;
  sol[9378] = 27;
  sol[9379] = 60;
  sol[9380] = 30;
  sol[9381] = 18;
  sol[9382] = 30;
  sol[9383] = 48;
  sol[9384] = 12;
  sol[9385] = 90;
  sol[9386] = 24;
  sol[9387] = 60;
  sol[9388] = 36;
  sol[9389] = 6;
  sol[9390] = 0;
  sol[9391] = 42;
  sol[9392] = 12;
  sol[9393] = 78;
  sol[9394] = 36;
  sol[9395] = 36;
  sol[9396] = 24;
  sol[9397] = 114;
  sol[9398] = 6;
  sol[9399] = 60;
  sol[9400] = 0;
  sol[9401] = 18;
  sol[9402] = 6;
  sol[9403] = 69;
  sol[9404] = 18;
  sol[9405] = 84;
  sol[9406] = 0;
  sol[9407] = 36;
  sol[9408] = 6;
  sol[9409] = 48;
  sol[9410] = 6;
  sol[9411] = 39;
  sol[9412] = 24;
  sol[9413] = 42;
  sol[9414] = 24;
  sol[9415] = 54;
  sol[9416] = 6;
  sol[9417] = 72;
  sol[9418] = 48;
  sol[9419] = 36;
  sol[9420] = 42;
  sol[9421] = 60;
  sol[9422] = 0;
  sol[9423] = 48;
  sol[9424] = 0;
  sol[9425] = 36;
  sol[9426] = 18;
  sol[9427] = 138;
  sol[9428] = 24;
  sol[9429] = 30;
  sol[9430] = 30;
  sol[9431] = 42;
  sol[9432] = 18;
  sol[9433] = 75;
  sol[9434] = 18;
  sol[9435] = 48;
  sol[9436] = 18;
  sol[9437] = 24;
  sol[9438] = 0;
  sol[9439] = 78;
  sol[9440] = 0;
  sol[9441] = 78;
  sol[9442] = 57;
  sol[9443] = 60;
  sol[9444] = 9;
  sol[9445] = 48;
  sol[9446] = 9;
  sol[9447] = 36;
  sol[9448] = 30;
  sol[9449] = 30;
  sol[9450] = 42;
  sol[9451] = 42;
  sol[9452] = 39;
  sol[9453] = 84;
  sol[9454] = 0;
  sol[9455] = 24;
  sol[9456] = 12;
  sol[9457] = 87;
  sol[9458] = 27;
  sol[9459] = 30;
  sol[9460] = 42;
  sol[9461] = 24;
  sol[9462] = 24;
  sol[9463] = 90;
  sol[9464] = 0;
  sol[9465] = 36;
  sol[9466] = 24;
  sol[9467] = 60;
  sol[9468] = 36;
  sol[9469] = 84;
  sol[9470] = 0;
  sol[9471] = 42;
  sol[9472] = 0;
  sol[9473] = 30;
  sol[9474] = 21;
  sol[9475] = 87;
  sol[9476] = 12;
  sol[9477] = 72;
  sol[9478] = 24;
  sol[9479] = 42;
  sol[9480] = 12;
  sol[9481] = 60;
  sol[9482] = 30;
  sol[9483] = 72;
  sol[9484] = 21;
  sol[9485] = 60;
  sol[9486] = 0;
  sol[9487] = 96;
  sol[9488] = 12;
  sol[9489] = 30;
  sol[9490] = 42;
  sol[9491] = 39;
  sol[9492] = 18;
  sol[9493] = 66;
  sol[9494] = 12;
  sol[9495] = 84;
  sol[9496] = 12;
  sol[9497] = 63;
  sol[9498] = 42;
  sol[9499] = 42;
  sol[9500] = 24;
  sol[9501] = 42;
  sol[9502] = 0;
  sol[9503] = 18;
  sol[9504] = 6;
  sol[9505] = 78;
  sol[9506] = 15;
  sol[9507] = 75;
  sol[9508] = 45;
  sol[9509] = 54;
  sol[9510] = 12;
  sol[9511] = 54;
  sol[9512] = 6;
  sol[9513] = 84;
  sol[9514] = 30;
  sol[9515] = 30;
  sol[9516] = 18;
  sol[9517] = 54;
  sol[9518] = 0;
  sol[9519] = 42;
  sol[9520] = 24;
  sol[9521] = 39;
  sol[9522] = 27;
  sol[9523] = 96;
  sol[9524] = 18;
  sol[9525] = 42;
  sol[9526] = 21;
  sol[9527] = 48;
  sol[9528] = 0;
  sol[9529] = 54;
  sol[9530] = 18;
  sol[9531] = 33;
  sol[9532] = 36;
  sol[9533] = 66;
  sol[9534] = 0;
  sol[9535] = 84;
  sol[9536] = 0;
  sol[9537] = 75;
  sol[9538] = 48;
  sol[9539] = 30;
  sol[9540] = 42;
  sol[9541] = 54;
  sol[9542] = 12;
  sol[9543] = 54;
  sol[9544] = 15;
  sol[9545] = 42;
  sol[9546] = 30;
  sol[9547] = 96;
  sol[9548] = 18;
  sol[9549] = 42;
  sol[9550] = 0;
  sol[9551] = 18;
  sol[9552] = 6;
  sol[9553] = 123;
  sol[9554] = 15;
  sol[9555] = 48;
  sol[9556] = 24;
  sol[9557] = 48;
  sol[9558] = 39;
  sol[9559] = 42;
  sol[9560] = 6;
  sol[9561] = 21;
  sol[9562] = 54;
  sol[9563] = 45;
  sol[9564] = 12;
  sol[9565] = 60;
  sol[9566] = 0;
  sol[9567] = 90;
  sol[9568] = 12;
  sol[9569] = 30;
  sol[9570] = 36;
  sol[9571] = 45;
  sol[9572] = 18;
  sol[9573] = 72;
  sol[9574] = 21;
  sol[9575] = 78;
  sol[9576] = 12;
  sol[9577] = 30;
  sol[9578] = 12;
  sol[9579] = 60;
  sol[9580] = 30;
  sol[9581] = 18;
  sol[9582] = 0;
  sol[9583] = 78;
  sol[9584] = 6;
  sol[9585] = 60;
  sol[9586] = 36;
  sol[9587] = 33;
  sol[9588] = 18;
  sol[9589] = 60;
  sol[9590] = 12;
  sol[9591] = 30;
  sol[9592] = 0;
  sol[9593] = 60;
  sol[9594] = 18;
  sol[9595] = 90;
  sol[9596] = 30;
  sol[9597] = 54;
  sol[9598] = 0;
  sol[9599] = 36;
  sol[9600] = 1;
  sol[9601] = 78;
  sol[9602] = 27;
  sol[9603] = 84;
  sol[9604] = 30;
  sol[9605] = 18;
  sol[9606] = 15;
  sol[9607] = 102;
  sol[9608] = 9;
  sol[9609] = 27;
  sol[9610] = 30;
  sol[9611] = 24;
  sol[9612] = 57;
  sol[9613] = 90;
  sol[9614] = 0;
  sol[9615] = 42;
  sol[9616] = 9;
  sol[9617] = 48;
  sol[9618] = 42;
  sol[9619] = 42;
  sol[9620] = 12;
  sol[9621] = 72;
  sol[9622] = 27;
  sol[9623] = 48;
  sol[9624] = 9;
  sol[9625] = 108;
  sol[9626] = 18;
  sol[9627] = 48;
  sol[9628] = 48;
  sol[9629] = 18;
  sol[9630] = 0;
  sol[9631] = 84;
  sol[9632] = 6;
  sol[9633] = 66;
  sol[9634] = 24;
  sol[9635] = 48;
  sol[9636] = 21;
  sol[9637] = 114;
  sol[9638] = 6;
  sol[9639] = 78;
  sol[9640] = 24;
  sol[9641] = 30;
  sol[9642] = 30;
  sol[9643] = 42;
  sol[9644] = 18;
  sol[9645] = 60;
  sol[9646] = 0;
  sol[9647] = 18;
  sol[9648] = 12;
  sol[9649] = 63;
  sol[9650] = 9;
  sol[9651] = 51;
  sol[9652] = 66;
  sol[9653] = 48;
  sol[9654] = 15;
  sol[9655] = 54;
  sol[9656] = 0;
  sol[9657] = 66;
  sol[9658] = 60;
  sol[9659] = 36;
  sol[9660] = 18;
  sol[9661] = 48;
  sol[9662] = 0;
  sol[9663] = 66;
  sol[9664] = 6;
  sol[9665] = 36;
  sol[9666] = 30;
  sol[9667] = 96;
  sol[9668] = 9;
  sol[9669] = 36;
  sol[9670] = 30;
  sol[9671] = 30;
  sol[9672] = 24;
  sol[9673] = 93;
  sol[9674] = 24;
  sol[9675] = 72;
  sol[9676] = 24;
  sol[9677] = 66;
  sol[9678] = 0;
  sol[9679] = 60;
  sol[9680] = 24;
  sol[9681] = 48;
  sol[9682] = 30;
  sol[9683] = 24;
  sol[9684] = 30;
  sol[9685] = 72;
  sol[9686] = 6;
  sol[9687] = 60;
  sol[9688] = 12;
  sol[9689] = 30;
  sol[9690] = 12;
  sol[9691] = 93;
  sol[9692] = 18;
  sol[9693] = 72;
  sol[9694] = 0;
  sol[9695] = 30;
  sol[9696] = 0;
  sol[9697] = 81;
  sol[9698] = 30;
  sol[9699] = 36;
  sol[9700] = 48;
  sol[9701] = 36;
  sol[9702] = 30;
  sol[9703] = 90;
  sol[9704] = 6;
  sol[9705] = 54;
  sol[9706] = 24;
  sol[9707] = 57;
  sol[9708] = 24;
  sol[9709] = 36;
  sol[9710] = 0;
  sol[9711] = 54;
  sol[9712] = 18;
  sol[9713] = 36;
  sol[9714] = 24;
  sol[9715] = 78;
  sol[9716] = 18;
  sol[9717] = 72;
  sol[9718] = 33;
  sol[9719] = 12;
  sol[9720] = 0;
  sol[9721] = 51;
  sol[9722] = 30;
  sol[9723] = 48;
  sol[9724] = 24;
  sol[9725] = 42;
  sol[9726] = 0;
  sol[9727] = 90;
  sol[9728] = 3;
  sol[9729] = 78;
  sol[9730] = 30;
  sol[9731] = 30;
  sol[9732] = 27;
  sol[9733] = 138;
  sol[9734] = 6;
  sol[9735] = 30;
  sol[9736] = 18;
  sol[9737] = 36;
  sol[9738] = 24;
  sol[9739] = 75;
  sol[9740] = 24;
  sol[9741] = 12;
  sol[9742] = 0;
  sol[9743] = 54;
  sol[9744] = 12;
  sol[9745] = 42;
  sol[9746] = 18;
  sol[9747] = 84;
  sol[9748] = 36;
  sol[9749] = 30;
  sol[9750] = 18;
  sol[9751] = 66;
  sol[9752] = 6;
  sol[9753] = 45;
  sol[9754] = 36;
  sol[9755] = 36;
  sol[9756] = 48;
  sol[9757] = 114;
  sol[9758] = 0;
  sol[9759] = 24;
  sol[9760] = 6;
  sol[9761] = 30;
  sol[9762] = 21;
  sol[9763] = 108;
  sol[9764] = 15;
  sol[9765] = 48;
  sol[9766] = 18;
  sol[9767] = 36;
  sol[9768] = 18;
  sol[9769] = 57;
  sol[9770] = 24;
  sol[9771] = 63;
  sol[9772] = 42;
  sol[9773] = 54;
  sol[9774] = 0;
  sol[9775] = 78;
  sol[9776] = 6;
  sol[9777] = 81;
  sol[9778] = 36;
  sol[9779] = 18;
  sol[9780] = 24;
  sol[9781] = 42;
  sol[9782] = 18;
  sol[9783] = 120;
  sol[9784] = 0;
  sol[9785] = 24;
  sol[9786] = 24;
  sol[9787] = 66;
  sol[9788] = 12;
  sol[9789] = 54;
  sol[9790] = 0;
  sol[9791] = 48;
  sol[9792] = 12;
  sol[9793] = 66;
  sol[9794] = 18;
  sol[9795] = 42;
  sol[9796] = 36;
  sol[9797] = 48;
  sol[9798] = 18;
  sol[9799] = 72;
  sol[9800] = 6;
  sol[9801] = 48;
  sol[9802] = 48;
  sol[9803] = 33;
  sol[9804] = 6;
  sol[9805] = 102;
  sol[9806] = 0;
  sol[9807] = 54;
  sol[9808] = 24;
  sol[9809] = 39;
  sol[9810] = 54;
  sol[9811] = 60;
  sol[9812] = 12;
  sol[9813] = 90;
  sol[9814] = 18;
  sol[9815] = 36;
  sol[9816] = 3;
  sol[9817] = 111;
  sol[9818] = 24;
  sol[9819] = 51;
  sol[9820] = 48;
  sol[9821] = 42;
  sol[9822] = 0;
  sol[9823] = 90;
  sol[9824] = 0;
  sol[9825] = 45;
  sol[9826] = 36;
  sol[9827] = 54;
  sol[9828] = 48;
  sol[9829] = 54;
  sol[9830] = 24;
  sol[9831] = 18;
  sol[9832] = 18;
  sol[9833] = 51;
  sol[9834] = 18;
  sol[9835] = 72;
  sol[9836] = 0;
  sol[9837] = 54;
  sol[9838] = 0;
  sol[9839] = 18;
  sol[9840] = 12;
  sol[9841] = 54;
  sol[9842] = 36;
  sol[9843] = 57;
  sol[9844] = 18;
  sol[9845] = 42;
  sol[9846] = 18;
  sol[9847] = 120;
  sol[9848] = 0;
  sol[9849] = 63;
  sol[9850] = 42;
  sol[9851] = 27;
  sol[9852] = 36;
  sol[9853] = 48;
  sol[9854] = 0;
  sol[9855] = 54;
  sol[9856] = 6;
  sol[9857] = 39;
  sol[9858] = 30;
  sol[9859] = 81;
  sol[9860] = 18;
  sol[9861] = 72;
  sol[9862] = 33;
  sol[9863] = 54;
  sol[9864] = 9;
  sol[9865] = 72;
  sol[9866] = 12;
  sol[9867] = 54;
  sol[9868] = 54;
  sol[9869] = 24;
  sol[9870] = 0;
  sol[9871] = 54;
  sol[9872] = 15;
  sol[9873] = 75;
  sol[9874] = 24;
  sol[9875] = 60;
  sol[9876] = 12;
  sol[9877] = 78;
  sol[9878] = 6;
  sol[9879] = 30;
  sol[9880] = 12;
  sol[9881] = 39;
  sol[9882] = 54;
  sol[9883] = 72;
  sol[9884] = 6;
  sol[9885] = 54;
  sol[9886] = 0;
  sol[9887] = 72;
  sol[9888] = 6;
  sol[9889] = 78;
  sol[9890] = 12;
  sol[9891] = 54;
  sol[9892] = 39;
  sol[9893] = 30;
  sol[9894] = 15;
  sol[9895] = 48;
  sol[9896] = 6;
  sol[9897] = 57;
  sol[9898] = 48;
  sol[9899] = 18;
  sol[9900] = 24;
  sol[9901] = 90;
  sol[9902] = 0;
  sol[9903] = 90;
  sol[9904] = 18;
  sol[9905] = 42;
  sol[9906] = 24;
  sol[9907] = 39;
  sol[9908] = 42;
  sol[9909] = 24;
  sol[9910] = 30;
  sol[9911] = 42;
  sol[9912] = 0;
  sol[9913] = 84;
  sol[9914] = 6;
  sol[9915] = 66;
  sol[9916] = 30;
  sol[9917] = 30;
  sol[9918] = 0;
  sol[9919] = 30;
  sol[9920] = 0;
  sol[9921] = 27;
  sol[9922] = 42;
  sol[9923] = 39;
  sol[9924] = 33;
  sol[9925] = 90;
  sol[9926] = 24;
  sol[9927] = 84;
  sol[9928] = 18;
  sol[9929] = 51;
  sol[9930] = 36;
  sol[9931] = 69;
  sol[9932] = 24;
  sol[9933] = 54;
  sol[9934] = 0;
  sol[9935] = 42;
  sol[9936] = 18;
  sol[9937] = 87;
  sol[9938] = 33;
  sol[9939] = 51;
  sol[9940] = 18;
  sol[9941] = 42;
  sol[9942] = 9;
  sol[9943] = 126;
  sol[9944] = 9;
  sol[9945] = 84;
  sol[9946] = 36;
  sol[9947] = 66;
  sol[9948] = 18;
  sol[9949] = 54;
  sol[9950] = 0;
  sol[9951] = 36;
  sol[9952] = 0;
  sol[9953] = 66;
  sol[9954] = 12;
  sol[9955] = 48;
  sol[9956] = 15;
  sol[9957] = 54;
  sol[9958] = 30;
  sol[9959] = 18;
  sol[9960] = 18;
  sol[9961] = 60;
  sol[9962] = 18;
  sol[9963] = 96;
  sol[9964] = 54;
  sol[9965] = 42;
  sol[9966] = 0;
  sol[9967] = 102;
  sol[9968] = 0;
  sol[9969] = 27;
  sol[9970] = 36;
  sol[9971] = 30;
  sol[9972] = 36;
  sol[9973] = 108;
  sol[9974] = 15;
  sol[9975] = 54;
  sol[9976] = 0;
  sol[9977] = 24;
  sol[9978] = 36;
  sol[9979] = 60;
  sol[9980] = 24;
  sol[9981] = 66;
  sol[9982] = 0;
  sol[9983] = 30;
  sol[9984] = 0;
  sol[9985] = 54;
  sol[9986] = 15;
  sol[9987] = 75;
  sol[9988] = 48;
  sol[9989] = 36;
  sol[9990] = 18;
  sol[9991] = 48;
  sol[9992] = 24;
  sol[9993] = 36;
  sol[9994] = 36;
  sol[9995] = 54;
  sol[9996] = 15;
  sol[9997] = 108;
  sol[9998] = 0;
  sol[9999] = 84;
  sol[10000] = 18;
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cout << sol[i] << endl;
  }
}


Error: TLE

Fixed submission:

#include <bits/stdc++.h>

using namespace std;

int main() {
  int n;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    int cnt = 0;
    for (int x = 1; x * x <= i; x++) {
      for (int y = 1; y * y <= i; y++) {
        for (int z = 1; z * z <= i; z++) {
          long long tmp = 1LL * x * x + 1LL * y * y + 1LL * z * z +
                          1LL * x * y + 1LL * y * z + 1LL * x * z;
          if (tmp == i)
            cnt++;
        }
      }
    }
    cout << cnt << endl;
  }
}